1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-08-23 00:00:23 +02:00

remove spears mod in submodule

This commit is contained in:
2015-10-12 22:47:00 +02:00
parent 8ce79c3dfc
commit 78c5f0cc09
13 changed files with 350 additions and 1 deletions

25
mods/spears/init.lua Executable file
View File

@ -0,0 +1,25 @@
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")
if minetest.setting_get("log_mods") then
minetest.log("action", "spears loaded")
end
--alias
minetest.register_alias("throwing:spear_stone", "spears:spear_stone")
minetest.register_alias("throwing:spear_steel", "spears:spear_steel")
minetest.register_alias("throwing:spear_diamond", "spears:spear_diamond")
minetest.register_alias("throwing:spear_obsidian", "spears:spear_obsidian")
minetest.register_alias("throwing:spear_mithril", "spears:spear_mithril")