From 0a62e8ba6b78de0f316c5a860649972037428591 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 18 Apr 2023 20:57:15 -0400 Subject: Disabled ending/levelchanging --- Archipelago/panelEnd.gd | 7 +++++++ Archipelago/panelLevelSwitch.gd | 7 +++++++ Archipelago/settings_screen.gd | 2 ++ 3 files changed, 16 insertions(+) create mode 100644 Archipelago/panelEnd.gd create mode 100644 Archipelago/panelLevelSwitch.gd diff --git a/Archipelago/panelEnd.gd b/Archipelago/panelEnd.gd new file mode 100644 index 0000000..81f07d6 --- /dev/null +++ b/Archipelago/panelEnd.gd @@ -0,0 +1,7 @@ +extends "res://scripts/panelEnd.gd" + + +func handle_correct(): + # We don't call the base method because we want to suppress the original + # behaviour. + global.solved -= 1 diff --git a/Archipelago/panelLevelSwitch.gd b/Archipelago/panelLevelSwitch.gd new file mode 100644 index 0000000..06df02b --- /dev/null +++ b/Archipelago/panelLevelSwitch.gd @@ -0,0 +1,7 @@ +extends "res://scripts/panelLevelSwitch.gd" + + +func handle_correct(): + # We don't call the base method because we want to suppress the original + # behaviour. + global.solved -= 1 diff --git a/Archipelago/settings_screen.gd b/Archipelago/settings_screen.gd index 6700b9c..9c4d59a 100644 --- a/Archipelago/settings_screen.gd +++ b/Archipelago/settings_screen.gd @@ -22,6 +22,8 @@ func _ready(): installScriptExtension("user://maps/Archipelago/doorControl.gd") installScriptExtension("user://maps/Archipelago/load.gd") installScriptExtension("user://maps/Archipelago/painting_eye.gd") + installScriptExtension("user://maps/Archipelago/panelLevelSwitch.gd") + installScriptExtension("user://maps/Archipelago/panelEnd.gd") global.get_node("Archipelago").connect("client_connected", self, "connectionSuccessful") -- cgit 1.4.1