From d5999f6cc0d5dfa6a5624e74ed0d0f9e8dd5e475 Mon Sep 17 00:00:00 2001 From: ceikry Date: Thu, 1 Jul 2021 16:48:18 -0500 Subject: [PATCH] Dialogue system go brrr --- .../rs09/game/content/dialogue/OttoGodblessedDialogue.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Server/src/main/kotlin/rs09/game/content/dialogue/OttoGodblessedDialogue.kt b/Server/src/main/kotlin/rs09/game/content/dialogue/OttoGodblessedDialogue.kt index 2ffa73949..3487805fa 100644 --- a/Server/src/main/kotlin/rs09/game/content/dialogue/OttoGodblessedDialogue.kt +++ b/Server/src/main/kotlin/rs09/game/content/dialogue/OttoGodblessedDialogue.kt @@ -36,9 +36,11 @@ class OttoGodblessedDialogue(player: Player? = null) : DialoguePlugin(player) { -1 -> options("Ask about barbarian training", "Nevermind.").also { stage++ } 0 -> when(buttonId){ 1 -> player("Is there anything you can teach me?").also { stage = 20 } - 2 -> stage = END_DIALOGUE + 2 -> stage++ } + 1 -> stage = END_DIALOGUE + 20 -> npc("I can teach you how to fish.").also { stage++ } 21 -> player("Oh, that's pretty underwhelming. But uhhh, okay!").also { stage++ }