SHARE
TWEET

Untitled

a guest Jul 19th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package gg.rsmod.plugins.content.areas.varrock.chat
  2.  
  3. on_npc_option(npc = Npcs.GYPSY, option = "talk-to") {
  4.     player.queue { dialog(this) }
  5. }
  6.  
  7. suspend fun dialog(it: QueueTask) {
  8.     when (it.options("The Demon Slayer Quest", "The Recipe For Disaster Quest")) {
  9.         1 -> {
  10.             it.chatNpc("Greetings young one.", animation = 588)
  11.             it.chatNpc("You're a hero now. That was a good bit of demonslaying.", animation = 588)
  12.             when (it.options("How do you know I killed it?", "Thanks.", "stop calling me that!")) {
  13.                 1 -> {
  14.                     it.chatPlayer("How do you know i killed it?", animation = 588)
  15.                     it.chatNpc("you forget. I'm good at knowing things.", animation = 588)
  16.                 }
  17.                 2 -> {
  18.                     it.chatPlayer("Thanks.", animation = 588)
  19.                 }
  20.                 3 -> {
  21.                     it.chatPlayer("Stop calling me that!", animation = 588)
  22.                     it.chatNpc("In the scheme of things you are very young.", animation = 588)
  23.                     when (it.options("Ok but how old are you?", "Oh if it's in the scheme of things that's ok.")) {
  24.                         1 -> {
  25.                             it.chatPlayer("Ok, but how old are you?", animation = 588)
  26.                             it.chatNpc("Count the number of legs on the stools in the Blue Moon inn, and multiply that number by seven.", animation = 588)
  27.                             it.chatPlayer("Er, yeah, whatever.", animation = 588)
  28.                         }
  29.                         2 -> {
  30.                             it.chatPlayer("Oh if it's in the scheme of things that's ok.", animation = 588)
  31.                             it.chatNpc("You show wisdom for one so young.", animation = 588)
  32.                         }
  33.                     }
  34.                 }
  35.             }
  36.         }
  37.         2 -> {
  38.             it.chatPlayer("There's just one thing I don't understand about that whole time travel culinaromancer thing...", animation = 588)
  39.             it.chatNpc("Oh yes? What was that?", animation = 588)
  40.             it.chatPlayer("Everything!", animation = 588)
  41.             it.chatNpc("I wouldn't worry about it to much if I were you. The world is safe once more thanks to your assistance.", animation = 588)
  42.             it.chatNpc("That's all that really matters.", animation = 588)
  43.             it.chatPlayer("Yeah, I guess... I just wish things made sense is all...", animation = 588)
  44.         }
  45.     }
  46. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top