summary refs log tree commit diff stats
path: root/items.py
diff options
context:
space:
mode:
Diffstat (limited to 'items.py')
-rw-r--r--items.py15
1 files changed, 1 insertions, 14 deletions
diff --git a/items.py b/items.py index 7b1a650..9f8bf56 100644 --- a/items.py +++ b/items.py
@@ -24,14 +24,6 @@ class ItemData(NamedTuple):
24 return world.options.shuffle_colors > 0 24 return world.options.shuffle_colors > 0
25 elif self.mode == "doors": 25 elif self.mode == "doors":
26 return world.options.shuffle_doors != ShuffleDoors.option_none 26 return world.options.shuffle_doors != ShuffleDoors.option_none
27 elif self.mode == "orange tower":
28 # door shuffle is on and tower isn't progressive
29 return world.options.shuffle_doors != ShuffleDoors.option_none \
30 and not world.options.progressive_orange_tower
31 elif self.mode == "the colorful":
32 # complex door shuffle is on and colorful isn't progressive
33 return world.options.shuffle_doors == ShuffleDoors.option_complex \
34 and not world.options.progressive_colorful
35 elif self.mode == "complex door": 27 elif self.mode == "complex door":
36 return world.options.shuffle_doors == ShuffleDoors.option_complex 28 return world.options.shuffle_doors == ShuffleDoors.option_complex
37 elif self.mode == "door group": 29 elif self.mode == "door group":
@@ -72,12 +64,7 @@ def load_item_data():
72 door_groups.setdefault(door.group, []).extend(door.door_ids) 64 door_groups.setdefault(door.group, []).extend(door.door_ids)
73 65
74 if room_name in PROGRESSION_BY_ROOM and door_name in PROGRESSION_BY_ROOM[room_name]: 66 if room_name in PROGRESSION_BY_ROOM and door_name in PROGRESSION_BY_ROOM[room_name]:
75 if room_name == "Orange Tower": 67 door_mode = "special"
76 door_mode = "orange tower"
77 elif room_name == "The Colorful":
78 door_mode = "the colorful"
79 else:
80 door_mode = "special"
81 68
82 ALL_ITEM_TABLE[door.item_name] = \ 69 ALL_ITEM_TABLE[door.item_name] = \
83 ItemData(get_door_item_id(room_name, door_name), 70 ItemData(get_door_item_id(room_name, door_name),