spears/init.lua

19 lines
502 B
Lua
Raw Normal View History

2015-10-03 20:45:32 +02:00
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")
2022-09-28 23:44:35 +02:00
local log_mods = minetest.settings:get_bool("log_mods")
2015-10-03 20:45:32 +02:00
2022-09-28 23:44:35 +02:00
if minetest.settings:get_bool("log_mods") then
minetest.log("action", "[MOD] Spears loaded")
2015-10-03 20:45:32 +02:00
end