mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-27 23:22:59 +00:00
Make compass clickable in craft guide
This commit is contained in:
parent
cb7697fcfe
commit
7ae2d1dc4f
3 changed files with 8 additions and 0 deletions
|
@ -1 +1,2 @@
|
||||||
mcl_core
|
mcl_core
|
||||||
|
mcl_compass
|
||||||
|
|
|
@ -48,6 +48,7 @@ local group_stereotypes = {
|
||||||
shulker_box = "mcl_chests:violet_shulker_box",
|
shulker_box = "mcl_chests:violet_shulker_box",
|
||||||
quartz_block = "mcl_nether:quartz_block",
|
quartz_block = "mcl_nether:quartz_block",
|
||||||
mesecon_conductor_craftable = "mesecons:wire_00000000_off",
|
mesecon_conductor_craftable = "mesecons:wire_00000000_off",
|
||||||
|
compass = mcl_compass.stereotype,
|
||||||
}
|
}
|
||||||
|
|
||||||
local group_names = {
|
local group_names = {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
mcl_compass = {}
|
||||||
|
|
||||||
local default_spawn_settings = minetest.setting_get("static_spawnpoint")
|
local default_spawn_settings = minetest.setting_get("static_spawnpoint")
|
||||||
|
|
||||||
|
@ -73,3 +74,8 @@ minetest.register_craft({
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_alias("mcl_compass:compass", "mcl_compass:"..stereotype_frame)
|
minetest.register_alias("mcl_compass:compass", "mcl_compass:"..stereotype_frame)
|
||||||
|
|
||||||
|
-- Export stereotype item for other mods to use
|
||||||
|
mcl_compass.stereotype = "mcl_compass:"..tostring(stereotype_frame)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue