mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-23 16:30:19 +01:00
Set "armor_heal" to 0 for default armors
This commit is contained in:
parent
3cb41ad045
commit
4c4abb3830
@ -87,25 +87,25 @@ if ARMOR_MATERIALS.bronze then
|
|||||||
minetest.register_tool("3d_armor:helmet_bronze", {
|
minetest.register_tool("3d_armor:helmet_bronze", {
|
||||||
description = "Bronze Helmet",
|
description = "Bronze Helmet",
|
||||||
inventory_image = "3d_armor_inv_helmet_bronze.png",
|
inventory_image = "3d_armor_inv_helmet_bronze.png",
|
||||||
groups = {armor_head=2.5, armor_heal=4, armor_use=250},
|
groups = {armor_head=2.5, armor_heal=0, armor_use=250},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:chestplate_bronze", {
|
minetest.register_tool("3d_armor:chestplate_bronze", {
|
||||||
description = "Bronze Chestplate",
|
description = "Bronze Chestplate",
|
||||||
inventory_image = "3d_armor_inv_chestplate_bronze.png",
|
inventory_image = "3d_armor_inv_chestplate_bronze.png",
|
||||||
groups = {armor_torso=5.5, armor_heal=4, armor_use=250},
|
groups = {armor_torso=5.5, armor_heal=0, armor_use=250},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:leggings_bronze", {
|
minetest.register_tool("3d_armor:leggings_bronze", {
|
||||||
description = "Bronze Leggings",
|
description = "Bronze Leggings",
|
||||||
inventory_image = "3d_armor_inv_leggings_bronze.png",
|
inventory_image = "3d_armor_inv_leggings_bronze.png",
|
||||||
groups = {armor_legs=5.5, armor_heal=6, armor_use=250},
|
groups = {armor_legs=5.5, armor_heal=0, armor_use=250},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:boots_bronze", {
|
minetest.register_tool("3d_armor:boots_bronze", {
|
||||||
description = "Bronze Boots",
|
description = "Bronze Boots",
|
||||||
inventory_image = "3d_armor_inv_boots_bronze.png",
|
inventory_image = "3d_armor_inv_boots_bronze.png",
|
||||||
groups = {armor_feet=2.5, armor_heal=4, armor_use=250},
|
groups = {armor_feet=2.5, armor_heal=0, armor_use=250},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -114,25 +114,25 @@ if ARMOR_MATERIALS.diamond then
|
|||||||
minetest.register_tool("3d_armor:helmet_diamond", {
|
minetest.register_tool("3d_armor:helmet_diamond", {
|
||||||
description = "Diamond Helmet",
|
description = "Diamond Helmet",
|
||||||
inventory_image = "3d_armor_inv_helmet_diamond.png",
|
inventory_image = "3d_armor_inv_helmet_diamond.png",
|
||||||
groups = {armor_head=4, armor_heal=12, armor_use=100},
|
groups = {armor_head=4, armor_heal=0, armor_use=100},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:chestplate_diamond", {
|
minetest.register_tool("3d_armor:chestplate_diamond", {
|
||||||
description = "Diamond Chestplate",
|
description = "Diamond Chestplate",
|
||||||
inventory_image = "3d_armor_inv_chestplate_diamond.png",
|
inventory_image = "3d_armor_inv_chestplate_diamond.png",
|
||||||
groups = {armor_torso=8, armor_heal=12, armor_use=100},
|
groups = {armor_torso=8, armor_heal=0, armor_use=100},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:leggings_diamond", {
|
minetest.register_tool("3d_armor:leggings_diamond", {
|
||||||
description = "Diamond Leggings",
|
description = "Diamond Leggings",
|
||||||
inventory_image = "3d_armor_inv_leggings_diamond.png",
|
inventory_image = "3d_armor_inv_leggings_diamond.png",
|
||||||
groups = {armor_legs=8, armor_heal=12, armor_use=100},
|
groups = {armor_legs=8, armor_heal=0, armor_use=100},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:boots_diamond", {
|
minetest.register_tool("3d_armor:boots_diamond", {
|
||||||
description = "Diamond Boots",
|
description = "Diamond Boots",
|
||||||
inventory_image = "3d_armor_inv_boots_diamond.png",
|
inventory_image = "3d_armor_inv_boots_diamond.png",
|
||||||
groups = {armor_feet=4, armor_heal=12, armor_use=100},
|
groups = {armor_feet=4, armor_heal=0, armor_use=100},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -141,25 +141,25 @@ if ARMOR_MATERIALS.gold then
|
|||||||
minetest.register_tool("3d_armor:helmet_gold", {
|
minetest.register_tool("3d_armor:helmet_gold", {
|
||||||
description = "Gold Helmet",
|
description = "Gold Helmet",
|
||||||
inventory_image = "3d_armor_inv_helmet_gold.png",
|
inventory_image = "3d_armor_inv_helmet_gold.png",
|
||||||
groups = {armor_head=3, armor_heal=6, armor_use=200},
|
groups = {armor_head=3, armor_heal=0, armor_use=200},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:chestplate_gold", {
|
minetest.register_tool("3d_armor:chestplate_gold", {
|
||||||
description = "Gold Chestplate",
|
description = "Gold Chestplate",
|
||||||
inventory_image = "3d_armor_inv_chestplate_gold.png",
|
inventory_image = "3d_armor_inv_chestplate_gold.png",
|
||||||
groups = {armor_torso=7, armor_heal=6, armor_use=200},
|
groups = {armor_torso=7, armor_heal=0, armor_use=200},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:leggings_gold", {
|
minetest.register_tool("3d_armor:leggings_gold", {
|
||||||
description = "Gold Leggings",
|
description = "Gold Leggings",
|
||||||
inventory_image = "3d_armor_inv_leggings_gold.png",
|
inventory_image = "3d_armor_inv_leggings_gold.png",
|
||||||
groups = {armor_legs=7, armor_heal=6, armor_use=200},
|
groups = {armor_legs=7, armor_heal=0, armor_use=200},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:boots_gold", {
|
minetest.register_tool("3d_armor:boots_gold", {
|
||||||
description = "Gold Boots",
|
description = "Gold Boots",
|
||||||
inventory_image = "3d_armor_inv_boots_gold.png",
|
inventory_image = "3d_armor_inv_boots_gold.png",
|
||||||
groups = {armor_feet=3, armor_heal=6, armor_use=200},
|
groups = {armor_feet=3, armor_heal=0, armor_use=200},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -168,25 +168,25 @@ if ARMOR_MATERIALS.mithril then
|
|||||||
minetest.register_tool("3d_armor:helmet_mithril", {
|
minetest.register_tool("3d_armor:helmet_mithril", {
|
||||||
description = "Mithril Helmet",
|
description = "Mithril Helmet",
|
||||||
inventory_image = "3d_armor_inv_helmet_mithril.png",
|
inventory_image = "3d_armor_inv_helmet_mithril.png",
|
||||||
groups = {armor_head=5, armor_heal=12, armor_use=50},
|
groups = {armor_head=5, armor_heal=0, armor_use=50},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:chestplate_mithril", {
|
minetest.register_tool("3d_armor:chestplate_mithril", {
|
||||||
description = "Mithril Chestplate",
|
description = "Mithril Chestplate",
|
||||||
inventory_image = "3d_armor_inv_chestplate_mithril.png",
|
inventory_image = "3d_armor_inv_chestplate_mithril.png",
|
||||||
groups = {armor_torso=11, armor_heal=12, armor_use=50},
|
groups = {armor_torso=11, armor_heal=0, armor_use=50},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:leggings_mithril", {
|
minetest.register_tool("3d_armor:leggings_mithril", {
|
||||||
description = "Mithril Leggings",
|
description = "Mithril Leggings",
|
||||||
inventory_image = "3d_armor_inv_leggings_mithril.png",
|
inventory_image = "3d_armor_inv_leggings_mithril.png",
|
||||||
groups = {armor_legs=11, armor_heal=12, armor_use=50},
|
groups = {armor_legs=11, armor_heal=0, armor_use=50},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:boots_mithril", {
|
minetest.register_tool("3d_armor:boots_mithril", {
|
||||||
description = "Mithril Boots",
|
description = "Mithril Boots",
|
||||||
inventory_image = "3d_armor_inv_boots_mithril.png",
|
inventory_image = "3d_armor_inv_boots_mithril.png",
|
||||||
groups = {armor_feet=5, armor_heal=12, armor_use=50},
|
groups = {armor_feet=5, armor_heal=0, armor_use=50},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -195,25 +195,25 @@ if ARMOR_MATERIALS.crystal then
|
|||||||
minetest.register_tool("3d_armor:helmet_crystal", {
|
minetest.register_tool("3d_armor:helmet_crystal", {
|
||||||
description = "Crystal Helmet",
|
description = "Crystal Helmet",
|
||||||
inventory_image = "3d_armor_inv_helmet_crystal.png",
|
inventory_image = "3d_armor_inv_helmet_crystal.png",
|
||||||
groups = {armor_head=15, armor_heal=12, armor_use=50, armor_fire=1},
|
groups = {armor_head=15, armor_heal=0, armor_use=50, armor_fire=1},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:chestplate_crystal", {
|
minetest.register_tool("3d_armor:chestplate_crystal", {
|
||||||
description = "Crystal Chestplate",
|
description = "Crystal Chestplate",
|
||||||
inventory_image = "3d_armor_inv_chestplate_crystal.png",
|
inventory_image = "3d_armor_inv_chestplate_crystal.png",
|
||||||
groups = {armor_torso=20, armor_heal=12, armor_use=50, armor_fire=1},
|
groups = {armor_torso=20, armor_heal=0, armor_use=50, armor_fire=1},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:leggings_crystal", {
|
minetest.register_tool("3d_armor:leggings_crystal", {
|
||||||
description = "Crystal Leggings",
|
description = "Crystal Leggings",
|
||||||
inventory_image = "3d_armor_inv_leggings_crystal.png",
|
inventory_image = "3d_armor_inv_leggings_crystal.png",
|
||||||
groups = {armor_legs=20, armor_heal=12, armor_use=50, armor_fire=1},
|
groups = {armor_legs=20, armor_heal=0, armor_use=50, armor_fire=1},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
minetest.register_tool("3d_armor:boots_crystal", {
|
minetest.register_tool("3d_armor:boots_crystal", {
|
||||||
description = "Crystal Boots",
|
description = "Crystal Boots",
|
||||||
inventory_image = "3d_armor_inv_boots_crystal.png",
|
inventory_image = "3d_armor_inv_boots_crystal.png",
|
||||||
groups = {armor_feet=15, armor_heal=12, armor_use=50, physics_speed=1, physics_jump=0.5, armor_fire=1},
|
groups = {armor_feet=15, armor_heal=0, armor_use=50, physics_speed=1, physics_jump=0.5, armor_fire=1},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user