summaryrefslogtreecommitdiffstats
path: root/dialogues/test1.gd
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-02-05 22:02:42 +0200
committerJan Tuomi <jan@jantuomi.fi>2026-02-05 23:11:06 +0200
commit8967f6bb6e8ecb3b5b4073424692ce0ddfec61cb (patch)
tree5961c0b5226d077c6b1e97c02c1f5fcc1d6a729f /dialogues/test1.gd
parentf53d1d99707c5063a35c0c68890e0947077108ad (diff)
Rework cinematicsHEADmain
Diffstat (limited to 'dialogues/test1.gd')
-rw-r--r--dialogues/test1.gd16
1 files changed, 0 insertions, 16 deletions
diff --git a/dialogues/test1.gd b/dialogues/test1.gd
deleted file mode 100644
index d411484..0000000
--- a/dialogues/test1.gd
+++ /dev/null
@@ -1,16 +0,0 @@
-class_name DialogueTest1
-extends Dialogue
-
-@onready var player: Player = parent.get_node("Player")
-@onready var npc: Node2D = parent.get_node("DialogueTestNPC")
-
-func _ready():
- player.request_state_forced("DROP")
-
- await say(player, "hello")
- await say(npc, "well hi")
- var answer = await ask(npc, "buy or sell?", ["buy", "sell"])
- await say(npc, "it's %s time" % answer)
-
- player.request_state_normal()
- print("dialogue done, answer %s" % answer)