init.lua 561 B

12345678910111213141516171819202122
  1. -- Minetest 0.4 mod: default
  2. -- See README.txt for licensing and other information.
  3. -- The API documentation in here was moved into game_api.txt
  4. -- Definitions made by this mod that other mods can use too
  5. default = default or {}
  6. default.modpath = minetest.get_modpath("default")
  7. default.LIGHT_MAX = 15
  8. dofile(default.modpath .. "/cactus.lua")
  9. dofile(default.modpath .. "/papyrus.lua")
  10. dofile(default.modpath .. "/nodes.lua")
  11. dofile(default.modpath .. "/craftitems.lua")
  12. dofile(default.modpath .. "/crafting.lua")
  13. dofile(default.modpath .. "/tvine.lua")