diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-04-18 20:57:15 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-04-18 20:57:15 -0400 |
commit | 0a62e8ba6b78de0f316c5a860649972037428591 (patch) | |
tree | f6a95fdd0b556bbc122bac7476db7a61bb8a0381 | |
parent | 8f7ed56a6ec615f84833e32fcfd781958b06a4b2 (diff) | |
download | lingo-archipelago-0a62e8ba6b78de0f316c5a860649972037428591.tar.gz lingo-archipelago-0a62e8ba6b78de0f316c5a860649972037428591.tar.bz2 lingo-archipelago-0a62e8ba6b78de0f316c5a860649972037428591.zip |
Disabled ending/levelchanging
-rw-r--r-- | Archipelago/panelEnd.gd | 7 | ||||
-rw-r--r-- | Archipelago/panelLevelSwitch.gd | 7 | ||||
-rw-r--r-- | Archipelago/settings_screen.gd | 2 |
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 @@ | |||
1 | extends "res://scripts/panelEnd.gd" | ||
2 | |||
3 | |||
4 | func 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 @@ | |||
1 | extends "res://scripts/panelLevelSwitch.gd" | ||
2 | |||
3 | |||
4 | func 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 | ||