about summary refs log tree commit diff stats
path: root/apworld/client/gamedata.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-10-25 11:20:55 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-10-25 11:20:55 -0400
commitea87cbbe4a23ceff72f31e461c7ead32f560031e (patch)
tree2983fb51bc4f9a3f7ccaf0cb71a2dfad54eceeeb /apworld/client/gamedata.gd
parent8b07ae101fb9e0f2fc0e2d46a4cd77ff78d62d13 (diff)
downloadlingo2-archipelago-ea87cbbe4a23ceff72f31e461c7ead32f560031e.tar.gz
lingo2-archipelago-ea87cbbe4a23ceff72f31e461c7ead32f560031e.tar.bz2
lingo2-archipelago-ea87cbbe4a23ceff72f31e461c7ead32f560031e.zip
Made White Ending customizable
Diffstat (limited to 'apworld/client/gamedata.gd')
-rw-r--r--apworld/client/gamedata.gd6
1 files changed, 5 insertions, 1 deletions
diff --git a/apworld/client/gamedata.gd b/apworld/client/gamedata.gd index 9305003..3a35125 100644 --- a/apworld/client/gamedata.gd +++ b/apworld/client/gamedata.gd
@@ -221,7 +221,11 @@ func _get_generated_door_location_name(door):
221 if door.get_type() != SCRIPT_proto.DoorType.STANDARD: 221 if door.get_type() != SCRIPT_proto.DoorType.STANDARD:
222 return null 222 return null
223 223
224 if door.get_keyholders().size() > 0 or door.get_endings().size() > 0 or door.has_complete_at(): 224 if (
225 door.get_keyholders().size() > 0
226 or (door.has_white_ending() and door.get_white_ending())
227 or door.has_complete_at()
228 ):
225 return null 229 return null
226 230
227 if door.get_panels().size() > 4: 231 if door.get_panels().size() > 4: