fix issue where Open Sarcophagus objective did not complete, among other things

This commit is contained in:
yagigreg committed 2026-10-18 00:59:08 -05:00
1 parent c8ad334936
commit 775338c4d2
2 files changed
+2 -11

No files matched your search

-9
View File
@@ -12,15 +12,6 @@ func _on_interacted() -> void:
var wanted_disk = %OldComputer.get_next_disk_num() var wanted_disk = %OldComputer.get_next_disk_num()
if not %Player2D.take_disk(wanted_disk):
if wanted_disk == 1 and not %Player2D.has_objective("disk%d" % wanted_disk):
%OldComputer.open()
%Player2D.give_objective(
"disk%d" % wanted_disk,
wanted_disk, "Locate data disk %d" % wanted_disk
)
return
if %Player2D.complete_objective("sarc"): if %Player2D.complete_objective("sarc"):
%OldComputer.open() %OldComputer.open()
%Player2D.give_objective( %Player2D.give_objective(
+2 -2
View File
@@ -32,6 +32,7 @@ scale = Vector2(1, 1.0155824)
unique_name_in_owner = true unique_name_in_owner = true
position = Vector2(-4844.9995, 356.44568) position = Vector2(-4844.9995, 356.44568)
rotation = 0.0005533503 rotation = 0.0005533503
safe_margin = 0.08
[node name="StartingArea" type="Node2D" parent="." unique_id=130240736] [node name="StartingArea" type="Node2D" parent="." unique_id=130240736]
position = Vector2(-4673, 390.9087) position = Vector2(-4673, 390.9087)
@@ -465,12 +466,11 @@ script = ExtResource("14_70uel")
[node name="Dialogue" parent="CanvasLayer" unique_id=1025022375 instance=ExtResource("19_26xuy")] [node name="Dialogue" parent="CanvasLayer" unique_id=1025022375 instance=ExtResource("19_26xuy")]
unique_name_in_owner = true unique_name_in_owner = true
position = Vector2(55, 111.266205)
rotation = 4.9367074e-05
offset_left = 228.0 offset_left = 228.0
offset_top = 499.0 offset_top = 499.0
offset_right = 231.0 offset_right = 231.0
offset_bottom = 491.0 offset_bottom = 491.0
rotation = 4.9367074e-05
[node name="Pharaoh" parent="." unique_id=44054531 instance=ExtResource("15_hiqwa")] [node name="Pharaoh" parent="." unique_id=44054531 instance=ExtResource("15_hiqwa")]
position = Vector2(192, 177.23824) position = Vector2(192, 177.23824)