Version 3.2.0

This commit is contained in:
Andrea
2024-12-27 11:33:07 +01:00
parent 2335f45b71
commit fcfd6f64d7
8 changed files with 120 additions and 99 deletions

View File

@ -1,14 +1,7 @@
-- dofile(minetest.get_modpath("spears").."/defaults.lua")
-- Welcome to spears mod
-- 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(core.get_modpath("spears").."/defaults.lua")
dofile(core.get_modpath("spears").."/functions.lua")
dofile(core.get_modpath("spears").."/tools.lua")
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))
core.log("action", "[MOD] Spears loaded with throwing speed " .. (core.settings:get("spears_throw_speed")) .. " and drag coeff. " .. (core.settings:get("spears_drag_coeff")))