3d_armor - report loading of the mod to better init debug
This commit is contained in:
parent
ca1702d5f4
commit
611466f981
@ -7,6 +7,7 @@
|
||||
-- support for i18n
|
||||
local S = armor_i18n.gettext
|
||||
|
||||
print("[3d_armor] lodaing armors..")
|
||||
|
||||
--- Admin Helmet
|
||||
--
|
||||
|
@ -16,6 +16,7 @@ local F = armor_i18n.fgettext
|
||||
|
||||
dofile(modpath.."/api.lua")
|
||||
|
||||
print("[3d_armor], loaded api .. ")
|
||||
-- Legacy Config Support
|
||||
|
||||
local input = io.open(modpath.."/armor.conf", "r")
|
||||
@ -43,6 +44,7 @@ if minetest.global_exists("ARMOR_FIRE_NODES") then
|
||||
armor.fire_nodes = table.copy(ARMOR_FIRE_NODES)
|
||||
end
|
||||
|
||||
print("[3d_armor], loaded configs .. ")
|
||||
-- Load Configuration
|
||||
|
||||
for name, config in pairs(armor.config) do
|
||||
@ -513,3 +515,6 @@ if armor.config.water_protect == true or armor.config.fire_protect == true then
|
||||
armor.timer = 0
|
||||
end)
|
||||
end
|
||||
|
||||
print("[3d_armor]: mod loaded .. ")
|
||||
minetest.log("info", "[3d_armor]: initialized")
|
||||
|
@ -144,3 +144,6 @@ for k, v in pairs(armor.materials) do
|
||||
minetest.register_alias("3d_armor:gloves_"..k, "3d_armor_gloves:gloves_"..k)
|
||||
|
||||
end
|
||||
|
||||
print("[3d_armor_gloves] mod loaded")
|
||||
minetest.log("info","[3d_armor_gloves] mod loaded")
|
||||
|
@ -13,3 +13,6 @@ minetest.register_chatcommand("armor", {
|
||||
"listring[detached:".. name .."_armor;armor]")
|
||||
end,
|
||||
})
|
||||
|
||||
print("[3d_armor_mobile] loaded")
|
||||
minetest.log("info","[3d_armor_mobile] loaded")
|
||||
|
@ -1,2 +1,3 @@
|
||||
3d_armor
|
||||
default?
|
||||
sfinv?
|
||||
|
@ -19,3 +19,6 @@ armor:register_on_update(function(player)
|
||||
sfinv.set_player_inventory_formspec(player)
|
||||
end
|
||||
end)
|
||||
|
||||
print("[3d_armor_sfinv]: Mod loaded.")
|
||||
minetest.log("warning", "[3d_armor_sfinv]: Mod loaded.")
|
||||
|
@ -1,4 +1,4 @@
|
||||
name = 3d_armor_sfinv
|
||||
depends = default
|
||||
optional_depends = sfinv
|
||||
depends = 3d_armor
|
||||
optional_depends = default, sfinv
|
||||
description = ARMOR PAGE to the simple fast inventory
|
||||
|
@ -351,3 +351,6 @@ minetest.register_craft({
|
||||
{"3d_armor_stand:armor_stand", "default:steel_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
print("[3d_armor_stand]: loaded")
|
||||
minetest.log("info", "[3d_armor_stand]: loaded")
|
||||
|
@ -153,3 +153,6 @@ for material, m in pairs(materials) do
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
print("[3d_armor_technic]: Mod loaded.")
|
||||
minetest.log("info", "[3d_armor_technic]: Mod loaded.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user