From e0a3e5cec78e2baebdbc399d643232a7e194b9a7 Mon Sep 17 00:00:00 2001 From: Ombridride Date: Wed, 15 Jul 2015 00:38:56 +0200 Subject: [PATCH] Improved the armors values + add a small life regeneration on the mithril shield for test + fix a bug on the hardened armor for hunters --- mods/3d_armor/3d_armor/armor.conf | 2 +- mods/3d_armor/3d_armor/init.lua | 48 +++++++++--------- mods/3d_armor/shields/init.lua | 14 ++--- .../depends.txt | 0 .../hardened_leather_armor_hunter/init.lua | 40 +++++++++++++++ ...d_armor_boots_hardened_leather_hunter.png} | Bin ...boots_hardened_leather_hunter_preview.png} | Bin ...or_chestplate_hardened_leather_hunter.png} | Bin ...plate_hardened_leather_hunter_preview.png} | Bin ..._armor_helmet_hardened_leather_hunter.png} | Bin ...elmet_hardened_leather_hunter_preview.png} | Bin ...mor_inv_boots_hardened_leather_hunter.png} | Bin ...nv_chestplate_hardened_leather_hunter.png} | Bin ...or_inv_helmet_hardened_leather_hunter.png} | Bin ..._inv_leggings_hardened_leather_hunter.png} | Bin ...rmor_leggings_hardened_leather_hunter.png} | Bin ...gings_hardened_leather_hunter_preview.png} | Bin .../leather_armor_hunter/init.lua | 40 --------------- .../reinforced_leather_armor_hunter/init.lua | 4 +- other_things/World Edit schems/ferme_arbre.we | 0 .../World Edit schems/lastspawn_oldmapgen.we | 0 .../World Edit schems/maison_arbre.we | 0 22 files changed, 74 insertions(+), 74 deletions(-) rename mods/3d_armor_classes/{leather_armor_hunter => hardened_leather_armor_hunter}/depends.txt (100%) create mode 100755 mods/3d_armor_classes/hardened_leather_armor_hunter/init.lua rename mods/3d_armor_classes/{leather_armor_hunter/textures/3d_armor_boots_leather_hunter.png => hardened_leather_armor_hunter/textures/3d_armor_boots_hardened_leather_hunter.png} (100%) rename mods/3d_armor_classes/{leather_armor_hunter/textures/3d_armor_boots_leather_hunter_preview.png => hardened_leather_armor_hunter/textures/3d_armor_boots_hardened_leather_hunter_preview.png} (100%) rename mods/3d_armor_classes/{leather_armor_hunter/textures/3d_armor_chestplate_leather_hunter.png => hardened_leather_armor_hunter/textures/3d_armor_chestplate_hardened_leather_hunter.png} (100%) rename mods/3d_armor_classes/{leather_armor_hunter/textures/3d_armor_chestplate_leather_hunter_preview.png => hardened_leather_armor_hunter/textures/3d_armor_chestplate_hardened_leather_hunter_preview.png} (100%) rename mods/3d_armor_classes/{leather_armor_hunter/textures/3d_armor_helmet_leather_hunter.png => hardened_leather_armor_hunter/textures/3d_armor_helmet_hardened_leather_hunter.png} (100%) rename mods/3d_armor_classes/{leather_armor_hunter/textures/3d_armor_helmet_leather_hunter_preview.png => hardened_leather_armor_hunter/textures/3d_armor_helmet_hardened_leather_hunter_preview.png} (100%) rename mods/3d_armor_classes/{leather_armor_hunter/textures/3d_armor_inv_boots_leather_hunter.png => hardened_leather_armor_hunter/textures/3d_armor_inv_boots_hardened_leather_hunter.png} (100%) rename mods/3d_armor_classes/{leather_armor_hunter/textures/3d_armor_inv_chestplate_leather_hunter.png => hardened_leather_armor_hunter/textures/3d_armor_inv_chestplate_hardened_leather_hunter.png} (100%) rename mods/3d_armor_classes/{leather_armor_hunter/textures/3d_armor_inv_helmet_leather_hunter.png => hardened_leather_armor_hunter/textures/3d_armor_inv_helmet_hardened_leather_hunter.png} (100%) rename mods/3d_armor_classes/{leather_armor_hunter/textures/3d_armor_inv_leggings_leather_hunter.png => hardened_leather_armor_hunter/textures/3d_armor_inv_leggings_hardened_leather_hunter.png} (100%) rename mods/3d_armor_classes/{leather_armor_hunter/textures/3d_armor_leggings_leather_hunter.png => hardened_leather_armor_hunter/textures/3d_armor_leggings_hardened_leather_hunter.png} (100%) rename mods/3d_armor_classes/{leather_armor_hunter/textures/3d_armor_leggings_leather_hunter_preview.png => hardened_leather_armor_hunter/textures/3d_armor_leggings_hardened_leather_hunter_preview.png} (100%) delete mode 100755 mods/3d_armor_classes/leather_armor_hunter/init.lua mode change 100644 => 100755 other_things/World Edit schems/ferme_arbre.we mode change 100644 => 100755 other_things/World Edit schems/lastspawn_oldmapgen.we mode change 100644 => 100755 other_things/World Edit schems/maison_arbre.we diff --git a/mods/3d_armor/3d_armor/armor.conf b/mods/3d_armor/3d_armor/armor.conf index 4e4b86fd..b097f3dd 100755 --- a/mods/3d_armor/3d_armor/armor.conf +++ b/mods/3d_armor/3d_armor/armor.conf @@ -26,7 +26,7 @@ ARMOR_LEVEL_MULTIPLIER = 1 -- You can use this to increase or decrease overall armor healing, -- eg: ARMOR_HEAL_MULTIPLIER = 0 will disable healing altogether. -ARMOR_HEAL_MULTIPLIER = 0 +ARMOR_HEAL_MULTIPLIER = 1 -- You can also use this file to execute arbitary lua code -- eg: Dumb the armor down if using Simple Mobs diff --git a/mods/3d_armor/3d_armor/init.lua b/mods/3d_armor/3d_armor/init.lua index 05fed80d..e5e4ea8d 100755 --- a/mods/3d_armor/3d_armor/init.lua +++ b/mods/3d_armor/3d_armor/init.lua @@ -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=1.5, armor_heal=0, armor_use=1000}, + groups = {armor_head=3, 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=4, armor_heal=0, armor_use=1000}, + groups = {armor_torso=5, 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=4, armor_heal=0, armor_use=1000}, + groups = {armor_legs=5, 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=1.5, armor_heal=0, armor_use=1000}, + groups = {armor_feet=3, 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=2, armor_heal=0, armor_use=500}, + groups = {armor_head=4, 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=5, armor_heal=0, armor_use=500}, + groups = {armor_torso=8, 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=5, armor_heal=0, armor_use=500}, + groups = {armor_legs=8, 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=2, armor_heal=0, armor_use=500}, + groups = {armor_feet=4, 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=2.5, armor_heal=0, armor_use=250}, + groups = {armor_head=5, armor_heal=0, 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=5.5, armor_heal=0, armor_use=250}, + groups = {armor_torso=9, armor_heal=0, 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=5.5, armor_heal=0, armor_use=250}, + groups = {armor_legs=9, armor_heal=0, 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=2.5, armor_heal=0, armor_use=250}, + groups = {armor_feet=5, armor_heal=0, 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=4, armor_heal=0, armor_use=100}, + groups = {armor_head=7, armor_heal=0, 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=8, armor_heal=0, armor_use=100}, + groups = {armor_torso=13, armor_heal=0, 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=8, armor_heal=0, armor_use=100}, + groups = {armor_legs=13, armor_heal=0, 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=4, armor_heal=0, armor_use=100}, + groups = {armor_feet=7, armor_heal=0, 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=3, armor_heal=0, armor_use=200}, + groups = {armor_head=5, armor_heal=0, 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=7, armor_heal=0, armor_use=200}, + groups = {armor_torso=11, armor_heal=0, 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=7, armor_heal=0, armor_use=200}, + groups = {armor_legs=11, armor_heal=0, 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=3, armor_heal=0, armor_use=200}, + groups = {armor_feet=5, armor_heal=0, 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=5, armor_heal=0, armor_use=50}, + groups = {armor_head=9, armor_heal=0, 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=11, armor_heal=0, armor_use=50}, + groups = {armor_torso=15, armor_heal=0, 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=11, armor_heal=0, armor_use=50}, + groups = {armor_legs=15, armor_heal=0, 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=5, armor_heal=0, armor_use=50}, + groups = {armor_feet=9, armor_heal=0, armor_use=50}, wear = 0, }) end diff --git a/mods/3d_armor/shields/init.lua b/mods/3d_armor/shields/init.lua index 120dc88e..ab420f0f 100755 --- a/mods/3d_armor/shields/init.lua +++ b/mods/3d_armor/shields/init.lua @@ -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=3, armor_heal=0, armor_use=1000}, + groups = {armor_shield=5, 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=4, armor_heal=0, armor_use=500}, + groups = {armor_shield=6, 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=4, armor_heal=0, armor_use=500}, + groups = {armor_shield=7, 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=5, armor_heal=0, armor_use=250}, + groups = {armor_shield=8, armor_heal=0, 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=7, armor_heal=0, armor_use=100}, + groups = {armor_shield=11, armor_heal=0, 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=6, armor_heal=0, armor_use=200}, + groups = {armor_shield=9, armor_heal=0, 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=9, armor_heal=0, armor_use=50}, + groups = {armor_shield=13, armor_heal=1, armor_use=50}, wear = 0, }) end diff --git a/mods/3d_armor_classes/leather_armor_hunter/depends.txt b/mods/3d_armor_classes/hardened_leather_armor_hunter/depends.txt similarity index 100% rename from mods/3d_armor_classes/leather_armor_hunter/depends.txt rename to mods/3d_armor_classes/hardened_leather_armor_hunter/depends.txt diff --git a/mods/3d_armor_classes/hardened_leather_armor_hunter/init.lua b/mods/3d_armor_classes/hardened_leather_armor_hunter/init.lua new file mode 100755 index 00000000..bf72b879 --- /dev/null +++ b/mods/3d_armor_classes/hardened_leather_armor_hunter/init.lua @@ -0,0 +1,40 @@ +if ARMOR_MATERIALS.hardened_leather then + -- Register helmets : + minetest.register_tool(":3d_armor:helmet_hardened_leather_hunter", { + description = "Hunter's Hardened Leather Helmet", + inventory_image = "3d_armor_inv_helmet_hardened_leather_hunter.png", + groups = {armor_head = 5, armor_heal = 0, armor_use = 250}, + wear = 0, + }) + -- Register chestplates : + minetest.register_tool(":3d_armor:chestplate_hardened_leather_hunter", { + description = "Hunter's Hardened Leather Chestplate", + inventory_image = "3d_armor_inv_chestplate_hardened_leather_hunter.png", + groups = {armor_torso = 8, armor_heal = 0, armor_use = 250}, + wear = 0, + }) + -- Register leggings : + minetest.register_tool(":3d_armor:leggings_hardened_leather_hunter", { + description = "Hunter's Hardened Leather Leggings", + inventory_image = "3d_armor_inv_leggings_hardened_leather_hunter.png", + groups = {armor_legs = 8, armor_heal = 0, armor_use = 250}, + wear = 0, + }) + -- Register boots : + minetest.register_tool(":3d_armor:boots_hardened_leather_hunter", { + description = "Hunter's Hardened Leather Boots", + inventory_image = "3d_armor_inv_boots_hardened_leather_hunter.png", + groups = {armor_feet = 5, armor_heal = 0, armor_use = 250}, + wear = 0, + }) +end + +-- Hardened Leather craft recipe +minetest.register_craft({ + output = "3d_armor:hardened_leather", + recipe = { + {"default:steel_ingot", "mobs:leather", "default:bronze_ingot" }, + {"mobs:leather", "mobs:leather", "mobs:leather" }, + {"default:bronze_ingot", "mobs:leather", "default:steel_ingot" }, + } +}) diff --git a/mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_boots_leather_hunter.png b/mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_boots_hardened_leather_hunter.png similarity index 100% rename from mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_boots_leather_hunter.png rename to mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_boots_hardened_leather_hunter.png diff --git a/mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_boots_leather_hunter_preview.png b/mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_boots_hardened_leather_hunter_preview.png similarity index 100% rename from mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_boots_leather_hunter_preview.png rename to mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_boots_hardened_leather_hunter_preview.png diff --git a/mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_chestplate_leather_hunter.png b/mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_chestplate_hardened_leather_hunter.png similarity index 100% rename from mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_chestplate_leather_hunter.png rename to mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_chestplate_hardened_leather_hunter.png diff --git a/mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_chestplate_leather_hunter_preview.png b/mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_chestplate_hardened_leather_hunter_preview.png similarity index 100% rename from mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_chestplate_leather_hunter_preview.png rename to mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_chestplate_hardened_leather_hunter_preview.png diff --git a/mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_helmet_leather_hunter.png b/mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_helmet_hardened_leather_hunter.png similarity index 100% rename from mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_helmet_leather_hunter.png rename to mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_helmet_hardened_leather_hunter.png diff --git a/mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_helmet_leather_hunter_preview.png b/mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_helmet_hardened_leather_hunter_preview.png similarity index 100% rename from mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_helmet_leather_hunter_preview.png rename to mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_helmet_hardened_leather_hunter_preview.png diff --git a/mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_inv_boots_leather_hunter.png b/mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_inv_boots_hardened_leather_hunter.png similarity index 100% rename from mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_inv_boots_leather_hunter.png rename to mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_inv_boots_hardened_leather_hunter.png diff --git a/mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_inv_chestplate_leather_hunter.png b/mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_inv_chestplate_hardened_leather_hunter.png similarity index 100% rename from mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_inv_chestplate_leather_hunter.png rename to mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_inv_chestplate_hardened_leather_hunter.png diff --git a/mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_inv_helmet_leather_hunter.png b/mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_inv_helmet_hardened_leather_hunter.png similarity index 100% rename from mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_inv_helmet_leather_hunter.png rename to mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_inv_helmet_hardened_leather_hunter.png diff --git a/mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_inv_leggings_leather_hunter.png b/mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_inv_leggings_hardened_leather_hunter.png similarity index 100% rename from mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_inv_leggings_leather_hunter.png rename to mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_inv_leggings_hardened_leather_hunter.png diff --git a/mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_leggings_leather_hunter.png b/mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_leggings_hardened_leather_hunter.png similarity index 100% rename from mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_leggings_leather_hunter.png rename to mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_leggings_hardened_leather_hunter.png diff --git a/mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_leggings_leather_hunter_preview.png b/mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_leggings_hardened_leather_hunter_preview.png similarity index 100% rename from mods/3d_armor_classes/leather_armor_hunter/textures/3d_armor_leggings_leather_hunter_preview.png rename to mods/3d_armor_classes/hardened_leather_armor_hunter/textures/3d_armor_leggings_hardened_leather_hunter_preview.png diff --git a/mods/3d_armor_classes/leather_armor_hunter/init.lua b/mods/3d_armor_classes/leather_armor_hunter/init.lua deleted file mode 100755 index 083bad6d..00000000 --- a/mods/3d_armor_classes/leather_armor_hunter/init.lua +++ /dev/null @@ -1,40 +0,0 @@ -if ARMOR_MATERIALS.hardened_leather then - -- Register helmets : - minetest.register_tool(":3d_armor:helmet_leather_hunter", { - description = "Hunter's Leather Helmet", - inventory_image = "3d_armor_inv_helmet_leather_hunter.png", - groups = {armor_head = 5, armor_heal = 0, armor_use = 250}, - wear = 0, - }) - -- Register chestplates : - minetest.register_tool(":3d_armor:chestplate_leather_hunter", { - description = "Hunter's Leather Chestplate", - inventory_image = "3d_armor_inv_chestplate_leather_hunter.png", - groups = {armor_torso = 9, armor_heal = 0, armor_use = 250}, - wear = 0, - }) - -- Register leggings : - minetest.register_tool(":3d_armor:leggings_leather_hunter", { - description = "Hunter's Leather Leggings", - inventory_image = "3d_armor_inv_leggings_leather_hunter.png", - groups = {armor_legs = 9, armor_heal = 0, armor_use = 250}, - wear = 0, - }) - -- Register boots : - minetest.register_tool(":3d_armor:boots_leather_hunter", { - description = "Hunter's Leather Boots", - inventory_image = "3d_armor_inv_boots_leather_hunter.png", - groups = {armor_feet = 5, armor_heal = 0, armor_use = 250}, - wear = 0, - }) -end - --- Hardened Leather craft recipe -minetest.register_craft({ - output = "3d_armor:hardened_leather", - recipe = { - {"default:steel_ingot", "mobs:leather", "default:bronze_ingot" }, - {"mobs:leather", "mobs:leather", "mobs:leather" }, - {"default:bronze_ingot", "mobs:leather", "default:steel_ingot" }, - } -}) diff --git a/mods/3d_armor_classes/reinforced_leather_armor_hunter/init.lua b/mods/3d_armor_classes/reinforced_leather_armor_hunter/init.lua index e710a2fc..980d7eff 100755 --- a/mods/3d_armor_classes/reinforced_leather_armor_hunter/init.lua +++ b/mods/3d_armor_classes/reinforced_leather_armor_hunter/init.lua @@ -10,14 +10,14 @@ if ARMOR_MATERIALS.reinforced_leather then minetest.register_tool(":3d_armor:chestplate_reinforced_leather_hunter", { description = "Hunter's Reinforced Leather Chestplate", inventory_image = "3d_armor_inv_chestplate_reinforced_leather_hunter.png", - groups = {armor_torso = 10, armor_heal = 0, armor_use = 40}, + groups = {armor_torso = 11, armor_heal = 0, armor_use = 40}, wear = 0, }) -- Register leggings : minetest.register_tool(":3d_armor:leggings_reinforced_leather_hunter", { description = "Hunter's Reinforced Leather Leggings", inventory_image = "3d_armor_inv_leggings_reinforced_leather_hunter.png", - groups = {armor_legs = 10, armor_heal = 0, armor_use = 40}, + groups = {armor_legs = 11, armor_heal = 0, armor_use = 40}, wear = 0, }) -- Register boots : diff --git a/other_things/World Edit schems/ferme_arbre.we b/other_things/World Edit schems/ferme_arbre.we old mode 100644 new mode 100755 diff --git a/other_things/World Edit schems/lastspawn_oldmapgen.we b/other_things/World Edit schems/lastspawn_oldmapgen.we old mode 100644 new mode 100755 diff --git a/other_things/World Edit schems/maison_arbre.we b/other_things/World Edit schems/maison_arbre.we old mode 100644 new mode 100755