init.lua 967 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. local modpath = minetest.get_modpath("plastic")
  2. dofile(modpath.."/plastic.lua")
  3. dofile(modpath.."/railing.lua")
  4. -- dofile(modpath.."/tarsands.lua")
  5. --
  6. -- make crafts to convert moretrees trees into regular trees
  7. -- for i in ipairs(moretrees.treelist) do
  8. -- local treename = moretrees.treelist[i][1]
  9. --
  10. -- minetest.register_craft({
  11. -- output = 'default:stick',
  12. -- recipe = {
  13. -- {'', '', "moretrees:"..treename.."_stick"},
  14. -- {'', '', ''},
  15. -- {'', '', ''},
  16. -- }
  17. -- })
  18. -- end
  19. --
  20. -- minetest.register_craft({
  21. -- output = 'default:tree',
  22. -- recipe = {
  23. -- {'', '', 'group:tree'},
  24. -- {'', '', ''},
  25. -- {'', '', ''},
  26. -- }
  27. -- })
  28. --
  29. -- minetest.register_craft({
  30. -- output = 'default:wood',
  31. -- recipe = {
  32. -- {'', '', 'group:wood'},
  33. -- {'', '', ''},
  34. -- {'', '', ''},
  35. -- }
  36. -- })
  37. --
  38. -- minetest.register_craft({
  39. -- output = 'default:leaves',
  40. -- recipe = {
  41. -- {'', '', 'group:leaves'},
  42. -- {'', '', ''},
  43. -- {'', '', ''},
  44. -- }
  45. -- })