Replaced Cow Killer Banking Script With Cow Killer Bone Burying Script

We don't have the command to teleport to home anymore
This commit is contained in:
Dark98
2023-02-13 03:29:16 +00:00
parent 88ce4fca9b
commit 90b440938f
3 changed files with 31 additions and 45 deletions
@@ -2,7 +2,7 @@ package scriptfactory.AdvancedGui.ScriptFactorySDN;
import org.parabot.core.desc.ScriptDescription;
import org.parabot.environment.scripts.Category;
import scriptfactory.AdvancedGui.ScriptFactorySDN.Scripts.Combat.CowkillerBanking;
import scriptfactory.AdvancedGui.ScriptFactorySDN.Scripts.Combat.CowkillerBones;
import scriptfactory.AdvancedGui.ScriptFactorySDN.Scripts.Combat.CowkillerPower;
import scriptfactory.AdvancedGui.ScriptFactorySDN.Scripts.Deps.Walktocows;
import scriptfactory.AdvancedGui.ScriptFactorySDN.Scripts.Thieving.ArdyCakesBanking;
@@ -27,8 +27,8 @@ public class ScriptFactoryScript extends ScriptDescription {
public static ScriptFactoryScript[] getDescriptions() {
return new ScriptFactoryScript[]{
//Scripts
new ArdyCakesBanking(),
new CowkillerBanking(),
new ArdyCakesBanking(), //TODO Untested?
new CowkillerBones(),
new CowkillerPower(),
//Deps
@@ -1,42 +0,0 @@
package scriptfactory.AdvancedGui.ScriptFactorySDN.Scripts.Combat;
import scriptfactory.AdvancedGui.ScriptFactorySDN.ScriptFactoryScript;
import org.parabot.environment.scripts.Category;
public class CowkillerBanking extends ScriptFactoryScript {
public CowkillerBanking() {
super(
"Cow killer (with banking)",
"Red Bracket",
Category.COMBAT,
1.2,
"Kills Cows In Lumbridge And Banks In The Castle \n Can Be Started Anywhere",
"IfNot In-Combat()\n" +
"If Entity-is-around(81,397,1767,1768)\n" +
"Take-Ground-item(2132)\n" +
"Take-Ground-item(526)\n" +
"Take-Ground-item(1739)\n" +
"If Inventory-slots-used(28)\n" +
"Run-subscript(Openlummybank)\n" +
"Bank-all-except-IDs()\n" +
"IfNot Inventory-slots-used(28)\n" +
"Run-subscript(Walktocows)\n" +
"Endif\n" +
"Endif\n" +
"Interact-with-entity-by-ID(81,397,1767,1768,1)\n" +
"Sleep(600)\n" +
"Endif\n" +
"IfNot Entity-is-around(81,397,1767,1768)\n" +
"If Inventory-slots-used(28)\n" +
"Run-subscript(Openlummybank)\n" +
"Bank-all-except-IDs()\n" +
"IfNot Inventory-slots-used(28)\n" +
"Run-subscript(Walktocows)\n" +
"Endif\n" +
"Endif\n" +
"Endif\n" +
"Endif\n",
new String[]{"Walktocows", "Openlummybank"}
);
}
}
@@ -0,0 +1,28 @@
package scriptfactory.AdvancedGui.ScriptFactorySDN.Scripts.Combat;
import org.parabot.environment.scripts.Category;
import scriptfactory.AdvancedGui.ScriptFactorySDN.ScriptFactoryScript;
public class CowkillerBones extends ScriptFactoryScript {
public CowkillerBones() {
super(
"Cow killer (with bone burying)",
"Dark98",
Category.COMBAT,
1.0,
"Kills Cows And Buries The Bones \n Start Near Cows.",
"IfNot In-Combat()\n" +
"If Entity-is-around(81,397,1767,1768)\n" +
"Take-Ground-item(526)\n" +
"Sleep(600)\n" +
"If Item-is-in-Inventory(527,1)\n" +
"Inventory-item-interact(527,2)\n" +
"Endif\n" +
"Interact-with-entity-by-ID(81,397,1767,1768,1)\n" +
"Sleep(600)\n" +
"Endif\n" +
"Endif",
new String[]{}
);
}
}