add comments

This commit is contained in:
RedSparr0w
2019-10-21 12:37:01 +13:00
parent 861d24c8a5
commit 15dd899096
3 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -3,10 +3,8 @@
<component name="ChangeListManager">
<list default="true" id="3ab8e8a0-ccfd-4b0b-9547-98173085dc38" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/ParaScript/Methods.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/ParaScript/Methods.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/ParaScript/data/Variables.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/ParaScript/data/Variables.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/ParaScript/strategies/BuryBones.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/ParaScript/strategies/BuryBones.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/ParaScript/strategies/PickupItems.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/ParaScript/strategies/PickupItems.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/ParaScript/ui/UI.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/ParaScript/ui/UI.java" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
@@ -42,6 +42,6 @@ public class BuryBones implements Strategy {
private boolean hasBones(){
// Make sure we have bones
return Inventory.getItem(527) != null;
return Inventory.getItem(527) != null; // TODO: need to add the other bones too
}
}
@@ -50,7 +50,7 @@ public class PickupItems implements Strategy {
int[] itemIDs = new int[]{};
if (Variables.skill_to_train == Skill.ATTACK){
if (Variables.fighting_bury_bones)
itemIDs = new int[]{526};
itemIDs = new int[]{526}; // TODO: need to add all the other bones
}
itemIDs = Methods.combineIntArrays(Variables.fighting_item_ids, itemIDs);
return GroundItems.getNearest(itemIDs);