Added Texture outline

All armor and tools will use these textures instead of their
originals.
This commit is contained in:
david 2021-07-01 15:39:28 -04:00
parent eaa1280acc
commit 147dd37726
98 changed files with 49 additions and 45 deletions

View File

@ -56,7 +56,7 @@ if mcl2 then
description = S(def.description .. " " .. (descriptions[name] or element.description)), description = S(def.description .. " " .. (descriptions[name] or element.description)),
_doc_items_longdesc = mcl_armor2.longdesc, _doc_items_longdesc = mcl_armor2.longdesc,
_doc_items_usagehelp = mcl_armor2.usage, _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, --_repair_material = def.repair_material or def.craft_material,
groups = groups, groups = groups,
sounds = { sounds = {
@ -69,8 +69,8 @@ if mcl2 then
_on_unequip = on_unequip_callbacks[name] or def.on_unequip, _on_unequip = on_unequip_callbacks[name] or def.on_unequip,
_on_break = on_break_callbacks[name] or def.on_break, _on_break = on_break_callbacks[name] or def.on_break,
_mcl_armor_element = name, _mcl_armor_element = name,
_mcl_armor_texture = textures[name] or "mcl_armor" .. "_" .. itemname .. ".png", _mcl_armor_texture = textures[name] or "unbreaking" .. "_" .. itemname .. ".png",
_mcl_armor_preview = previews[name] or "mcl_armor" .. "_" .. itemname .. "_preview.png", _mcl_armor_preview = previews[name] or "unbreaking" .. "_" .. itemname .. "_preview.png",
}) })
if def.craft_material then if def.craft_material then
@ -98,73 +98,77 @@ end
if mt_g then if mt_g then
--local armor = armor:armor or error("[unbreaking] Failed to obtain API from 3d_armor!") --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 -- Wood
if armor.config.material_wood then if armor.materials.wood then
armor:register_armor(":unbreaking:helmet_wood", { armor:register_armor(":unbreaking:helmet_wood", {
description = S("Unbreakable Wood Helmet"), 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}, groups = {armor_head=1, armor_heal=0, armor_use=unbreaking_uses, flammable=1},
armor_groups = {fleshy=5}, armor_groups = {fleshy=5},
damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1},
}) })
armor:register_armor(":unbreaking:chestplate_wood", { armor:register_armor(":unbreaking:chestplate_wood", {
description = S("Unbreakable Wood Chestplate"), 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}, groups = {armor_torso=1, armor_heal=0, armor_use=unbreaking_uses, flammable=1},
armor_groups = {fleshy=10}, armor_groups = {fleshy=10},
damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1},
}) })
armor:register_armor(":unbreaking:leggings_wood", { armor:register_armor(":unbreaking:leggings_wood", {
description = S("Unbreakable Wood Leggings"), 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}, groups = {armor_legs=1, armor_heal=0, armor_use=unbreaking_uses, flammable=1},
armor_groups = {fleshy=10}, armor_groups = {fleshy=10},
damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1},
}) })
armor:register_armor(":unbreaking:boots_wood", { armor:register_armor(":unbreaking:boots_wood", {
description = S("Unbreakable Wood Boots"), description = S("Unbreakable Wood Boots"),
inventory_image = "3d_armor_inv_boots_wood.png", inventory_image = "unbreaking_inv_boots_wood.png",
armor_groups = {fleshy=5}, armor_groups = {fleshy=5},
damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, 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}, groups = {armor_feet=1, armor_heal=0, armor_use=unbreaking_uses, flammable=1},
}) })
end end
-- Cactus -- Cactus
if armor.config.material_cactus then if armor.materials.cactus then
armor:register_armor(":unbreaking:helmet_cactus", { armor:register_armor(":unbreaking:helmet_cactus", {
description = S("Unbreakable Cactus Helmet"), 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}, groups = {armor_head=1, armor_heal=0, armor_use=unbreaking_uses},
armor_groups = {fleshy=5}, armor_groups = {fleshy=5},
damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1},
}) })
armor:register_armor(":unbreaking:chestplate_cactus", { armor:register_armor(":unbreaking:chestplate_cactus", {
description = S("Unbreakable Cactus Chestplate"), 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}, groups = {armor_torso=1, armor_heal=0, armor_use=unbreaking_uses},
armor_groups = {fleshy=10}, armor_groups = {fleshy=10},
damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1},
}) })
armor:register_armor(":unbreakable:leggings_cactus", { armor:register_armor(":unbreakable:leggings_cactus", {
description = S("Unbreakable Cactus Leggings"), 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}, groups = {armor_legs=1, armor_heal=0, armor_use=unbreaking_uses},
armor_groups = {fleshy=10}, armor_groups = {fleshy=10},
damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1},
}) })
armor:register_armor(":unbreakable:boots_cactus", { armor:register_armor(":unbreakable:boots_cactus", {
description = S("Unbreakable Cactus Boots"), 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}, groups = {armor_feet=1, armor_heal=0, armor_use=unbreaking_uses},
armor_groups = {fleshy=5}, armor_groups = {fleshy=5},
damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1},
}) })
end end
-- Steel -- Steel
if armor.config.material_steel then if armor.materials.steel then
armor:register_armor(":unbreaking:helmet_steel", { armor:register_armor(":unbreaking:helmet_steel", {
description = S("Unbreakable Steel Helmet"), 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, groups = {armor_head=1, armor_heal=0, armor_use=unbreaking_uses,
physics_speed=-0.01, physics_gravity=0.01}, physics_speed=-0.01, physics_gravity=0.01},
armor_groups = {fleshy=10}, armor_groups = {fleshy=10},
@ -172,7 +176,7 @@ if mt_g then
}) })
armor:register_armor(":unbreaking:chestplate_steel", { armor:register_armor(":unbreaking:chestplate_steel", {
description = S("Unbreakable Steel Chestplate"), 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, groups = {armor_torso=1, armor_heal=0, armor_use=unbreaking_uses,
physics_speed=-0.04, physics_gravity=0.04}, physics_speed=-0.04, physics_gravity=0.04},
armor_groups = {fleshy=15}, armor_groups = {fleshy=15},
@ -180,7 +184,7 @@ if mt_g then
}) })
armor:register_armor(":unbreaking:leggings_steel", { armor:register_armor(":unbreaking:leggings_steel", {
description = S("Unbreakable Steel Leggings"), 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, groups = {armor_legs=1, armor_heal=0, armor_use=unbreaking_uses,
physics_speed=-0.03, physics_gravity=0.03}, physics_speed=-0.03, physics_gravity=0.03},
armor_groups = {fleshy=15}, armor_groups = {fleshy=15},
@ -188,7 +192,7 @@ if mt_g then
}) })
armor:register_armor(":unbreaking:boots_steel", { armor:register_armor(":unbreaking:boots_steel", {
description = S("Unbreakable Steel Boots"), 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, groups = {armor_feet=1, armor_heal=0, armor_use=unbreaking_uses,
physics_speed=-0.01, physics_gravity=0.01}, physics_speed=-0.01, physics_gravity=0.01},
armor_groups = {fleshy=10}, armor_groups = {fleshy=10},
@ -196,10 +200,10 @@ if mt_g then
}) })
end end
-- Bronze -- Bronze
if armor.config.material_bronze then if armor.materials.bronze then
armor:register_armor(":unbreaking:helmet_bronze", { armor:register_armor(":unbreaking:helmet_bronze", {
description = S("Unbreakable Bronze Helmet"), 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, groups = {armor_head=1, armor_heal=6, armor_use=unbreaking_uses,
physics_speed=-0.01, physics_gravity=0.01}, physics_speed=-0.01, physics_gravity=0.01},
armor_groups = {fleshy=10}, armor_groups = {fleshy=10},
@ -207,7 +211,7 @@ if mt_g then
}) })
armor:register_armor(":unbreaking:chestplate_bronze", { armor:register_armor(":unbreaking:chestplate_bronze", {
description = S("Unbreakable Bronze Chestplate"), 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, groups = {armor_torso=1, armor_heal=6, armor_use=unbreaking_uses,
physics_speed=-0.04, physics_gravity=0.04}, physics_speed=-0.04, physics_gravity=0.04},
armor_groups = {fleshy=15}, armor_groups = {fleshy=15},
@ -215,7 +219,7 @@ if mt_g then
}) })
armor:register_armor(":unbreaking:leggings_bronze", { armor:register_armor(":unbreaking:leggings_bronze", {
description = S("Unbreakable Bronze Leggings"), 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, groups = {armor_legs=1, armor_heal=6, armor_use=unbreaking_uses,
physics_speed=-0.03, physics_gravity=0.03}, physics_speed=-0.03, physics_gravity=0.03},
armor_groups = {fleshy=15}, armor_groups = {fleshy=15},
@ -223,7 +227,7 @@ if mt_g then
}) })
armor:register_armor(":unbreaking:boots_bronze", { armor:register_armor(":unbreaking:boots_bronze", {
description = S("Unbreakable Bronze Boots"), 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, groups = {armor_feet=1, armor_heal=6, armor_use=unbreaking_uses,
physics_speed=-0.01, physics_gravity=0.01}, physics_speed=-0.01, physics_gravity=0.01},
armor_groups = {fleshy=10}, armor_groups = {fleshy=10},
@ -231,41 +235,41 @@ if mt_g then
}) })
end end
-- Diamond -- Diamond
if armor.config.material_diamond then if armor.materials.diamond then
armor:register_armor(":unbreaking:helmet_diamond", { armor:register_armor(":unbreaking:helmet_diamond", {
description = S("Unbreakable Diamond Helmet"), 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}, groups = {armor_head=1, armor_heal=12, armor_use=unbreaking_uses},
armor_groups = {fleshy=15}, armor_groups = {fleshy=15},
damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, damage_groups = {cracky=2, snappy=1, choppy=1, level=3},
}) })
armor:register_armor(":unbreaking:chestplate_diamond", { armor:register_armor(":unbreaking:chestplate_diamond", {
description = S("Unbreakable Diamond Chestplate"), 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}, groups = {armor_torso=1, armor_heal=12, armor_use=unbreaking_uses},
armor_groups = {fleshy=20}, armor_groups = {fleshy=20},
damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, damage_groups = {cracky=2, snappy=1, choppy=1, level=3},
}) })
armor:register_armor(":unbreaking:leggings_diamond", { armor:register_armor(":unbreaking:leggings_diamond", {
description = S("Unbreakable Diamond Leggings"), 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}, groups = {armor_legs=1, armor_heal=12, armor_use=unbreaking_uses},
armor_groups = {fleshy=20}, armor_groups = {fleshy=20},
damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, damage_groups = {cracky=2, snappy=1, choppy=1, level=3},
}) })
armor:register_armor(":unbreaking:boots_diamond", { armor:register_armor(":unbreaking:boots_diamond", {
description = S("Unbreakable Diamond Boots"), 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}, groups = {armor_feet=1, armor_heal=12, armor_use=unbreaking_uses},
armor_groups = {fleshy=15}, armor_groups = {fleshy=15},
damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, damage_groups = {cracky=2, snappy=1, choppy=1, level=3},
}) })
end end
-- Gold -- Gold
if armor.config.material_gold then if armor.materials.gold then
armor:register_armor(":unbreaking:helmet_gold", { armor:register_armor(":unbreaking:helmet_gold", {
description = S("Unbreakable Gold Helmet"), 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, groups = {armor_head=1, armor_heal=6, armor_use=unbreaking_uses,
physics_speed=-0.02, physics_gravity=0.02}, physics_speed=-0.02, physics_gravity=0.02},
armor_groups = {fleshy=10}, armor_groups = {fleshy=10},
@ -273,7 +277,7 @@ if mt_g then
}) })
armor:register_armor(":unbreaking:chestplate_gold", { armor:register_armor(":unbreaking:chestplate_gold", {
description = S("Unbreakable Gold Chestplate"), 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, groups = {armor_torso=1, armor_heal=6, armor_use=unbreaking_uses,
physics_speed=-0.05, physics_gravity=0.05}, physics_speed=-0.05, physics_gravity=0.05},
armor_groups = {fleshy=15}, armor_groups = {fleshy=15},
@ -281,7 +285,7 @@ if mt_g then
}) })
armor:register_armor(":unbreaking:leggings_gold", { armor:register_armor(":unbreaking:leggings_gold", {
description = S("Unbreakable Gold Leggings"), 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, groups = {armor_legs=1, armor_heal=6, armor_use=unbreaking_uses,
physics_speed=-0.04, physics_gravity=0.04}, physics_speed=-0.04, physics_gravity=0.04},
armor_groups = {fleshy=15}, armor_groups = {fleshy=15},
@ -289,7 +293,7 @@ if mt_g then
}) })
armor:register_armor(":unbreaking:boots_gold", { armor:register_armor(":unbreaking:boots_gold", {
description = S("Unbreakable Gold Boots"), 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, groups = {armor_feet=1, armor_heal=6, armor_use=unbreaking_uses,
physics_speed=-0.02, physics_gravity=0.02}, physics_speed=-0.02, physics_gravity=0.02},
armor_groups = {fleshy=10}, armor_groups = {fleshy=10},
@ -297,62 +301,62 @@ if mt_g then
}) })
end end
-- Mithril -- Mithril
if armor.config.material_mithril then if armor.materials.mithril then
armor:register_armor(":unbreaking:helmet_mithril", { armor:register_armor(":unbreaking:helmet_mithril", {
description = S("Unbreakable Mithril Helmet"), 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}, groups = {armor_head=1, armor_heal=12, armor_use=unbreaking_uses},
armor_groups = {fleshy=15}, armor_groups = {fleshy=15},
damage_groups = {cracky=2, snappy=1, level=3}, damage_groups = {cracky=2, snappy=1, level=3},
}) })
armor:register_armor(":unbreaking:chestplate_mithril", { armor:register_armor(":unbreaking:chestplate_mithril", {
description = S("Unbreakable Mithril Chestplate"), 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}, groups = {armor_torso=1, armor_heal=12, armor_use=unbreaking_uses},
armor_groups = {fleshy=20}, armor_groups = {fleshy=20},
damage_groups = {cracky=2, snappy=1, level=3}, damage_groups = {cracky=2, snappy=1, level=3},
}) })
armor:register_armor(":unbreaking:leggings_mithril", { armor:register_armor(":unbreaking:leggings_mithril", {
description = S("Unbreakable Mithril Leggings"), 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}, groups = {armor_legs=1, armor_heal=12, armor_use=unbreaking_uses},
armor_groups = {fleshy=20}, armor_groups = {fleshy=20},
damage_groups = {cracky=2, snappy=1, level=3}, damage_groups = {cracky=2, snappy=1, level=3},
}) })
armor:register_armor(":unbreaking:boots_mithril", { armor:register_armor(":unbreaking:boots_mithril", {
description = S("Unbreakable Mithril Boots"), 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}, groups = {armor_feet=1, armor_heal=12, armor_use=unbreaking_uses},
armor_groups = {fleshy=15}, armor_groups = {fleshy=15},
damage_groups = {cracky=2, snappy=1, level=3}, damage_groups = {cracky=2, snappy=1, level=3},
}) })
end end
-- Crystal -- Crystal
if armor.config.material_crystal then if armor.materials.crystal then
armor:register_armor(":unbreaking:helmet_crystal", { armor:register_armor(":unbreaking:helmet_crystal", {
description = S("Unbreakable Crystal Helmet"), 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}, groups = {armor_head=1, armor_heal=12, armor_use=unbreaking_uses, armor_fire=1},
armor_groups = {fleshy=15}, armor_groups = {fleshy=15},
damage_groups = {cracky=2, snappy=1, level=3}, damage_groups = {cracky=2, snappy=1, level=3},
}) })
armor:register_armor(":unbreaking:chestplate_crystal", { armor:register_armor(":unbreaking:chestplate_crystal", {
description = S("Unbreakable Crystal Chestplate"), 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}, groups = {armor_torso=1, armor_heal=12, armor_use=unbreaking_uses, armor_fire=1},
armor_groups = {fleshy=20}, armor_groups = {fleshy=20},
damage_groups = {cracky=2, snappy=1, level=3}, damage_groups = {cracky=2, snappy=1, level=3},
}) })
armor:register_armor(":unbreaking:leggings_crystal", { armor:register_armor(":unbreaking:leggings_crystal", {
description = S("Unbreakable Crystal Leggings"), 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}, groups = {armor_legs=1, armor_heal=12, armor_use=unbreaking_uses, armor_fire=1},
armor_groups = {fleshy=20}, armor_groups = {fleshy=20},
damage_groups = {cracky=2, snappy=1, level=3}, damage_groups = {cracky=2, snappy=1, level=3},
}) })
armor:register_armor(":unbreaking:boots_crystal", { armor:register_armor(":unbreaking:boots_crystal", {
description = S("Unbreakable Crystal Boots"), 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, groups = {armor_feet=1, armor_heal=12, armor_use=unbreaking_uses, physics_speed=1,
physics_jump=0.5, armor_fire=1}, physics_jump=0.5, armor_fire=1},
armor_groups = {fleshy=15}, armor_groups = {fleshy=15},

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 536 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 505 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 513 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

View File

@ -1173,7 +1173,7 @@ if unbreaking_hoe then
_tt_help = hoe_tt.."\n"..S("Uses: Infinite"), _tt_help = hoe_tt.."\n"..S("Uses: Infinite"),
_doc_items_longdesc = hoe_longdesc, _doc_items_longdesc = hoe_longdesc,
_doc_items_usagehelp = hoe_usagehelp, _doc_items_usagehelp = hoe_usagehelp,
inventory_image = "unbreaking_tool_goldhoe.png", inventory_image = "farming_tool_goldhoe.png",
wield_scale = wield_scale, wield_scale = wield_scale,
on_place = hoe_on_place_function2(0), on_place = hoe_on_place_function2(0),
groups = { tool=1, hoe=1, enchantability=22 }, groups = { tool=1, hoe=1, enchantability=22 },
@ -1199,7 +1199,7 @@ if unbreaking_hoe then
_tt_help = hoe_tt.."\n"..S("Uses: Infinite"), _tt_help = hoe_tt.."\n"..S("Uses: Infinite"),
_doc_items_longdesc = hoe_longdesc, _doc_items_longdesc = hoe_longdesc,
_doc_items_usagehelp = hoe_usagehelp, _doc_items_usagehelp = hoe_usagehelp,
inventory_image = "unbreaking_tool_diamondhoe.png", inventory_image = "farming_tool_diamondhoe.png",
wield_scale = wield_scale, wield_scale = wield_scale,
on_place = hoe_on_place_function2(0), on_place = hoe_on_place_function2(0),
groups = { tool=1, hoe=1, enchantability=10 }, groups = { tool=1, hoe=1, enchantability=10 },