From 904c6e7f1536078740a36cecb26d4036117bd893 Mon Sep 17 00:00:00 2001 From: Gregory Marco Date: Sun, 18 Oct 2026 03:08:33 -0500 Subject: [PATCH 1/2] Fix issue where OldComputer crashes upon inserting the final disk. Add a message instructing player to press [E] to exit the game. --- old_computer.gd | 13 +++++++++++++ player_2d.gd | 4 ++++ 2 files changed, 17 insertions(+) diff --git a/old_computer.gd b/old_computer.gd index 6bbad19..92bc7b4 100644 --- a/old_computer.gd +++ b/old_computer.gd @@ -22,14 +22,27 @@ func load_disk(disk_num: int) -> bool: [disk_num, len(disks_wanted) + len(disks_loaded), get_memory_integrity()] ) + if has_finished_initialization(): + printline( + ">> System initialization complete. Beginning reactivation sequence." + ) + printline( + ">> Player: Press [E] or [Space] to return to the outside world." + ) + return true func get_next_disk_num() -> int: + if disks_wanted.is_empty(): + return 0 return disks_wanted.front() func get_memory_integrity(): return 100.0 / total_integrity * (starting_integrity + len(disks_loaded)) +func has_finished_initialization() -> bool: + return disks_wanted.is_empty() + func open() -> void: visible = true diff --git a/player_2d.gd b/player_2d.gd index 1e8cad2..07359f3 100644 --- a/player_2d.gd +++ b/player_2d.gd @@ -26,6 +26,10 @@ func _ready() -> void: spawn_point = position DisplayServer.window_set_title("JUMPS EQUALS JUMPS") give_objective("sarc", 0, "Open the Sarcophagus") + give_disk(1) + give_disk(2) + give_disk(3) + give_disk(4) #%Dialogue.show_text("Hello world!").dismiss_after(2) func refresh_dash(new_dashes): From f1c232847fa80b25aa1398dd5c50fe96602c60b9 Mon Sep 17 00:00:00 2001 From: Gregory Marco Date: Sun, 18 Oct 2026 03:10:37 -0500 Subject: [PATCH 2/2] Actually exit the game upon completing the main quest. --- old_computer.gd | 3 +++ player_2d.gd | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/old_computer.gd b/old_computer.gd index 92bc7b4..436a066 100644 --- a/old_computer.gd +++ b/old_computer.gd @@ -51,4 +51,7 @@ func printline(line: String) -> void: $ConsoleText.text += "\n" + line func close() -> void: + if has_finished_initialization(): + get_tree().quit() + visible = false diff --git a/player_2d.gd b/player_2d.gd index 07359f3..1e8cad2 100644 --- a/player_2d.gd +++ b/player_2d.gd @@ -26,10 +26,6 @@ func _ready() -> void: spawn_point = position DisplayServer.window_set_title("JUMPS EQUALS JUMPS") give_objective("sarc", 0, "Open the Sarcophagus") - give_disk(1) - give_disk(2) - give_disk(3) - give_disk(4) #%Dialogue.show_text("Hello world!").dismiss_after(2) func refresh_dash(new_dashes):