spears/init.lua

15 lines
548 B
Lua
Raw Normal View History

2024-03-03 10:55:16 +01:00
-- dofile(minetest.get_modpath("spears").."/defaults.lua")
2015-10-03 20:45:32 +02:00
2024-02-03 10:56:25 +01:00
-- 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
2015-10-03 20:45:32 +02:00
dofile(minetest.get_modpath("spears").."/functions.lua")
dofile(minetest.get_modpath("spears").."/tools.lua")
2024-02-03 10:56:25 +01:00
minetest.log("action", "[MOD] Spears loaded with throwing speed " .. minetest.settings:get("spears_throw_speed") .. " and drag coeff. " .. minetest.settings:get("spears_drag_coeff"))