forked from mtcontrib/spears
Version 3.2.0
This commit is contained in:
17
init.lua
17
init.lua
@ -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")))
|
||||
|
Reference in New Issue
Block a user