mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-17 07:50:29 +01:00
update armor mod
Now better values and effects, see http://minetestforfun.qbuissondebon.info/index.php/le-jeu/liste-des-mod
This commit is contained in:
parent
8d45d416be
commit
7e74cf549e
|
@ -22,7 +22,7 @@ ARMOR_DESTROY = false
|
|||
|
||||
-- You can use this to increase or decrease overall armor effectiveness,
|
||||
-- eg: ARMOR_LEVEL_MULTIPLIER = 0.5 will reduce armor level by half.
|
||||
ARMOR_LEVEL_MULTIPLIER = 0.35
|
||||
ARMOR_LEVEL_MULTIPLIER = 1
|
||||
|
||||
-- You can use this to increase or decrease overall armor healing,
|
||||
-- eg: ARMOR_HEAL_MULTIPLIER = 0 will disable healing altogether.
|
||||
|
|
|
@ -6,25 +6,25 @@ if ARMOR_MATERIALS.wood then
|
|||
minetest.register_tool("3d_armor:helmet_wood", {
|
||||
description = "Wood Helmet",
|
||||
inventory_image = "3d_armor_inv_helmet_wood.png",
|
||||
groups = {armor_head=5, armor_heal=0, armor_use=2000},
|
||||
groups = {armor_head=1, armor_heal=0, armor_use=2000},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:chestplate_wood", {
|
||||
description = "Wood Chestplate",
|
||||
inventory_image = "3d_armor_inv_chestplate_wood.png",
|
||||
groups = {armor_torso=8, armor_heal=0, armor_use=2000},
|
||||
groups = {armor_torso=3, armor_heal=0, armor_use=2000},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:leggings_wood", {
|
||||
description = "Wood Leggings",
|
||||
inventory_image = "3d_armor_inv_leggings_wood.png",
|
||||
groups = {armor_legs=8, armor_heal=0, armor_use=2000},
|
||||
groups = {armor_legs=3, armor_heal=0, armor_use=2000},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:boots_wood", {
|
||||
description = "Wood Boots",
|
||||
inventory_image = "3d_armor_inv_boots_wood.png",
|
||||
groups = {armor_feet=5, armor_heal=0, armor_use=2000},
|
||||
groups = {armor_feet=1, armor_heal=0, armor_use=2000},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
@ -33,25 +33,25 @@ if ARMOR_MATERIALS.cactus then
|
|||
minetest.register_tool("3d_armor:helmet_cactus", {
|
||||
description = "Cactuc Helmet",
|
||||
inventory_image = "3d_armor_inv_helmet_cactus.png",
|
||||
groups = {armor_head=6, armor_heal=0, armor_use=1000},
|
||||
groups = {armor_head=1.5, armor_heal=0, armor_use=1000},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:chestplate_cactus", {
|
||||
description = "Cactus Chestplate",
|
||||
inventory_image = "3d_armor_inv_chestplate_cactus.png",
|
||||
groups = {armor_torso=9, armor_heal=0, armor_use=1000},
|
||||
groups = {armor_torso=4, armor_heal=0, armor_use=1000},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:leggings_cactus", {
|
||||
description = "Cactus Leggings",
|
||||
inventory_image = "3d_armor_inv_leggings_cactus.png",
|
||||
groups = {armor_legs=9, armor_heal=0, armor_use=1000},
|
||||
groups = {armor_legs=4, armor_heal=0, armor_use=1000},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:boots_cactus", {
|
||||
description = "Cactus Boots",
|
||||
inventory_image = "3d_armor_inv_boots_cactus.png",
|
||||
groups = {armor_feet=6, armor_heal=0, armor_use=1000},
|
||||
groups = {armor_feet=1.5, armor_heal=0, armor_use=1000},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
@ -60,25 +60,25 @@ if ARMOR_MATERIALS.steel then
|
|||
minetest.register_tool("3d_armor:helmet_steel", {
|
||||
description = "Steel Helmet",
|
||||
inventory_image = "3d_armor_inv_helmet_steel.png",
|
||||
groups = {armor_head=8, armor_heal=0, armor_use=500},
|
||||
groups = {armor_head=2, armor_heal=0, armor_use=500},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:chestplate_steel", {
|
||||
description = "Steel Chestplate",
|
||||
inventory_image = "3d_armor_inv_chestplate_steel.png",
|
||||
groups = {armor_torso=10, armor_heal=0, armor_use=500},
|
||||
groups = {armor_torso=5, armor_heal=0, armor_use=500},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:leggings_steel", {
|
||||
description = "Steel Leggings",
|
||||
inventory_image = "3d_armor_inv_leggings_steel.png",
|
||||
groups = {armor_legs=10, armor_heal=0, armor_use=500},
|
||||
groups = {armor_legs=5, armor_heal=0, armor_use=500},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:boots_steel", {
|
||||
description = "Steel Boots",
|
||||
inventory_image = "3d_armor_inv_boots_steel.png",
|
||||
groups = {armor_feet=8, armor_heal=0, armor_use=500},
|
||||
groups = {armor_feet=2, armor_heal=0, armor_use=500},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
@ -87,25 +87,25 @@ if ARMOR_MATERIALS.bronze then
|
|||
minetest.register_tool("3d_armor:helmet_bronze", {
|
||||
description = "Bronze Helmet",
|
||||
inventory_image = "3d_armor_inv_helmet_bronze.png",
|
||||
groups = {armor_head=10, armor_heal=4, armor_use=250},
|
||||
groups = {armor_head=2.5, armor_heal=4, armor_use=250},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:chestplate_bronze", {
|
||||
description = "Bronze Chestplate",
|
||||
inventory_image = "3d_armor_inv_chestplate_bronze.png",
|
||||
groups = {armor_torso=12, armor_heal=4, armor_use=250},
|
||||
groups = {armor_torso=5.5, armor_heal=4, armor_use=250},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:leggings_bronze", {
|
||||
description = "Bronze Leggings",
|
||||
inventory_image = "3d_armor_inv_leggings_bronze.png",
|
||||
groups = {armor_legs=12, armor_heal=6, armor_use=250},
|
||||
groups = {armor_legs=5.5, armor_heal=6, armor_use=250},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:boots_bronze", {
|
||||
description = "Bronze Boots",
|
||||
inventory_image = "3d_armor_inv_boots_bronze.png",
|
||||
groups = {armor_feet=10, armor_heal=4, armor_use=250},
|
||||
groups = {armor_feet=2.5, armor_heal=4, armor_use=250},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
@ -114,25 +114,25 @@ if ARMOR_MATERIALS.diamond then
|
|||
minetest.register_tool("3d_armor:helmet_diamond", {
|
||||
description = "Diamond Helmet",
|
||||
inventory_image = "3d_armor_inv_helmet_diamond.png",
|
||||
groups = {armor_head=14, armor_heal=12, armor_use=100},
|
||||
groups = {armor_head=4, armor_heal=12, armor_use=100},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:chestplate_diamond", {
|
||||
description = "Diamond Chestplate",
|
||||
inventory_image = "3d_armor_inv_chestplate_diamond.png",
|
||||
groups = {armor_torso=18, armor_heal=12, armor_use=100},
|
||||
groups = {armor_torso=8, armor_heal=12, armor_use=100},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:leggings_diamond", {
|
||||
description = "Diamond Leggings",
|
||||
inventory_image = "3d_armor_inv_leggings_diamond.png",
|
||||
groups = {armor_legs=18, armor_heal=12, armor_use=100},
|
||||
groups = {armor_legs=8, armor_heal=12, armor_use=100},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:boots_diamond", {
|
||||
description = "Diamond Boots",
|
||||
inventory_image = "3d_armor_inv_boots_diamond.png",
|
||||
groups = {armor_feet=14, armor_heal=12, armor_use=100},
|
||||
groups = {armor_feet=4, armor_heal=12, armor_use=100},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
@ -141,25 +141,25 @@ if ARMOR_MATERIALS.gold then
|
|||
minetest.register_tool("3d_armor:helmet_gold", {
|
||||
description = "Gold Helmet",
|
||||
inventory_image = "3d_armor_inv_helmet_gold.png",
|
||||
groups = {armor_head=12, armor_heal=6, armor_use=200},
|
||||
groups = {armor_head=3, armor_heal=6, armor_use=200},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:chestplate_gold", {
|
||||
description = "Gold Chestplate",
|
||||
inventory_image = "3d_armor_inv_chestplate_gold.png",
|
||||
groups = {armor_torso=15, armor_heal=6, armor_use=200},
|
||||
groups = {armor_torso=7, armor_heal=6, armor_use=200},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:leggings_gold", {
|
||||
description = "Gold Leggings",
|
||||
inventory_image = "3d_armor_inv_leggings_gold.png",
|
||||
groups = {armor_legs=15, armor_heal=6, armor_use=200},
|
||||
groups = {armor_legs=7, armor_heal=6, armor_use=200},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:boots_gold", {
|
||||
description = "Gold Boots",
|
||||
inventory_image = "3d_armor_inv_boots_gold.png",
|
||||
groups = {armor_feet=12, armor_heal=6, armor_use=200},
|
||||
groups = {armor_feet=3, armor_heal=6, armor_use=200},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
@ -168,25 +168,25 @@ if ARMOR_MATERIALS.mithril then
|
|||
minetest.register_tool("3d_armor:helmet_mithril", {
|
||||
description = "Mithril Helmet",
|
||||
inventory_image = "3d_armor_inv_helmet_mithril.png",
|
||||
groups = {armor_head=15, armor_heal=12, armor_use=50},
|
||||
groups = {armor_head=5, armor_heal=12, armor_use=50},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:chestplate_mithril", {
|
||||
description = "Mithril Chestplate",
|
||||
inventory_image = "3d_armor_inv_chestplate_mithril.png",
|
||||
groups = {armor_torso=20, armor_heal=12, armor_use=50},
|
||||
groups = {armor_torso=11, armor_heal=12, armor_use=50},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:leggings_mithril", {
|
||||
description = "Mithril Leggings",
|
||||
inventory_image = "3d_armor_inv_leggings_mithril.png",
|
||||
groups = {armor_legs=20, armor_heal=12, armor_use=50},
|
||||
groups = {armor_legs=11, armor_heal=12, armor_use=50},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("3d_armor:boots_mithril", {
|
||||
description = "Mithril Boots",
|
||||
inventory_image = "3d_armor_inv_boots_mithril.png",
|
||||
groups = {armor_feet=15, armor_heal=12, armor_use=50},
|
||||
groups = {armor_feet=5, armor_heal=12, armor_use=50},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
|
|
@ -13,13 +13,13 @@ if ARMOR_MATERIALS.wood then
|
|||
minetest.register_tool("shields:shield_wood", {
|
||||
description = "Wooden Shield",
|
||||
inventory_image = "shields_inv_shield_wood.png",
|
||||
groups = {armor_shield=5, armor_heal=0, armor_use=2000},
|
||||
groups = {armor_shield=2, armor_heal=0, armor_use=2000},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("shields:shield_enhanced_wood", {
|
||||
description = "Enhanced Wood Shield",
|
||||
inventory_image = "shields_inv_shield_enhanced_wood.png",
|
||||
groups = {armor_shield=6, armor_heal=0, armor_use=1000},
|
||||
groups = {armor_shield=3, armor_heal=0, armor_use=1000},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_craft({
|
||||
|
@ -36,13 +36,13 @@ if ARMOR_MATERIALS.cactus then
|
|||
minetest.register_tool("shields:shield_cactus", {
|
||||
description = "Cactus Shield",
|
||||
inventory_image = "shields_inv_shield_cactus.png",
|
||||
groups = {armor_shield=6, armor_heal=0, armor_use=1000},
|
||||
groups = {armor_shield=2, armor_heal=0, armor_use=1000},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_tool("shields:shield_enhanced_cactus", {
|
||||
description = "Enhanced Cactus Shield",
|
||||
inventory_image = "shields_inv_shield_enhanced_cactus.png",
|
||||
groups = {armor_shield=7, armor_heal=0, armor_use=500},
|
||||
groups = {armor_shield=3, armor_heal=0, armor_use=500},
|
||||
wear = 0,
|
||||
})
|
||||
minetest.register_craft({
|
||||
|
@ -59,7 +59,7 @@ if ARMOR_MATERIALS.steel then
|
|||
minetest.register_tool("shields:shield_steel", {
|
||||
description = "Steel Shield",
|
||||
inventory_image = "shields_inv_shield_steel.png",
|
||||
groups = {armor_shield=8, armor_heal=0, armor_use=500},
|
||||
groups = {armor_shield=3, armor_heal=0, armor_use=500},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
@ -68,7 +68,7 @@ if ARMOR_MATERIALS.bronze then
|
|||
minetest.register_tool("shields:shield_bronze", {
|
||||
description = "Bronze Shield",
|
||||
inventory_image = "shields_inv_shield_bronze.png",
|
||||
groups = {armor_shield=10, armor_heal=6, armor_use=250},
|
||||
groups = {armor_shield=4, armor_heal=6, armor_use=250},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
@ -77,7 +77,7 @@ if ARMOR_MATERIALS.diamond then
|
|||
minetest.register_tool("shields:shield_diamond", {
|
||||
description = "Diamond Shield",
|
||||
inventory_image = "shields_inv_shield_diamond.png",
|
||||
groups = {armor_shield=14, armor_heal=12, armor_use=100},
|
||||
groups = {armor_shield=6, armor_heal=12, armor_use=100},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
@ -86,7 +86,7 @@ if ARMOR_MATERIALS.gold then
|
|||
minetest.register_tool("shields:shield_gold", {
|
||||
description = "Gold Shield",
|
||||
inventory_image = "shields_inv_shield_gold.png",
|
||||
groups = {armor_shield=12, armor_heal=6, armor_use=200},
|
||||
groups = {armor_shield=5, armor_heal=6, armor_use=200},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
@ -95,7 +95,7 @@ if ARMOR_MATERIALS.mithril then
|
|||
minetest.register_tool("shields:shield_mithril", {
|
||||
description = "Mithril Shield",
|
||||
inventory_image = "shields_inv_shield_mithril.png",
|
||||
groups = {armor_shield=15, armor_heal=12, armor_use=50},
|
||||
groups = {armor_shield=8, armor_heal=12, armor_use=50},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user