aliases.lua 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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("reed", "default:reed")
  21. minetest.register_alias("default:papyrus", "default:reed")
  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", "carts: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_wood")
  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("sapling", "default:sapling")
  43. minetest.register_alias("apple", "default:apple")
  44. minetest.register_alias("WPick", "default:pick_wood")
  45. minetest.register_alias("STPick", "default:pick_stone")
  46. minetest.register_alias("SteelPick", "default:pick_steel")
  47. minetest.register_alias("MesePick", "default:pick_mese")
  48. minetest.register_alias("WShovel", "default:shovel_wood")
  49. minetest.register_alias("STShovel", "default:shovel_stone")
  50. minetest.register_alias("SteelShovel", "default:shovel_steel")
  51. minetest.register_alias("WAxe", "default:axe_wood")
  52. minetest.register_alias("STAxe", "default:axe_stone")
  53. minetest.register_alias("SteelAxe", "default:axe_steel")
  54. minetest.register_alias("WSword", "default:sword_wood")
  55. minetest.register_alias("STSword", "default:sword_stone")
  56. minetest.register_alias("SteelSword", "default:sword_steel")
  57. minetest.register_alias("Stick", "default:stick")
  58. minetest.register_alias("paper", "default:paper")
  59. minetest.register_alias("book", "default:book")
  60. minetest.register_alias("lump_of_coal", "default:coal_lump")
  61. minetest.register_alias("lump_of_iron", "default:iron_lump")
  62. minetest.register_alias("lump_of_clay", "default:clay_lump")
  63. minetest.register_alias("steel_ingot", "default:steel_ingot")
  64. minetest.register_alias("clay_brick", "default:clay_brick")
  65. minetest.register_alias("snow", "default:snow")
  66. -- 'mese_block' was used for a while for the block form of mese
  67. minetest.register_alias("default:mese_block", "default:mese")
  68. -- Aliases for corrected pine node names
  69. minetest.register_alias("default:pinetree", "default:pine_tree")
  70. minetest.register_alias("default:pinewood", "default:pine_wood")
  71. minetest.register_alias("default:ladder", "default:ladder_wood")
  72. minetest.register_alias("default:sign_wall", "default:sign_wall_wood")