2
0

aliases.lua 4.0 KB

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