Dialogue system go brrr

This commit is contained in:
ceikry
2021-07-01 16:48:18 -05:00
parent 384e597cf1
commit d5999f6cc0
@@ -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++ }