mirror of
https://github.com/2006Scape-Scripts/ParaScript.git
synced 2026-07-02 16:49:02 +00:00
add comments
This commit is contained in:
Generated
+1
-3
@@ -3,10 +3,8 @@
|
|||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="3ab8e8a0-ccfd-4b0b-9547-98173085dc38" name="Default Changelist" comment="">
|
<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$/.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/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/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/PickupItems.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/ParaScript/strategies/PickupItems.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>
|
</list>
|
||||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
|
|||||||
@@ -42,6 +42,6 @@ public class BuryBones implements Strategy {
|
|||||||
|
|
||||||
private boolean hasBones(){
|
private boolean hasBones(){
|
||||||
// Make sure we have bones
|
// 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[]{};
|
int[] itemIDs = new int[]{};
|
||||||
if (Variables.skill_to_train == Skill.ATTACK){
|
if (Variables.skill_to_train == Skill.ATTACK){
|
||||||
if (Variables.fighting_bury_bones)
|
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);
|
itemIDs = Methods.combineIntArrays(Variables.fighting_item_ids, itemIDs);
|
||||||
return GroundItems.getNearest(itemIDs);
|
return GroundItems.getNearest(itemIDs);
|
||||||
|
|||||||
Reference in New Issue
Block a user