init.lua 918 B

12345678910111213141516171819202122232425262728293031
  1. -- Everything in the mod is stored here.
  2. if not minetest.global_exists("moretrees") then moretrees = {} end
  3. moretrees.modpath = minetest.get_modpath("moretrees")
  4. dofile(moretrees.modpath .. "/common.lua")
  5. dofile(moretrees.modpath .. "/apples.lua")
  6. dofile(moretrees.modpath .. "/mapgen.lua")
  7. -- Trees.
  8. dofile(moretrees.modpath .. "/apple_tree.lua")
  9. dofile(moretrees.modpath .. "/beech.lua")
  10. dofile(moretrees.modpath .. "/birch.lua")
  11. dofile(moretrees.modpath .. "/cedar.lua")
  12. dofile(moretrees.modpath .. "/date_palm.lua")
  13. dofile(moretrees.modpath .. "/fir.lua")
  14. dofile(moretrees.modpath .. "/jungletree.lua")
  15. dofile(moretrees.modpath .. "/oak.lua")
  16. dofile(moretrees.modpath .. "/palm.lua")
  17. dofile(moretrees.modpath .. "/poplar.lua")
  18. dofile(moretrees.modpath .. "/rubber_tree.lua")
  19. dofile(moretrees.modpath .. "/sequoia.lua")
  20. dofile(moretrees.modpath .. "/spruce.lua")
  21. dofile(moretrees.modpath .. "/willow.lua")