spears/init.lua
2018-12-24 01:14:12 +01:00

16 lines
391 B
Lua

dofile(minetest.get_modpath("spears").."/defaults.lua")
local input = io.open(minetest.get_modpath("spears").."/spears.conf", "r")
if input then
dofile(minetest.get_modpath("spears").."/spears.conf")
input:close()
input = nil
end
dofile(minetest.get_modpath("spears").."/functions.lua")
dofile(minetest.get_modpath("spears").."/tools.lua")
minetest.log("action", "[spears] loaded.")