diff options
Diffstat (limited to 'data/mods')
-rw-r--r-- | data/mods/default/init.lua | 2 | ||||
-rw-r--r-- | data/mods/legacy/init.lua | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua index c69d26454..003a02323 100644 --- a/data/mods/default/init.lua +++ b/data/mods/default/init.lua @@ -92,6 +92,8 @@ -- minetest.register_craftitem(name, craftitem definition) -- minetest.register_craft(recipe) -- minetest.register_abm(abm definition) +-- minetest.alias_node(name, convert_to) +-- minetest.alias_tool(name, convert_to) -- minetest.register_globalstep(func(dtime)) -- minetest.register_on_placenode(func(pos, newnode, placer)) -- minetest.register_on_dignode(func(pos, oldnode, digger)) diff --git a/data/mods/legacy/init.lua b/data/mods/legacy/init.lua index a51931e41..6bd5526e5 100644 --- a/data/mods/legacy/init.lua +++ b/data/mods/legacy/init.lua @@ -40,6 +40,20 @@ minetest.alias_node("nyancat_rainbow", "default:nyancat_rainbow") minetest.alias_node("sapling", "default:sapling") minetest.alias_node("apple", "default:apple") +minetest.alias_tool("WPick", "default:pick_wood") +minetest.alias_tool("STPick", "default:pick_stone") +minetest.alias_tool("SteelPick", "default:pick_steel") +minetest.alias_tool("MesePick", "default:pick_mese") +minetest.alias_tool("WShovel", "default:shovel_wood") +minetest.alias_tool("STShovel", "default:shovel_stone") +minetest.alias_tool("SteelShovel", "default:shovel_steel") +minetest.alias_tool("WAxe", "default:axe_wood") +minetest.alias_tool("STAxe", "default:axe_stone") +minetest.alias_tool("SteelAxe", "default:axe_steel") +minetest.alias_tool("WSword", "default:sword_wood") +minetest.alias_tool("STSword", "default:sword_stone") +minetest.alias_tool("SteelSword", "default:sword_steel") + --[[ WATER_ALPHA = 160 WATER_VISC = 1 |