Browse Source

Updated to the new format!

TfT_02 11 years ago
parent
commit
0a05ed98d0
1 changed files with 19 additions and 20 deletions
  1. 19 20
      extras/repair.chain.yml

+ 19 - 20
extras/repair.chain.yml

@@ -1,11 +1,11 @@
 #
 #
+#  Repair configuration
+#  Last updated on ${project.version}-b${BUILD_NUMBER}
+#
 # Any file named repair.*.yml in the mcmmmo folder will be loaded as a repair config
 # Any file named repair.*.yml in the mcmmmo folder will be loaded as a repair config
 # All repair configs have a main section titled "Repairables"
 # All repair configs have a main section titled "Repairables"
-# Afterwards, all sub-items are considered a Repairable to be loaded
-# The bare minimum of a Repairable is that it have an ItemId, a RepairMaterialId, and a MaximumDurability
-#
-# ItemId: This is the id of the item to be repairable.
-## This is required to be set.
+# Afterwards, all sub-items are considered a Repairable to be loaded. The names of each subitem should be the exact material name.
+# The bare minimum of a Repairable is that it have a RepairMaterial and a MaximumDurability
 #
 #
 # ItemType: This is the type of item to be repaired, this is only important to permissions.
 # ItemType: This is the type of item to be repaired, this is only important to permissions.
 ## Valid values are ARMOR, TOOL, and OTHER.
 ## Valid values are ARMOR, TOOL, and OTHER.
@@ -15,7 +15,7 @@
 ## Valid values are STRING, LEATHER, WOOD, STONE, IRON, GOLD, DIAMOND, and OTHER
 ## Valid values are STRING, LEATHER, WOOD, STONE, IRON, GOLD, DIAMOND, and OTHER
 ## This defaults to OTHER.
 ## This defaults to OTHER.
 #
 #
-# RepairMaterialId: This is the id of the item used to repair this repairable.
+# RepairMaterial: This is the material name of the item used to repair this repairable.
 ## This is required to be set.
 ## This is required to be set.
 #
 #
 # RepairMaterialMetadata: This is the metadata of the item used to repair this repairable.
 # RepairMaterialMetadata: This is the metadata of the item used to repair this repairable.
@@ -26,7 +26,7 @@
 ## This is required to be set.
 ## This is required to be set.
 #
 #
 # MinimumLevel: This is the minimum repair level needed to repair this item.
 # MinimumLevel: This is the minimum repair level needed to repair this item.
-## Valid values are > 0
+## Valid values are => 0
 ## This defaults to 0
 ## This defaults to 0
 #
 #
 # MinimumQuantity: This is the minimum number of items needed to repair this item ignoring all other repair bonuses.
 # MinimumQuantity: This is the minimum number of items needed to repair this item ignoring all other repair bonuses.
@@ -42,32 +42,31 @@
 #
 #
 ###
 ###
 Repairables:
 Repairables:
-    ChainHelmet:
-        ItemId: 302
+    #
+    # Chainmail repairables
+    ###
+    # Armor
+    CHAINMAIL_HELMET:
         ItemType: ARMOR
         ItemType: ARMOR
-        RepairMaterialId: 51
+        RepairMaterial: FIRE
         MaximumDurability: 165
         MaximumDurability: 165
         MinimumQuantity: 5
         MinimumQuantity: 5
         XpMultiplier: 2
         XpMultiplier: 2
-    ChainChest:
-        ItemId: 303
+    CHAINMAIL_CHESTPLATE:
         ItemType: ARMOR
         ItemType: ARMOR
-        RepairMaterialId: 51
+        RepairMaterial: FIRE
         MaximumDurability: 240
         MaximumDurability: 240
         MinimumQuantity: 8
         MinimumQuantity: 8
         XpMultiplier: 2
         XpMultiplier: 2
-    ChainLegs:
-        ItemId: 304
+    CHAINMAIL_LEGGINGS:
         ItemType: ARMOR
         ItemType: ARMOR
-        RepairMaterialId: 51
+        RepairMaterial: FIRE
         MaximumDurability: 225
         MaximumDurability: 225
         MinimumQuantity: 7
         MinimumQuantity: 7
         XpMultiplier: 2
         XpMultiplier: 2
-    ChainBoots:
-        ItemId: 305
+    CHAINMAIL_BOOTS:
         ItemType: ARMOR
         ItemType: ARMOR
-        RepairMaterialId: 51
-        RepairMaterialMetadata: -1
+        RepairMaterial: FIRE
         MaximumDurability: 195
         MaximumDurability: 195
         MinimumQuantity: 4
         MinimumQuantity: 4
         XpMultiplier: 2
         XpMultiplier: 2