1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Removed all whitespaces (using new script)

This commit is contained in:
LeMagnesium
2015-06-10 19:12:48 +02:00
parent f81b8ca677
commit 2913bcb93d
101 changed files with 589 additions and 571 deletions

View File

@ -16,7 +16,7 @@ ARMOR_MATERIALS = {
mithril = "moreores:mithril_ingot",
crystal = "ethereal:crystal_ingot",
-- Hunter armors (A déc-ommenter quand activation de l'armure au total)
--hardened_leather = "3d_armor:hardened_leather"
--hardened_leather = "3d_armor:hardened_leather"
--reinforced_leather = "3d_armor:reinforced_leather"
-- Wizard armors
--armor = "xxx",
@ -255,7 +255,7 @@ armor.update_armor = function(self, player, dtime)
end
end
end
end
end
if hp <= 0 or hp == self.player_hp[name] then
return
end
@ -463,7 +463,7 @@ minetest.register_on_joinplayer(function(player)
for i=1, 6 do
local stack = player_inv:get_stack("armor", i)
armor_inv:set_stack("armor", i, stack)
end
end
-- Legacy support, import player's armor from old inventory format
for _,v in pairs(armor.elements) do

View File

@ -124,4 +124,4 @@ minetest.after(0, function()
table.insert(armor.elements, "shield")
end)