1 -- mods/default/aliases.lua
3 -- Aliases to support loading worlds using nodes following the old naming convention
4 -- These can also be helpful when using chat commands, for example /giveme
5 minetest.register_alias("stone", "default:stone")
6 minetest.register_alias("stone_with_coal", "default:stone_with_coal")
7 minetest.register_alias("stone_with_iron", "default:stone_with_iron")
8 minetest.register_alias("dirt_with_grass", "default:dirt_with_grass")
9 minetest.register_alias("dirt_with_grass_footsteps", "default:dirt_with_grass_footsteps")
10 minetest.register_alias("dirt", "default:dirt")
11 minetest.register_alias("sand", "default:sand")
12 minetest.register_alias("gravel", "default:gravel")
13 minetest.register_alias("sandstone", "default:sandstone")
14 minetest.register_alias("clay", "default:clay")
15 minetest.register_alias("brick", "default:brick")
16 minetest.register_alias("tree", "default:tree")
17 minetest.register_alias("jungletree", "default:jungletree")
18 minetest.register_alias("junglegrass", "default:junglegrass")
19 minetest.register_alias("leaves", "default:leaves")
20 minetest.register_alias("cactus", "default:cactus")
21 minetest.register_alias("papyrus", "default:papyrus")
22 minetest.register_alias("bookshelf", "default:bookshelf")
23 minetest.register_alias("glass", "default:glass")
24 minetest.register_alias("wooden_fence", "default:fence_wood")
25 minetest.register_alias("rail", "default:rail")
26 minetest.register_alias("ladder", "default:ladder_wood")
27 minetest.register_alias("wood", "default:wood")
28 minetest.register_alias("mese", "default:mese")
29 minetest.register_alias("cloud", "default:cloud")
30 minetest.register_alias("water_flowing", "default:water_flowing")
31 minetest.register_alias("water_source", "default:water_source")
32 minetest.register_alias("lava_flowing", "default:lava_flowing")
33 minetest.register_alias("lava_source", "default:lava_source")
34 minetest.register_alias("torch", "default:torch")
35 minetest.register_alias("sign_wall", "default:sign_wall")
36 minetest.register_alias("furnace", "default:furnace")
37 minetest.register_alias("chest", "default:chest")
38 minetest.register_alias("locked_chest", "default:chest_locked")
39 minetest.register_alias("cobble", "default:cobble")
40 minetest.register_alias("mossycobble", "default:mossycobble")
41 minetest.register_alias("steelblock", "default:steelblock")
42 minetest.register_alias("nyancat", "default:nyancat")
43 minetest.register_alias("nyancat_rainbow", "default:nyancat_rainbow")
44 minetest.register_alias("sapling", "default:sapling")
45 minetest.register_alias("apple", "default:apple")
47 minetest.register_alias("WPick", "default:pick_wood")
48 minetest.register_alias("STPick", "default:pick_stone")
49 minetest.register_alias("SteelPick", "default:pick_steel")
50 minetest.register_alias("MesePick", "default:pick_mese")
51 minetest.register_alias("WShovel", "default:shovel_wood")
52 minetest.register_alias("STShovel", "default:shovel_stone")
53 minetest.register_alias("SteelShovel", "default:shovel_steel")
54 minetest.register_alias("WAxe", "default:axe_wood")
55 minetest.register_alias("STAxe", "default:axe_stone")
56 minetest.register_alias("SteelAxe", "default:axe_steel")
57 minetest.register_alias("WSword", "default:sword_wood")
58 minetest.register_alias("STSword", "default:sword_stone")
59 minetest.register_alias("SteelSword", "default:sword_steel")
61 minetest.register_alias("Stick", "default:stick")
62 minetest.register_alias("paper", "default:paper")
63 minetest.register_alias("book", "default:book")
64 minetest.register_alias("lump_of_coal", "default:coal_lump")
65 minetest.register_alias("lump_of_iron", "default:iron_lump")
66 minetest.register_alias("lump_of_clay", "default:clay_lump")
67 minetest.register_alias("steel_ingot", "default:steel_ingot")
68 minetest.register_alias("clay_brick", "default:clay_brick")
69 minetest.register_alias("snow", "default:snow")
71 -- 'mese_block' was used for a while for the block form of mese
72 minetest.register_alias("default:mese_block", "default:mese")
74 -- Aliases for corrected pine node names
75 minetest.register_alias("default:pinetree", "default:pine_tree")
76 minetest.register_alias("default:pinewood", "default:pine_wood")
78 minetest.register_alias("default:ladder", "default:ladder_wood")