mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-26 09:40:28 +01:00
Update shields armor
+1 armor for all shields
This commit is contained in:
parent
376fc7d0ff
commit
f5dca18b57
@ -13,13 +13,13 @@ if ARMOR_MATERIALS.wood then
|
|||||||
minetest.register_tool("shields:shield_wood", {
|
minetest.register_tool("shields:shield_wood", {
|
||||||
description = "Wooden Shield",
|
description = "Wooden Shield",
|
||||||
inventory_image = "shields_inv_shield_wood.png",
|
inventory_image = "shields_inv_shield_wood.png",
|
||||||
groups = {armor_shield=2, armor_heal=0, armor_use=2000},
|
groups = {armor_shield=3, armor_heal=0, armor_use=2000},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("shields:shield_enhanced_wood", {
|
minetest.register_tool("shields:shield_enhanced_wood", {
|
||||||
description = "Enhanced Wood Shield",
|
description = "Enhanced Wood Shield",
|
||||||
inventory_image = "shields_inv_shield_enhanced_wood.png",
|
inventory_image = "shields_inv_shield_enhanced_wood.png",
|
||||||
groups = {armor_shield=3, armor_heal=0, armor_use=1000},
|
groups = {armor_shield=4, armor_heal=0, armor_use=1000},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
@ -36,13 +36,13 @@ if ARMOR_MATERIALS.cactus then
|
|||||||
minetest.register_tool("shields:shield_cactus", {
|
minetest.register_tool("shields:shield_cactus", {
|
||||||
description = "Cactus Shield",
|
description = "Cactus Shield",
|
||||||
inventory_image = "shields_inv_shield_cactus.png",
|
inventory_image = "shields_inv_shield_cactus.png",
|
||||||
groups = {armor_shield=2, armor_heal=0, armor_use=1000},
|
groups = {armor_shield=3, armor_heal=0, armor_use=1000},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("shields:shield_enhanced_cactus", {
|
minetest.register_tool("shields:shield_enhanced_cactus", {
|
||||||
description = "Enhanced Cactus Shield",
|
description = "Enhanced Cactus Shield",
|
||||||
inventory_image = "shields_inv_shield_enhanced_cactus.png",
|
inventory_image = "shields_inv_shield_enhanced_cactus.png",
|
||||||
groups = {armor_shield=3, armor_heal=0, armor_use=500},
|
groups = {armor_shield=4, armor_heal=0, armor_use=500},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
@ -59,7 +59,7 @@ if ARMOR_MATERIALS.steel then
|
|||||||
minetest.register_tool("shields:shield_steel", {
|
minetest.register_tool("shields:shield_steel", {
|
||||||
description = "Steel Shield",
|
description = "Steel Shield",
|
||||||
inventory_image = "shields_inv_shield_steel.png",
|
inventory_image = "shields_inv_shield_steel.png",
|
||||||
groups = {armor_shield=3, armor_heal=0, armor_use=500},
|
groups = {armor_shield=4, armor_heal=0, armor_use=500},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -68,7 +68,7 @@ if ARMOR_MATERIALS.bronze then
|
|||||||
minetest.register_tool("shields:shield_bronze", {
|
minetest.register_tool("shields:shield_bronze", {
|
||||||
description = "Bronze Shield",
|
description = "Bronze Shield",
|
||||||
inventory_image = "shields_inv_shield_bronze.png",
|
inventory_image = "shields_inv_shield_bronze.png",
|
||||||
groups = {armor_shield=4, armor_heal=6, armor_use=250},
|
groups = {armor_shield=5, armor_heal=6, armor_use=250},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -77,7 +77,7 @@ if ARMOR_MATERIALS.diamond then
|
|||||||
minetest.register_tool("shields:shield_diamond", {
|
minetest.register_tool("shields:shield_diamond", {
|
||||||
description = "Diamond Shield",
|
description = "Diamond Shield",
|
||||||
inventory_image = "shields_inv_shield_diamond.png",
|
inventory_image = "shields_inv_shield_diamond.png",
|
||||||
groups = {armor_shield=6, armor_heal=12, armor_use=100},
|
groups = {armor_shield=7, armor_heal=12, armor_use=100},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -86,7 +86,7 @@ if ARMOR_MATERIALS.gold then
|
|||||||
minetest.register_tool("shields:shield_gold", {
|
minetest.register_tool("shields:shield_gold", {
|
||||||
description = "Gold Shield",
|
description = "Gold Shield",
|
||||||
inventory_image = "shields_inv_shield_gold.png",
|
inventory_image = "shields_inv_shield_gold.png",
|
||||||
groups = {armor_shield=5, armor_heal=6, armor_use=200},
|
groups = {armor_shield=6, armor_heal=6, armor_use=200},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -95,7 +95,7 @@ if ARMOR_MATERIALS.mithril then
|
|||||||
minetest.register_tool("shields:shield_mithril", {
|
minetest.register_tool("shields:shield_mithril", {
|
||||||
description = "Mithril Shield",
|
description = "Mithril Shield",
|
||||||
inventory_image = "shields_inv_shield_mithril.png",
|
inventory_image = "shields_inv_shield_mithril.png",
|
||||||
groups = {armor_shield=8, armor_heal=12, armor_use=50},
|
groups = {armor_shield=9, armor_heal=12, armor_use=50},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user