Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(dialogues.isPendingContinuation()) {
- dialogues.clickContinue();
- sleep(random(200, 600));
- } else if(dialogues.isPendingOption()) {
- dialogues.selectOption("Can I journey on this ship?");
- sleep(random(200, 600));
- } else if(dialogues.isPendingOption()) {
- dialogues.selectOption("Search away, I have nothing to hide.");
- sleep(random(200, 600));
- } else if(dialogues.isPendingOption()) {
- dialogues.selectOption("Ok.");
- sleep(random(200, 600));
- } else {
- Entity sailor = npcs.closest("Seaman Thresnor", "Seaman Lorris", "Captain Tobias");
- if (sailor!= null) {
- sailor.interact("Pay-fare");
- } else {
- log("Sailor is null");
- }
- }
- sleep(random(200, 600));
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement