Minetest mod that adds spears in the game, improving the ones introduced within throwing enhanced
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
391B

  1. dofile(minetest.get_modpath("spears").."/defaults.lua")
  2. local input = io.open(minetest.get_modpath("spears").."/spears.conf", "r")
  3. if input then
  4. dofile(minetest.get_modpath("spears").."/spears.conf")
  5. input:close()
  6. input = nil
  7. end
  8. dofile(minetest.get_modpath("spears").."/functions.lua")
  9. dofile(minetest.get_modpath("spears").."/tools.lua")
  10. minetest.log("action", "[spears] loaded.")