Merge branch 'main' of http://git.nanoyagi.com/NanoYagi/JumpRopeOldTech
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
debugman18 committed 2026-10-18 15:32:15 -05:00
commit 83026394fc
1 file changed
+5 -4
+5 -4
View File
@@ -4,6 +4,10 @@ func set_open (is_open: bool) -> void:
$Sprite2D.play("open" if is_open else "closed")
func _on_interacted() -> void:
for sarcophagus in get_tree().get_nodes_in_group("sarcophagi"):
sarcophagus.set_open(sarcophagus == self)
await get_tree().create_timer(0.15).timeout
%OldComputer.open()
#Accomodate some collision antics.
@@ -12,10 +16,7 @@ func _on_interacted() -> void:
if %Player2D.spawn_point != new_spawn_point:
%Player2D.spawn_point = new_spawn_point
%OldComputer.printline(">> Respawn point set to %s" % new_spawn_point)
for sarcophagus in get_tree().get_nodes_in_group("sarcophagi"):
sarcophagus.set_open(sarcophagus == self)
var wanted_disk = %OldComputer.get_next_disk_num()
if %Player2D.complete_objective("sarc"):