1
0
mirror of https://gitlab.com/echoes91/spears.git synced 2025-06-29 22:20:24 +02:00
This commit is contained in:
Andrea Plati
2015-10-03 20:45:32 +02:00
commit 8f32bb8a52
9 changed files with 160 additions and 0 deletions

17
init.lua Normal file
View File

@ -0,0 +1,17 @@
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")
if minetest.setting_get("log_mods") then
minetest.log("action", "spears loaded")
end