/* SevTech: Ages Durability Modification Script This script allows for the modification of an ItemStack's durability. Note: These scripts are created and for the usage in SevTech: Ages and other modpacks curated by DarkPacks. You can use these scripts for reference and for learning but not for copying and pasting and claiming as your own. */ import crafttweaker.item.IItemStack; static durabilityMap as int[IItemStack] = { : 25, : 135, // Bone Tools : 195, : 195, : 195, : 195, : 195, // Flint Tools : 140, : 140, : 140, : 100, // Wooden Tools : 70, : 70, : 70, : 70, : 70, // Stone Tools : 225, : 225, : 225, : 225, : 225, // Gold Tools : 72, : 72, : 72, : 72, : 72, // Gold Armor : 100, : 165, : 155, : 95, // Tin // Now for any mod that can provide these tools. GOD DAMNIT // pickaxe_tin>: 240, // axe_tin>: 240, // shovel_tin>: 240, // sword_tin>: 240, // hoe_tin>: 240, // Copper Tools // Same as tin. If we can get a mod that adds these tools use the values for them. // pickaxe_copper>: 340, // axe_copper>: 340, // shovel_copper>: 340, // hoe_copper>: 340, // sword_copper>: 340, // Copper Armor : 200, : 375, : 350, : 175, // Bronze Armor : 275, : 450, : 425, : 250, // Iron Tools : 450, : 450, : 450, : 450, : 450, // Iron Armor : 275, : 450, : 425, : 250, : 115, : 165, : 155, : 105, : 275, : 275, : 275, : 275, : 275, // Armor : 140, : 168, : 160, : 140, : 75, : 100, : 95, : 75, : 170, : 650, : 825, : 1350, : 1275, : 750, : 1000, : 1500, : 1450, : 950, // Actually Additions : 396, : 576, : 540, : 468, : 396, : 576, : 540, : 468, : 770, : 1120, : 1050, : 910, : 264, : 384, : 360, : 312, : 1320, : 1920, : 1800, : 1560, : 396, : 576, : 540, : 468, // Better Builder Wands : 650, : 1000, : 3500, // Chisel : 1500, : 6500, : 12500, : 64, // Dog Boots : 260, : 1250 }; function init() { for item, durability in durabilityMap { item.maxDamage = durability; } }