[craft_guide] Register some aliases.
This commit is contained in:
parent
0667b72385
commit
4a234d5c52
@ -30,6 +30,7 @@ end
|
|||||||
-- register entities
|
-- register entities
|
||||||
dofile(minetest.get_modpath("craft_guide").."/register_node.lua")
|
dofile(minetest.get_modpath("craft_guide").."/register_node.lua")
|
||||||
dofile(minetest.get_modpath("craft_guide").."/register_craft.lua")
|
dofile(minetest.get_modpath("craft_guide").."/register_craft.lua")
|
||||||
|
dofile(minetest.get_modpath("craft_guide").."/register_alias.lua")
|
||||||
|
|
||||||
-- log that we started
|
-- log that we started
|
||||||
minetest.log("action", "[MOD]"..minetest.get_current_modname().." -- loaded from "..minetest.get_modpath(minetest.get_current_modname()))
|
minetest.log("action", "[MOD]"..minetest.get_current_modname().." -- loaded from "..minetest.get_modpath(minetest.get_current_modname()))
|
||||||
|
5
mods/crafting/craft_guide/register_alias.lua
Normal file
5
mods/crafting/craft_guide/register_alias.lua
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
minetest.register_alias("craft_guide", "craft_guide:sign_wall")
|
||||||
|
minetest.register_alias("craftguide", "craft_guide:sign_wall")
|
||||||
|
minetest.register_alias("craft_guide_pc", "craft_guide:lcd_pc")
|
||||||
|
minetest.register_alias("craftguide_pc", "craft_guide:lcd_pc")
|
Loading…
x
Reference in New Issue
Block a user