Added additional dialogue helpers

This commit is contained in:
Oven Bread
2025-02-01 12:23:10 +00:00
committed by Ryan
parent f75577d41d
commit 00b5a44c31
2 changed files with 133 additions and 18 deletions
@@ -30,7 +30,7 @@ class DonieDialogueFile : DialogueLabeller() {
options(
DialogueOption("whereami", "Where am I?", expression = ChatAnim.THINKING),
DialogueOption("howareyou", "How are you today?"),
DialogueOption("shoelace", "Your shoe lace is untied."),
DialogueOption("shoelace", "Your shoe lace is untied.", skipPlayer=true),
)
label("whereami")
@@ -45,9 +45,15 @@ class DonieDialogueFile : DialogueLabeller() {
npc("Not just a pretty face eh? Ha ha ha.")
label("shoelace")
open(player!!, DonieDialogueShoelaceFile(), npc!!)
}
}
class DonieDialogueShoelaceFile : DialogueLabeller() {
override fun addConversation() {
player("Your shoe lace is untied.")
npc(ChatAnim.ANGRY, "No it's not!")
player("No you're right. I have nothing to back that up.")
npc(ChatAnim.ANGRY, "Fool! Leave me alone!")
}
}