Make compass clickable in craft guide

This commit is contained in:
Wuzzy 2017-02-20 21:14:10 +01:00
parent cb7697fcfe
commit 7ae2d1dc4f
3 changed files with 8 additions and 0 deletions

View file

@ -1 +1,2 @@
mcl_core
mcl_compass

View file

@ -48,6 +48,7 @@ local group_stereotypes = {
shulker_box = "mcl_chests:violet_shulker_box",
quartz_block = "mcl_nether:quartz_block",
mesecon_conductor_craftable = "mesecons:wire_00000000_off",
compass = mcl_compass.stereotype,
}
local group_names = {

View file

@ -1,3 +1,4 @@
mcl_compass = {}
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)
-- Export stereotype item for other mods to use
mcl_compass.stereotype = "mcl_compass:"..tostring(stereotype_frame)