Browse Source

Add item weights for armor and tools in the default file

TfT_02 12 years ago
parent
commit
8a0b1d548d

+ 0 - 1
src/main/java/com/gmail/nossr50/config/Config.java

@@ -288,7 +288,6 @@ public class Config extends AutoUpdateConfigLoader {
     public double getAnimalsXP() { return config.getDouble("Experience.Combat.Multiplier.Animals", 1.0); }
     public double getWitherSkeletonXP() { return config.getDouble("Experience.Combat.Multiplier.Wither_Skeleton", 4.0); }
 
-
     /* XP Formula Multiplier */
     public int getFormulaMultiplierCurve() { return config.getInt("Experience.Formula.Curve_Modifier", 20); }
     public double getForumulaMultiplier(SkillType skill) { return config.getDouble("Experience.Formula.Modifier." + StringUtils.getCapitalized(skill.toString())); }

+ 26 - 0
src/main/resources/itemweights.yml

@@ -25,6 +25,32 @@ Item_Weights:
     Coal: 10
     Coal_Ore: 10
 
+    # Item weights for armor and tools
+    Diamond_Sword: 150
+    Diamond_Spade: 150
+    Diamond_Pickaxe: 150
+    Diamond_Axe: 150
+    Diamond_Helmet: 150
+    Diamond_Chestplate: 150
+    Diamond_Leggings: 150
+    Diamond_Boots: 150
+    Gold_Sword: 75
+    Gold_Spade: 75
+    Gold_Pickaxe: 75
+    Gold_Axe: 75
+    Gold_Helmet: 75
+    Gold_Chestplate: 75
+    Gold_Leggings: 75
+    Gold_Boots: 75
+    Iron_Sword: 60
+    Iron_Spade: 60
+    Iron_Pickaxe: 60
+    Iron_Axe: 60
+    Iron_Helmet: 60
+    Iron_Chestplate: 60
+    Iron_Leggings: 60
+    Iron_Boots: 60
+
 # Items in this section will get added to the Misc share category.
 # Case insensitive, though the name must be exactly the same as set in the Bukkit Material enum.
 Party_Shareables: