diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2026-02-05 22:02:42 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2026-02-05 23:11:06 +0200 |
| commit | 8967f6bb6e8ecb3b5b4073424692ce0ddfec61cb (patch) | |
| tree | 5961c0b5226d077c6b1e97c02c1f5fcc1d6a729f /dialogues | |
| parent | f53d1d99707c5063a35c0c68890e0947077108ad (diff) | |
Diffstat (limited to 'dialogues')
| -rw-r--r-- | dialogues/cine_intro_ship1.gd | 27 | ||||
| -rw-r--r-- | dialogues/cine_intro_ship1.gd.uid | 1 | ||||
| -rw-r--r-- | dialogues/relic_get.gd | 25 | ||||
| -rw-r--r-- | dialogues/relic_get.gd.uid | 1 | ||||
| -rw-r--r-- | dialogues/test1.gd | 16 | ||||
| -rw-r--r-- | dialogues/test1.gd.uid | 1 |
6 files changed, 0 insertions, 71 deletions
diff --git a/dialogues/cine_intro_ship1.gd b/dialogues/cine_intro_ship1.gd deleted file mode 100644 index fb9a5e4..0000000 --- a/dialogues/cine_intro_ship1.gd +++ /dev/null @@ -1,27 +0,0 @@ -class_name DialogueCineIntroShip1 -extends Dialogue - -@onready var top: Top = get_tree().root.get_node("Top") -@onready var player: Player = parent.get_node("Player") -@onready var captain: Node2D = parent.get_node("Captain") -@onready var crew1: Node2D = parent.get_node("Crew1") -@onready var crew2: Node2D = parent.get_node("Crew2") - -func _ready(): - player.remove_from_group("camera_target") - - await say(captain, "Crew!") - - player.velocity.x = -1 # flip - crew1.flip_h = true - crew2.flip_h = true - - await get_tree().create_timer(1.0).timeout - - await say(captain, "The Frogcorp Scientific Excursion commences today!") - await say(captain, "TODO") - - await top.clear_cine_bars() - - player.request_state_normal() - player.add_to_group("camera_target") diff --git a/dialogues/cine_intro_ship1.gd.uid b/dialogues/cine_intro_ship1.gd.uid deleted file mode 100644 index 50d36eb..0000000 --- a/dialogues/cine_intro_ship1.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://bgtapiu3u8vre diff --git a/dialogues/relic_get.gd b/dialogues/relic_get.gd deleted file mode 100644 index a086c36..0000000 --- a/dialogues/relic_get.gd +++ /dev/null @@ -1,25 +0,0 @@ -class_name DialogueRelicGet -extends Dialogue - -@onready var top: Top = get_tree().root.get_node("Top") -@onready var player: Player = parent.get_node("Player") -var r: Node2D - -func _init(relic: Node2D): - r = relic - -func _ready(): - var mp: AudioStreamPlayer = top.get_node("MusicPlayer") - mp.stream_paused = true - player.request_play_fanfare_sfx() - - get_tree().paused = true - - await top.play_cine_bars() - await say(r, "You found a mysterious relic!") - await top.clear_cine_bars() - - r.queue_free() - get_tree().paused = false - - mp.stream_paused = false diff --git a/dialogues/relic_get.gd.uid b/dialogues/relic_get.gd.uid deleted file mode 100644 index c5ed07a..0000000 --- a/dialogues/relic_get.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://j0vbra41omei 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) diff --git a/dialogues/test1.gd.uid b/dialogues/test1.gd.uid deleted file mode 100644 index 57573c2..0000000 --- a/dialogues/test1.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://23xqfts2fuwx |
