Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new AryanLineTwoWayObject(ECTOFUNGUS_PRISON_PETE, BRAINDEATH_ISLAND_PRISON_PETE, new int[] {
- 2825, -20, 20, -20, 20, 0, 120, 1, 1, 0
- }, new int[] {
- 2826, -20, 20, -20, 20, 0, 120, 1, 1, 0
- }, "Talk", "Prison pete") {
- @Override
- public boolean secondaryTimeActionAToB(ColorSkeltonScriptable cs) throws InterruptedException, AryanWebReCalc,
- AryanWebChanged {
- NPCChat chat = cs.theNPCChatFinder.getNPCChat(0);
- if (chat != null && (chat.selectContains("click here") || chat.selectContains("okay") || chat.selectContains("braindeath"))) {
- cs.waitTillNPCChatChangesFrom(chat);
- return true;
- }
- return super.secondaryTimeActionAToB(cs);
- }
- @Override
- public boolean secondaryTimeActionBToA(ColorSkeltonScriptable cs) throws InterruptedException, AryanWebReCalc,
- AryanWebChanged {
- NPCChat chat = cs.theNPCChatFinder.getNPCChat(0);
- if (chat != null && (chat.selectContains("click here") || chat.selectContains("okay"))) {
- cs.waitTillNPCChatChangesFrom(chat);
- return true;
- }
- return super.secondaryTimeActionBToB(cs);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement