mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-23 16:30:19 +01:00
Add the Warrior class description to the shields wich need the warrior class
This commit is contained in:
parent
0e7c803463
commit
e1b38bc261
@ -93,7 +93,7 @@ end
|
|||||||
|
|
||||||
if ARMOR_MATERIALS.mithril then
|
if ARMOR_MATERIALS.mithril then
|
||||||
minetest.register_tool("shields:shield_mithril", {
|
minetest.register_tool("shields:shield_mithril", {
|
||||||
description = "Mithril Shield",
|
description = "Mithril Shield (Warrior)",
|
||||||
inventory_image = "shields_inv_shield_mithril.png",
|
inventory_image = "shields_inv_shield_mithril.png",
|
||||||
groups = {armor_shield=13, armor_heal=0, armor_use=50},
|
groups = {armor_shield=13, armor_heal=0, armor_use=50},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
@ -102,7 +102,7 @@ end
|
|||||||
|
|
||||||
if ARMOR_MATERIALS.blackmithril then
|
if ARMOR_MATERIALS.blackmithril then
|
||||||
minetest.register_tool("shields:shield_black_mithril_warrior", {
|
minetest.register_tool("shields:shield_black_mithril_warrior", {
|
||||||
description = "Black Mithril Shield",
|
description = "Black Mithril Shield (Warrior)",
|
||||||
inventory_image = "shields_inv_shield_black_mithril_warrior.png",
|
inventory_image = "shields_inv_shield_black_mithril_warrior.png",
|
||||||
groups = {armor_shield=15, armor_heal=0, armor_use=50},
|
groups = {armor_shield=15, armor_heal=0, armor_use=50},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
@ -132,5 +132,3 @@ end
|
|||||||
minetest.after(0, function()
|
minetest.after(0, function()
|
||||||
table.insert(armor.elements, "shield")
|
table.insert(armor.elements, "shield")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user