mg_alias.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334
  1. -- Aliases for mapgen output.
  2. local ra = minetest.register_alias_force
  3. ra("mapgen_stone", "default:stone")
  4. ra("mapgen_dirt", "default:dirt")
  5. ra("mapgen_dirt_with_grass", "default:dirt_with_grass")
  6. ra("mapgen_sand", "default:sand")
  7. ra("mapgen_water_source", "default:water_source")
  8. ra("mapgen_river_water_source", "air") -- Suppress rivers created by Valleys mapgen. By MustTest
  9. ra("mapgen_lava_source", "default:lava_source")
  10. ra("mapgen_gravel", "default:gravel")
  11. ra("mapgen_desert_stone", "default:desert_stone")
  12. ra("mapgen_desert_sand", "default:desert_sand")
  13. ra("mapgen_dirt_with_snow", "default:dirt_with_snow")
  14. ra("mapgen_snowblock", "default:snowblock")
  15. ra("mapgen_snow", "default:snow")
  16. ra("mapgen_ice", "default:ice")
  17. ra("mapgen_sandstone", "default:sandstone")
  18. ra("mapgen_tree", "default:tree")
  19. ra("mapgen_leaves", "default:leaves")
  20. ra("mapgen_apple", "basictrees:tree_apple")
  21. ra("mapgen_jungletree", "default:jungletree")
  22. ra("mapgen_jungleleaves", "default:jungleleaves")
  23. ra("mapgen_junglegrass", "default:junglegrass")
  24. ra("mapgen_pine_tree", "default:pine_tree")
  25. ra("mapgen_pine_needles", "default:pine_needles")
  26. ra("mapgen_cobble", "default:cobble")
  27. ra("mapgen_stair_cobble", "stairs:stair_cobble")
  28. ra("mapgen_mossycobble", "default:mossycobble")
  29. ra("mapgen_stair_desert_stone", "stairs:stair_desert_stone")
  30. ra("mapgen_stair_sandstone_block", "stairs:stair_sandstone_block")
  31. ra("mapgen_stair_sandstonebrick", "stairs:stair_sandstonebrick")
  32. ra = nil -- Prevent name polution.