1
0
mirror of https://gitlab.com/echoes91/spears.git synced 2025-01-22 13:40:24 +01:00
spears/init.lua
2024-12-11 15:38:21 +00:00

15 lines
565 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", "[MOD] Spears loaded with throwing speed " .. (minetest.settings:get("spears_throw_speed") or 13) .. " and drag coeff. " .. (minetest.settings:get("spears_drag_coeff") or 0.1))