about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Archipelago/panelEnd.gd7
-rw-r--r--Archipelago/panelLevelSwitch.gd7
-rw-r--r--Archipelago/settings_screen.gd2
3 files changed, 16 insertions, 0 deletions
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 @@
1extends "res://scripts/panelEnd.gd"
2
3
4func handle_correct():
5 # We don't call the base method because we want to suppress the original
6 # behaviour.
7 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 @@
1extends "res://scripts/panelLevelSwitch.gd"
2
3
4func handle_correct():
5 # We don't call the base method because we want to suppress the original
6 # behaviour.
7 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():
22 installScriptExtension("user://maps/Archipelago/doorControl.gd") 22 installScriptExtension("user://maps/Archipelago/doorControl.gd")
23 installScriptExtension("user://maps/Archipelago/load.gd") 23 installScriptExtension("user://maps/Archipelago/load.gd")
24 installScriptExtension("user://maps/Archipelago/painting_eye.gd") 24 installScriptExtension("user://maps/Archipelago/painting_eye.gd")
25 installScriptExtension("user://maps/Archipelago/panelLevelSwitch.gd")
26 installScriptExtension("user://maps/Archipelago/panelEnd.gd")
25 27
26 global.get_node("Archipelago").connect("client_connected", self, "connectionSuccessful") 28 global.get_node("Archipelago").connect("client_connected", self, "connectionSuccessful")
27 29