diff --git a/armor.lua b/armor.lua index b73fb1a..14f50e6 100644 --- a/armor.lua +++ b/armor.lua @@ -56,7 +56,7 @@ if mcl2 then description = S(def.description .. " " .. (descriptions[name] or element.description)), _doc_items_longdesc = mcl_armor2.longdesc, _doc_items_usagehelp = mcl_armor2.usage, - inventory_image = "mcl_armor_inv_" .. itemname .. ".png", + inventory_image = "unbreaking_inv_" .. itemname .. ".png", --_repair_material = def.repair_material or def.craft_material, groups = groups, sounds = { @@ -69,8 +69,8 @@ if mcl2 then _on_unequip = on_unequip_callbacks[name] or def.on_unequip, _on_break = on_break_callbacks[name] or def.on_break, _mcl_armor_element = name, - _mcl_armor_texture = textures[name] or "mcl_armor" .. "_" .. itemname .. ".png", - _mcl_armor_preview = previews[name] or "mcl_armor" .. "_" .. itemname .. "_preview.png", + _mcl_armor_texture = textures[name] or "unbreaking" .. "_" .. itemname .. ".png", + _mcl_armor_preview = previews[name] or "unbreaking" .. "_" .. itemname .. "_preview.png", }) if def.craft_material then @@ -98,73 +98,77 @@ end if mt_g then --local armor = armor:armor or error("[unbreaking] Failed to obtain API from 3d_armor!") + local armor_modpath = minetest.get_modpath("3d_armor") or nil + if armor_modpath == nil then + error("[unbreaking] I need 3d_armor or MineClone2 to support armor!") + end -- Wood - if armor.config.material_wood then + if armor.materials.wood then armor:register_armor(":unbreaking:helmet_wood", { description = S("Unbreakable Wood Helmet"), - inventory_image = "3d_armor_inv_helmet_wood.png", + inventory_image = "unbreaking_inv_helmet_wood.png", groups = {armor_head=1, armor_heal=0, armor_use=unbreaking_uses, flammable=1}, armor_groups = {fleshy=5}, damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, }) armor:register_armor(":unbreaking:chestplate_wood", { description = S("Unbreakable Wood Chestplate"), - inventory_image = "3d_armor_inv_chestplate_wood.png", + inventory_image = "unbreaking_inv_chestplate_wood.png", groups = {armor_torso=1, armor_heal=0, armor_use=unbreaking_uses, flammable=1}, armor_groups = {fleshy=10}, damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, }) armor:register_armor(":unbreaking:leggings_wood", { description = S("Unbreakable Wood Leggings"), - inventory_image = "3d_armor_inv_leggings_wood.png", + inventory_image = "unbreaking_inv_leggings_wood.png", groups = {armor_legs=1, armor_heal=0, armor_use=unbreaking_uses, flammable=1}, armor_groups = {fleshy=10}, damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, }) armor:register_armor(":unbreaking:boots_wood", { description = S("Unbreakable Wood Boots"), - inventory_image = "3d_armor_inv_boots_wood.png", + inventory_image = "unbreaking_inv_boots_wood.png", armor_groups = {fleshy=5}, damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, groups = {armor_feet=1, armor_heal=0, armor_use=unbreaking_uses, flammable=1}, }) end -- Cactus - if armor.config.material_cactus then + if armor.materials.cactus then armor:register_armor(":unbreaking:helmet_cactus", { description = S("Unbreakable Cactus Helmet"), - inventory_image = "3d_armor_inv_helmet_cactus.png", + inventory_image = "unbreaking_inv_helmet_cactus.png", groups = {armor_head=1, armor_heal=0, armor_use=unbreaking_uses}, armor_groups = {fleshy=5}, damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, }) armor:register_armor(":unbreaking:chestplate_cactus", { description = S("Unbreakable Cactus Chestplate"), - inventory_image = "3d_armor_inv_chestplate_cactus.png", + inventory_image = "unbreaking_inv_chestplate_cactus.png", groups = {armor_torso=1, armor_heal=0, armor_use=unbreaking_uses}, armor_groups = {fleshy=10}, damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, }) armor:register_armor(":unbreakable:leggings_cactus", { description = S("Unbreakable Cactus Leggings"), - inventory_image = "3d_armor_inv_leggings_cactus.png", + inventory_image = "unbreaking_inv_leggings_cactus.png", groups = {armor_legs=1, armor_heal=0, armor_use=unbreaking_uses}, armor_groups = {fleshy=10}, damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, }) armor:register_armor(":unbreakable:boots_cactus", { description = S("Unbreakable Cactus Boots"), - inventory_image = "3d_armor_inv_boots_cactus.png", + inventory_image = "unbreaking_inv_boots_cactus.png", groups = {armor_feet=1, armor_heal=0, armor_use=unbreaking_uses}, armor_groups = {fleshy=5}, damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, }) end -- Steel - if armor.config.material_steel then + if armor.materials.steel then armor:register_armor(":unbreaking:helmet_steel", { description = S("Unbreakable Steel Helmet"), - inventory_image = "3d_armor_inv_helmet_steel.png", + inventory_image = "unbreaking_inv_helmet_steel.png", groups = {armor_head=1, armor_heal=0, armor_use=unbreaking_uses, physics_speed=-0.01, physics_gravity=0.01}, armor_groups = {fleshy=10}, @@ -172,7 +176,7 @@ if mt_g then }) armor:register_armor(":unbreaking:chestplate_steel", { description = S("Unbreakable Steel Chestplate"), - inventory_image = "3d_armor_inv_chestplate_steel.png", + inventory_image = "unbreaking_inv_chestplate_steel.png", groups = {armor_torso=1, armor_heal=0, armor_use=unbreaking_uses, physics_speed=-0.04, physics_gravity=0.04}, armor_groups = {fleshy=15}, @@ -180,7 +184,7 @@ if mt_g then }) armor:register_armor(":unbreaking:leggings_steel", { description = S("Unbreakable Steel Leggings"), - inventory_image = "3d_armor_inv_leggings_steel.png", + inventory_image = "unbreaking_inv_leggings_steel.png", groups = {armor_legs=1, armor_heal=0, armor_use=unbreaking_uses, physics_speed=-0.03, physics_gravity=0.03}, armor_groups = {fleshy=15}, @@ -188,7 +192,7 @@ if mt_g then }) armor:register_armor(":unbreaking:boots_steel", { description = S("Unbreakable Steel Boots"), - inventory_image = "3d_armor_inv_boots_steel.png", + inventory_image = "unbreaking_inv_boots_steel.png", groups = {armor_feet=1, armor_heal=0, armor_use=unbreaking_uses, physics_speed=-0.01, physics_gravity=0.01}, armor_groups = {fleshy=10}, @@ -196,10 +200,10 @@ if mt_g then }) end -- Bronze - if armor.config.material_bronze then + if armor.materials.bronze then armor:register_armor(":unbreaking:helmet_bronze", { description = S("Unbreakable Bronze Helmet"), - inventory_image = "3d_armor_inv_helmet_bronze.png", + inventory_image = "unbreaking_inv_helmet_bronze.png", groups = {armor_head=1, armor_heal=6, armor_use=unbreaking_uses, physics_speed=-0.01, physics_gravity=0.01}, armor_groups = {fleshy=10}, @@ -207,7 +211,7 @@ if mt_g then }) armor:register_armor(":unbreaking:chestplate_bronze", { description = S("Unbreakable Bronze Chestplate"), - inventory_image = "3d_armor_inv_chestplate_bronze.png", + inventory_image = "unbreaking_inv_chestplate_bronze.png", groups = {armor_torso=1, armor_heal=6, armor_use=unbreaking_uses, physics_speed=-0.04, physics_gravity=0.04}, armor_groups = {fleshy=15}, @@ -215,7 +219,7 @@ if mt_g then }) armor:register_armor(":unbreaking:leggings_bronze", { description = S("Unbreakable Bronze Leggings"), - inventory_image = "3d_armor_inv_leggings_bronze.png", + inventory_image = "unbreaking_inv_leggings_bronze.png", groups = {armor_legs=1, armor_heal=6, armor_use=unbreaking_uses, physics_speed=-0.03, physics_gravity=0.03}, armor_groups = {fleshy=15}, @@ -223,7 +227,7 @@ if mt_g then }) armor:register_armor(":unbreaking:boots_bronze", { description = S("Unbreakable Bronze Boots"), - inventory_image = "3d_armor_inv_boots_bronze.png", + inventory_image = "unbreaking_inv_boots_bronze.png", groups = {armor_feet=1, armor_heal=6, armor_use=unbreaking_uses, physics_speed=-0.01, physics_gravity=0.01}, armor_groups = {fleshy=10}, @@ -231,41 +235,41 @@ if mt_g then }) end -- Diamond - if armor.config.material_diamond then + if armor.materials.diamond then armor:register_armor(":unbreaking:helmet_diamond", { description = S("Unbreakable Diamond Helmet"), - inventory_image = "3d_armor_inv_helmet_diamond.png", + inventory_image = "unbreaking_inv_helmet_diamond.png", groups = {armor_head=1, armor_heal=12, armor_use=unbreaking_uses}, armor_groups = {fleshy=15}, damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, }) armor:register_armor(":unbreaking:chestplate_diamond", { description = S("Unbreakable Diamond Chestplate"), - inventory_image = "3d_armor_inv_chestplate_diamond.png", + inventory_image = "unbreaking_inv_chestplate_diamond.png", groups = {armor_torso=1, armor_heal=12, armor_use=unbreaking_uses}, armor_groups = {fleshy=20}, damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, }) armor:register_armor(":unbreaking:leggings_diamond", { description = S("Unbreakable Diamond Leggings"), - inventory_image = "3d_armor_inv_leggings_diamond.png", + inventory_image = "unbreaking_inv_leggings_diamond.png", groups = {armor_legs=1, armor_heal=12, armor_use=unbreaking_uses}, armor_groups = {fleshy=20}, damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, }) armor:register_armor(":unbreaking:boots_diamond", { description = S("Unbreakable Diamond Boots"), - inventory_image = "3d_armor_inv_boots_diamond.png", + inventory_image = "unbreaking_inv_boots_diamond.png", groups = {armor_feet=1, armor_heal=12, armor_use=unbreaking_uses}, armor_groups = {fleshy=15}, damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, }) end -- Gold - if armor.config.material_gold then + if armor.materials.gold then armor:register_armor(":unbreaking:helmet_gold", { description = S("Unbreakable Gold Helmet"), - inventory_image = "3d_armor_inv_helmet_gold.png", + inventory_image = "unbreaking_inv_helmet_gold.png", groups = {armor_head=1, armor_heal=6, armor_use=unbreaking_uses, physics_speed=-0.02, physics_gravity=0.02}, armor_groups = {fleshy=10}, @@ -273,7 +277,7 @@ if mt_g then }) armor:register_armor(":unbreaking:chestplate_gold", { description = S("Unbreakable Gold Chestplate"), - inventory_image = "3d_armor_inv_chestplate_gold.png", + inventory_image = "unbreaking_inv_chestplate_gold.png", groups = {armor_torso=1, armor_heal=6, armor_use=unbreaking_uses, physics_speed=-0.05, physics_gravity=0.05}, armor_groups = {fleshy=15}, @@ -281,7 +285,7 @@ if mt_g then }) armor:register_armor(":unbreaking:leggings_gold", { description = S("Unbreakable Gold Leggings"), - inventory_image = "3d_armor_inv_leggings_gold.png", + inventory_image = "unbreaking_inv_leggings_gold.png", groups = {armor_legs=1, armor_heal=6, armor_use=unbreaking_uses, physics_speed=-0.04, physics_gravity=0.04}, armor_groups = {fleshy=15}, @@ -289,7 +293,7 @@ if mt_g then }) armor:register_armor(":unbreaking:boots_gold", { description = S("Unbreakable Gold Boots"), - inventory_image = "3d_armor_inv_boots_gold.png", + inventory_image = "unbreaking_inv_boots_gold.png", groups = {armor_feet=1, armor_heal=6, armor_use=unbreaking_uses, physics_speed=-0.02, physics_gravity=0.02}, armor_groups = {fleshy=10}, @@ -297,62 +301,62 @@ if mt_g then }) end -- Mithril - if armor.config.material_mithril then + if armor.materials.mithril then armor:register_armor(":unbreaking:helmet_mithril", { description = S("Unbreakable Mithril Helmet"), - inventory_image = "3d_armor_inv_helmet_mithril.png", + inventory_image = "unbreaking_inv_helmet_mithril.png", groups = {armor_head=1, armor_heal=12, armor_use=unbreaking_uses}, armor_groups = {fleshy=15}, damage_groups = {cracky=2, snappy=1, level=3}, }) armor:register_armor(":unbreaking:chestplate_mithril", { description = S("Unbreakable Mithril Chestplate"), - inventory_image = "3d_armor_inv_chestplate_mithril.png", + inventory_image = "unbreaking_inv_chestplate_mithril.png", groups = {armor_torso=1, armor_heal=12, armor_use=unbreaking_uses}, armor_groups = {fleshy=20}, damage_groups = {cracky=2, snappy=1, level=3}, }) armor:register_armor(":unbreaking:leggings_mithril", { description = S("Unbreakable Mithril Leggings"), - inventory_image = "3d_armor_inv_leggings_mithril.png", + inventory_image = "unbreaking_inv_leggings_mithril.png", groups = {armor_legs=1, armor_heal=12, armor_use=unbreaking_uses}, armor_groups = {fleshy=20}, damage_groups = {cracky=2, snappy=1, level=3}, }) armor:register_armor(":unbreaking:boots_mithril", { description = S("Unbreakable Mithril Boots"), - inventory_image = "3d_armor_inv_boots_mithril.png", + inventory_image = "unbreaking_inv_boots_mithril.png", groups = {armor_feet=1, armor_heal=12, armor_use=unbreaking_uses}, armor_groups = {fleshy=15}, damage_groups = {cracky=2, snappy=1, level=3}, }) end -- Crystal - if armor.config.material_crystal then + if armor.materials.crystal then armor:register_armor(":unbreaking:helmet_crystal", { description = S("Unbreakable Crystal Helmet"), - inventory_image = "3d_armor_inv_helmet_crystal.png", + inventory_image = "unbreaking_inv_helmet_crystal.png", groups = {armor_head=1, armor_heal=12, armor_use=unbreaking_uses, armor_fire=1}, armor_groups = {fleshy=15}, damage_groups = {cracky=2, snappy=1, level=3}, }) armor:register_armor(":unbreaking:chestplate_crystal", { description = S("Unbreakable Crystal Chestplate"), - inventory_image = "3d_armor_inv_chestplate_crystal.png", + inventory_image = "unbreaking_inv_chestplate_crystal.png", groups = {armor_torso=1, armor_heal=12, armor_use=unbreaking_uses, armor_fire=1}, armor_groups = {fleshy=20}, damage_groups = {cracky=2, snappy=1, level=3}, }) armor:register_armor(":unbreaking:leggings_crystal", { description = S("Unbreakable Crystal Leggings"), - inventory_image = "3d_armor_inv_leggings_crystal.png", + inventory_image = "unbreaking_inv_leggings_crystal.png", groups = {armor_legs=1, armor_heal=12, armor_use=unbreaking_uses, armor_fire=1}, armor_groups = {fleshy=20}, damage_groups = {cracky=2, snappy=1, level=3}, }) armor:register_armor(":unbreaking:boots_crystal", { description = S("Unbreakable Crystal Boots"), - inventory_image = "3d_armor_inv_boots_crystal.png", + inventory_image = "unbreaking_inv_boots_crystal.png", groups = {armor_feet=1, armor_heal=12, armor_use=unbreaking_uses, physics_speed=1, physics_jump=0.5, armor_fire=1}, armor_groups = {fleshy=15}, diff --git a/textures/unbreaking_boots_bronze.png b/textures/unbreaking_boots_bronze.png new file mode 100644 index 0000000..0d5799e Binary files /dev/null and b/textures/unbreaking_boots_bronze.png differ diff --git a/textures/unbreaking_boots_bronze_preview.png b/textures/unbreaking_boots_bronze_preview.png new file mode 100644 index 0000000..8e359da Binary files /dev/null and b/textures/unbreaking_boots_bronze_preview.png differ diff --git a/textures/unbreaking_boots_cactus.png b/textures/unbreaking_boots_cactus.png new file mode 100644 index 0000000..cdd2055 Binary files /dev/null and b/textures/unbreaking_boots_cactus.png differ diff --git a/textures/unbreaking_boots_cactus_preview.png b/textures/unbreaking_boots_cactus_preview.png new file mode 100644 index 0000000..a0f0a5b Binary files /dev/null and b/textures/unbreaking_boots_cactus_preview.png differ diff --git a/textures/unbreaking_boots_crystal.png b/textures/unbreaking_boots_crystal.png new file mode 100644 index 0000000..6063ec9 Binary files /dev/null and b/textures/unbreaking_boots_crystal.png differ diff --git a/textures/unbreaking_boots_crystal_preview.png b/textures/unbreaking_boots_crystal_preview.png new file mode 100644 index 0000000..36511f7 Binary files /dev/null and b/textures/unbreaking_boots_crystal_preview.png differ diff --git a/textures/unbreaking_boots_diamond.png b/textures/unbreaking_boots_diamond.png new file mode 100644 index 0000000..c7d26e3 Binary files /dev/null and b/textures/unbreaking_boots_diamond.png differ diff --git a/textures/unbreaking_boots_diamond_preview.png b/textures/unbreaking_boots_diamond_preview.png new file mode 100644 index 0000000..4ff7483 Binary files /dev/null and b/textures/unbreaking_boots_diamond_preview.png differ diff --git a/textures/unbreaking_boots_gold.png b/textures/unbreaking_boots_gold.png new file mode 100644 index 0000000..29bede2 Binary files /dev/null and b/textures/unbreaking_boots_gold.png differ diff --git a/textures/unbreaking_boots_gold_preview.png b/textures/unbreaking_boots_gold_preview.png new file mode 100644 index 0000000..dded05d Binary files /dev/null and b/textures/unbreaking_boots_gold_preview.png differ diff --git a/textures/unbreaking_boots_mithril.png b/textures/unbreaking_boots_mithril.png new file mode 100644 index 0000000..d4cb948 Binary files /dev/null and b/textures/unbreaking_boots_mithril.png differ diff --git a/textures/unbreaking_boots_mithril_preview.png b/textures/unbreaking_boots_mithril_preview.png new file mode 100644 index 0000000..84c3b47 Binary files /dev/null and b/textures/unbreaking_boots_mithril_preview.png differ diff --git a/textures/unbreaking_boots_steel.png b/textures/unbreaking_boots_steel.png new file mode 100644 index 0000000..705f549 Binary files /dev/null and b/textures/unbreaking_boots_steel.png differ diff --git a/textures/unbreaking_boots_steel_preview.png b/textures/unbreaking_boots_steel_preview.png new file mode 100644 index 0000000..6a819a5 Binary files /dev/null and b/textures/unbreaking_boots_steel_preview.png differ diff --git a/textures/unbreaking_boots_wood.png b/textures/unbreaking_boots_wood.png new file mode 100644 index 0000000..45440e4 Binary files /dev/null and b/textures/unbreaking_boots_wood.png differ diff --git a/textures/unbreaking_boots_wood_preview.png b/textures/unbreaking_boots_wood_preview.png new file mode 100644 index 0000000..9363bfd Binary files /dev/null and b/textures/unbreaking_boots_wood_preview.png differ diff --git a/textures/unbreaking_chestplate_bronze.png b/textures/unbreaking_chestplate_bronze.png new file mode 100644 index 0000000..fe1169d Binary files /dev/null and b/textures/unbreaking_chestplate_bronze.png differ diff --git a/textures/unbreaking_chestplate_bronze_preview.png b/textures/unbreaking_chestplate_bronze_preview.png new file mode 100644 index 0000000..5c1278b Binary files /dev/null and b/textures/unbreaking_chestplate_bronze_preview.png differ diff --git a/textures/unbreaking_chestplate_cactus.png b/textures/unbreaking_chestplate_cactus.png new file mode 100644 index 0000000..962fa3e Binary files /dev/null and b/textures/unbreaking_chestplate_cactus.png differ diff --git a/textures/unbreaking_chestplate_cactus_preview.png b/textures/unbreaking_chestplate_cactus_preview.png new file mode 100644 index 0000000..a40305c Binary files /dev/null and b/textures/unbreaking_chestplate_cactus_preview.png differ diff --git a/textures/unbreaking_chestplate_crystal.png b/textures/unbreaking_chestplate_crystal.png new file mode 100644 index 0000000..4a96744 Binary files /dev/null and b/textures/unbreaking_chestplate_crystal.png differ diff --git a/textures/unbreaking_chestplate_crystal_preview.png b/textures/unbreaking_chestplate_crystal_preview.png new file mode 100644 index 0000000..49ab656 Binary files /dev/null and b/textures/unbreaking_chestplate_crystal_preview.png differ diff --git a/textures/unbreaking_chestplate_diamond.png b/textures/unbreaking_chestplate_diamond.png new file mode 100644 index 0000000..45872cc Binary files /dev/null and b/textures/unbreaking_chestplate_diamond.png differ diff --git a/textures/unbreaking_chestplate_diamond_preview.png b/textures/unbreaking_chestplate_diamond_preview.png new file mode 100644 index 0000000..b23e8d6 Binary files /dev/null and b/textures/unbreaking_chestplate_diamond_preview.png differ diff --git a/textures/unbreaking_chestplate_gold.png b/textures/unbreaking_chestplate_gold.png new file mode 100644 index 0000000..ca4edab Binary files /dev/null and b/textures/unbreaking_chestplate_gold.png differ diff --git a/textures/unbreaking_chestplate_gold_preview.png b/textures/unbreaking_chestplate_gold_preview.png new file mode 100644 index 0000000..05e5773 Binary files /dev/null and b/textures/unbreaking_chestplate_gold_preview.png differ diff --git a/textures/unbreaking_chestplate_mithril.png b/textures/unbreaking_chestplate_mithril.png new file mode 100644 index 0000000..c4f52e9 Binary files /dev/null and b/textures/unbreaking_chestplate_mithril.png differ diff --git a/textures/unbreaking_chestplate_mithril_preview.png b/textures/unbreaking_chestplate_mithril_preview.png new file mode 100644 index 0000000..2e67223 Binary files /dev/null and b/textures/unbreaking_chestplate_mithril_preview.png differ diff --git a/textures/unbreaking_chestplate_steel.png b/textures/unbreaking_chestplate_steel.png new file mode 100644 index 0000000..6abe2ca Binary files /dev/null and b/textures/unbreaking_chestplate_steel.png differ diff --git a/textures/unbreaking_chestplate_steel_preview.png b/textures/unbreaking_chestplate_steel_preview.png new file mode 100644 index 0000000..1c291b3 Binary files /dev/null and b/textures/unbreaking_chestplate_steel_preview.png differ diff --git a/textures/unbreaking_chestplate_wood.png b/textures/unbreaking_chestplate_wood.png new file mode 100644 index 0000000..9dc62bc Binary files /dev/null and b/textures/unbreaking_chestplate_wood.png differ diff --git a/textures/unbreaking_chestplate_wood_preview.png b/textures/unbreaking_chestplate_wood_preview.png new file mode 100644 index 0000000..523a08d Binary files /dev/null and b/textures/unbreaking_chestplate_wood_preview.png differ diff --git a/textures/unbreaking_helmet_bronze.png b/textures/unbreaking_helmet_bronze.png new file mode 100644 index 0000000..72e0c26 Binary files /dev/null and b/textures/unbreaking_helmet_bronze.png differ diff --git a/textures/unbreaking_helmet_bronze_preview.png b/textures/unbreaking_helmet_bronze_preview.png new file mode 100644 index 0000000..f0b3a95 Binary files /dev/null and b/textures/unbreaking_helmet_bronze_preview.png differ diff --git a/textures/unbreaking_helmet_cactus.png b/textures/unbreaking_helmet_cactus.png new file mode 100644 index 0000000..883aaaa Binary files /dev/null and b/textures/unbreaking_helmet_cactus.png differ diff --git a/textures/unbreaking_helmet_cactus_preview.png b/textures/unbreaking_helmet_cactus_preview.png new file mode 100644 index 0000000..c8ea11d Binary files /dev/null and b/textures/unbreaking_helmet_cactus_preview.png differ diff --git a/textures/unbreaking_helmet_crystal.png b/textures/unbreaking_helmet_crystal.png new file mode 100644 index 0000000..1bd0f1a Binary files /dev/null and b/textures/unbreaking_helmet_crystal.png differ diff --git a/textures/unbreaking_helmet_crystal_preview.png b/textures/unbreaking_helmet_crystal_preview.png new file mode 100644 index 0000000..8cd8a3f Binary files /dev/null and b/textures/unbreaking_helmet_crystal_preview.png differ diff --git a/textures/unbreaking_helmet_diamond.png b/textures/unbreaking_helmet_diamond.png new file mode 100644 index 0000000..9c7bfe0 Binary files /dev/null and b/textures/unbreaking_helmet_diamond.png differ diff --git a/textures/unbreaking_helmet_diamond_preview.png b/textures/unbreaking_helmet_diamond_preview.png new file mode 100644 index 0000000..2639694 Binary files /dev/null and b/textures/unbreaking_helmet_diamond_preview.png differ diff --git a/textures/unbreaking_helmet_gold.png b/textures/unbreaking_helmet_gold.png new file mode 100644 index 0000000..4ab11e1 Binary files /dev/null and b/textures/unbreaking_helmet_gold.png differ diff --git a/textures/unbreaking_helmet_gold_preview.png b/textures/unbreaking_helmet_gold_preview.png new file mode 100644 index 0000000..a4581ca Binary files /dev/null and b/textures/unbreaking_helmet_gold_preview.png differ diff --git a/textures/unbreaking_helmet_mithril.png b/textures/unbreaking_helmet_mithril.png new file mode 100644 index 0000000..552d201 Binary files /dev/null and b/textures/unbreaking_helmet_mithril.png differ diff --git a/textures/unbreaking_helmet_mithril_preview.png b/textures/unbreaking_helmet_mithril_preview.png new file mode 100644 index 0000000..78d86d3 Binary files /dev/null and b/textures/unbreaking_helmet_mithril_preview.png differ diff --git a/textures/unbreaking_helmet_steel.png b/textures/unbreaking_helmet_steel.png new file mode 100644 index 0000000..96cb7ec Binary files /dev/null and b/textures/unbreaking_helmet_steel.png differ diff --git a/textures/unbreaking_helmet_steel_preview.png b/textures/unbreaking_helmet_steel_preview.png new file mode 100644 index 0000000..93a1e77 Binary files /dev/null and b/textures/unbreaking_helmet_steel_preview.png differ diff --git a/textures/unbreaking_helmet_wood.png b/textures/unbreaking_helmet_wood.png new file mode 100644 index 0000000..82ea377 Binary files /dev/null and b/textures/unbreaking_helmet_wood.png differ diff --git a/textures/unbreaking_helmet_wood_preview.png b/textures/unbreaking_helmet_wood_preview.png new file mode 100644 index 0000000..9f2634d Binary files /dev/null and b/textures/unbreaking_helmet_wood_preview.png differ diff --git a/textures/unbreaking_inv_boots_bronze.png b/textures/unbreaking_inv_boots_bronze.png new file mode 100644 index 0000000..c63ede3 Binary files /dev/null and b/textures/unbreaking_inv_boots_bronze.png differ diff --git a/textures/unbreaking_inv_boots_cactus.png b/textures/unbreaking_inv_boots_cactus.png new file mode 100644 index 0000000..e4ddf53 Binary files /dev/null and b/textures/unbreaking_inv_boots_cactus.png differ diff --git a/textures/unbreaking_inv_boots_crystal.png b/textures/unbreaking_inv_boots_crystal.png new file mode 100644 index 0000000..f0cb9a3 Binary files /dev/null and b/textures/unbreaking_inv_boots_crystal.png differ diff --git a/textures/unbreaking_inv_boots_diamond.png b/textures/unbreaking_inv_boots_diamond.png new file mode 100644 index 0000000..bef8f14 Binary files /dev/null and b/textures/unbreaking_inv_boots_diamond.png differ diff --git a/textures/unbreaking_inv_boots_gold.png b/textures/unbreaking_inv_boots_gold.png new file mode 100644 index 0000000..4eab9e2 Binary files /dev/null and b/textures/unbreaking_inv_boots_gold.png differ diff --git a/textures/unbreaking_inv_boots_mithril.png b/textures/unbreaking_inv_boots_mithril.png new file mode 100644 index 0000000..4f0e7c2 Binary files /dev/null and b/textures/unbreaking_inv_boots_mithril.png differ diff --git a/textures/unbreaking_inv_boots_steel.png b/textures/unbreaking_inv_boots_steel.png new file mode 100644 index 0000000..767d62e Binary files /dev/null and b/textures/unbreaking_inv_boots_steel.png differ diff --git a/textures/unbreaking_inv_boots_wood.png b/textures/unbreaking_inv_boots_wood.png new file mode 100644 index 0000000..632c067 Binary files /dev/null and b/textures/unbreaking_inv_boots_wood.png differ diff --git a/textures/unbreaking_inv_chestplate_bronze.png b/textures/unbreaking_inv_chestplate_bronze.png new file mode 100644 index 0000000..d648cd1 Binary files /dev/null and b/textures/unbreaking_inv_chestplate_bronze.png differ diff --git a/textures/unbreaking_inv_chestplate_cactus.png b/textures/unbreaking_inv_chestplate_cactus.png new file mode 100644 index 0000000..86d2681 Binary files /dev/null and b/textures/unbreaking_inv_chestplate_cactus.png differ diff --git a/textures/unbreaking_inv_chestplate_crystal.png b/textures/unbreaking_inv_chestplate_crystal.png new file mode 100644 index 0000000..01efd6a Binary files /dev/null and b/textures/unbreaking_inv_chestplate_crystal.png differ diff --git a/textures/unbreaking_inv_chestplate_diamond.png b/textures/unbreaking_inv_chestplate_diamond.png new file mode 100644 index 0000000..6c51f21 Binary files /dev/null and b/textures/unbreaking_inv_chestplate_diamond.png differ diff --git a/textures/unbreaking_inv_chestplate_gold.png b/textures/unbreaking_inv_chestplate_gold.png new file mode 100644 index 0000000..0bcee6c Binary files /dev/null and b/textures/unbreaking_inv_chestplate_gold.png differ diff --git a/textures/unbreaking_inv_chestplate_mithril.png b/textures/unbreaking_inv_chestplate_mithril.png new file mode 100644 index 0000000..8e2d2fe Binary files /dev/null and b/textures/unbreaking_inv_chestplate_mithril.png differ diff --git a/textures/unbreaking_inv_chestplate_steel.png b/textures/unbreaking_inv_chestplate_steel.png new file mode 100644 index 0000000..98e840c Binary files /dev/null and b/textures/unbreaking_inv_chestplate_steel.png differ diff --git a/textures/unbreaking_inv_chestplate_wood.png b/textures/unbreaking_inv_chestplate_wood.png new file mode 100644 index 0000000..8eed697 Binary files /dev/null and b/textures/unbreaking_inv_chestplate_wood.png differ diff --git a/textures/unbreaking_inv_helmet_bronze.png b/textures/unbreaking_inv_helmet_bronze.png new file mode 100644 index 0000000..23230d0 Binary files /dev/null and b/textures/unbreaking_inv_helmet_bronze.png differ diff --git a/textures/unbreaking_inv_helmet_cactus.png b/textures/unbreaking_inv_helmet_cactus.png new file mode 100644 index 0000000..596428c Binary files /dev/null and b/textures/unbreaking_inv_helmet_cactus.png differ diff --git a/textures/unbreaking_inv_helmet_crystal.png b/textures/unbreaking_inv_helmet_crystal.png new file mode 100644 index 0000000..2b0cde6 Binary files /dev/null and b/textures/unbreaking_inv_helmet_crystal.png differ diff --git a/textures/unbreaking_inv_helmet_diamond.png b/textures/unbreaking_inv_helmet_diamond.png new file mode 100644 index 0000000..b01eaf8 Binary files /dev/null and b/textures/unbreaking_inv_helmet_diamond.png differ diff --git a/textures/unbreaking_inv_helmet_gold.png b/textures/unbreaking_inv_helmet_gold.png new file mode 100644 index 0000000..736eca9 Binary files /dev/null and b/textures/unbreaking_inv_helmet_gold.png differ diff --git a/textures/unbreaking_inv_helmet_mithril.png b/textures/unbreaking_inv_helmet_mithril.png new file mode 100644 index 0000000..a191978 Binary files /dev/null and b/textures/unbreaking_inv_helmet_mithril.png differ diff --git a/textures/unbreaking_inv_helmet_steel.png b/textures/unbreaking_inv_helmet_steel.png new file mode 100644 index 0000000..496adf3 Binary files /dev/null and b/textures/unbreaking_inv_helmet_steel.png differ diff --git a/textures/unbreaking_inv_helmet_wood.png b/textures/unbreaking_inv_helmet_wood.png new file mode 100644 index 0000000..e7e898b Binary files /dev/null and b/textures/unbreaking_inv_helmet_wood.png differ diff --git a/textures/unbreaking_inv_leggings_bronze.png b/textures/unbreaking_inv_leggings_bronze.png new file mode 100644 index 0000000..3e32d9b Binary files /dev/null and b/textures/unbreaking_inv_leggings_bronze.png differ diff --git a/textures/unbreaking_inv_leggings_cactus.png b/textures/unbreaking_inv_leggings_cactus.png new file mode 100644 index 0000000..c670dda Binary files /dev/null and b/textures/unbreaking_inv_leggings_cactus.png differ diff --git a/textures/unbreaking_inv_leggings_crystal.png b/textures/unbreaking_inv_leggings_crystal.png new file mode 100644 index 0000000..993f327 Binary files /dev/null and b/textures/unbreaking_inv_leggings_crystal.png differ diff --git a/textures/unbreaking_inv_leggings_diamond.png b/textures/unbreaking_inv_leggings_diamond.png new file mode 100644 index 0000000..6165221 Binary files /dev/null and b/textures/unbreaking_inv_leggings_diamond.png differ diff --git a/textures/unbreaking_inv_leggings_gold.png b/textures/unbreaking_inv_leggings_gold.png new file mode 100644 index 0000000..be94092 Binary files /dev/null and b/textures/unbreaking_inv_leggings_gold.png differ diff --git a/textures/unbreaking_inv_leggings_mithril.png b/textures/unbreaking_inv_leggings_mithril.png new file mode 100644 index 0000000..eb51cf1 Binary files /dev/null and b/textures/unbreaking_inv_leggings_mithril.png differ diff --git a/textures/unbreaking_inv_leggings_steel.png b/textures/unbreaking_inv_leggings_steel.png new file mode 100644 index 0000000..fb9f6a2 Binary files /dev/null and b/textures/unbreaking_inv_leggings_steel.png differ diff --git a/textures/unbreaking_inv_leggings_wood.png b/textures/unbreaking_inv_leggings_wood.png new file mode 100644 index 0000000..1373151 Binary files /dev/null and b/textures/unbreaking_inv_leggings_wood.png differ diff --git a/textures/unbreaking_leggings_bronze.png b/textures/unbreaking_leggings_bronze.png new file mode 100644 index 0000000..ccd34ff Binary files /dev/null and b/textures/unbreaking_leggings_bronze.png differ diff --git a/textures/unbreaking_leggings_bronze_preview.png b/textures/unbreaking_leggings_bronze_preview.png new file mode 100644 index 0000000..c214bfd Binary files /dev/null and b/textures/unbreaking_leggings_bronze_preview.png differ diff --git a/textures/unbreaking_leggings_cactus.png b/textures/unbreaking_leggings_cactus.png new file mode 100644 index 0000000..c25288b Binary files /dev/null and b/textures/unbreaking_leggings_cactus.png differ diff --git a/textures/unbreaking_leggings_cactus_preview.png b/textures/unbreaking_leggings_cactus_preview.png new file mode 100644 index 0000000..02fab30 Binary files /dev/null and b/textures/unbreaking_leggings_cactus_preview.png differ diff --git a/textures/unbreaking_leggings_crystal.png b/textures/unbreaking_leggings_crystal.png new file mode 100644 index 0000000..8aa8e7b Binary files /dev/null and b/textures/unbreaking_leggings_crystal.png differ diff --git a/textures/unbreaking_leggings_crystal_preview.png b/textures/unbreaking_leggings_crystal_preview.png new file mode 100644 index 0000000..eb099e9 Binary files /dev/null and b/textures/unbreaking_leggings_crystal_preview.png differ diff --git a/textures/unbreaking_leggings_diamond.png b/textures/unbreaking_leggings_diamond.png new file mode 100644 index 0000000..c13673c Binary files /dev/null and b/textures/unbreaking_leggings_diamond.png differ diff --git a/textures/unbreaking_leggings_diamond_preview.png b/textures/unbreaking_leggings_diamond_preview.png new file mode 100644 index 0000000..07bf7d8 Binary files /dev/null and b/textures/unbreaking_leggings_diamond_preview.png differ diff --git a/textures/unbreaking_leggings_gold.png b/textures/unbreaking_leggings_gold.png new file mode 100644 index 0000000..4c6f311 Binary files /dev/null and b/textures/unbreaking_leggings_gold.png differ diff --git a/textures/unbreaking_leggings_gold_preview.png b/textures/unbreaking_leggings_gold_preview.png new file mode 100644 index 0000000..2af21b5 Binary files /dev/null and b/textures/unbreaking_leggings_gold_preview.png differ diff --git a/textures/unbreaking_leggings_mithril.png b/textures/unbreaking_leggings_mithril.png new file mode 100644 index 0000000..c33e83c Binary files /dev/null and b/textures/unbreaking_leggings_mithril.png differ diff --git a/textures/unbreaking_leggings_mithril_preview.png b/textures/unbreaking_leggings_mithril_preview.png new file mode 100644 index 0000000..c8685d9 Binary files /dev/null and b/textures/unbreaking_leggings_mithril_preview.png differ diff --git a/textures/unbreaking_leggings_steel.png b/textures/unbreaking_leggings_steel.png new file mode 100644 index 0000000..da44676 Binary files /dev/null and b/textures/unbreaking_leggings_steel.png differ diff --git a/textures/unbreaking_leggings_steel_preview.png b/textures/unbreaking_leggings_steel_preview.png new file mode 100644 index 0000000..1fb82a3 Binary files /dev/null and b/textures/unbreaking_leggings_steel_preview.png differ diff --git a/textures/unbreaking_leggings_wood.png b/textures/unbreaking_leggings_wood.png new file mode 100644 index 0000000..fd15939 Binary files /dev/null and b/textures/unbreaking_leggings_wood.png differ diff --git a/textures/unbreaking_leggings_wood_preview.png b/textures/unbreaking_leggings_wood_preview.png new file mode 100644 index 0000000..a6368e2 Binary files /dev/null and b/textures/unbreaking_leggings_wood_preview.png differ diff --git a/tools.lua b/tools.lua index a361488..763f027 100644 --- a/tools.lua +++ b/tools.lua @@ -1173,7 +1173,7 @@ if unbreaking_hoe then _tt_help = hoe_tt.."\n"..S("Uses: Infinite"), _doc_items_longdesc = hoe_longdesc, _doc_items_usagehelp = hoe_usagehelp, - inventory_image = "unbreaking_tool_goldhoe.png", + inventory_image = "farming_tool_goldhoe.png", wield_scale = wield_scale, on_place = hoe_on_place_function2(0), groups = { tool=1, hoe=1, enchantability=22 }, @@ -1199,7 +1199,7 @@ if unbreaking_hoe then _tt_help = hoe_tt.."\n"..S("Uses: Infinite"), _doc_items_longdesc = hoe_longdesc, _doc_items_usagehelp = hoe_usagehelp, - inventory_image = "unbreaking_tool_diamondhoe.png", + inventory_image = "farming_tool_diamondhoe.png", wield_scale = wield_scale, on_place = hoe_on_place_function2(0), groups = { tool=1, hoe=1, enchantability=10 },