diff options
Diffstat (limited to '__init__.py')
| -rw-r--r-- | __init__.py | 12 |
1 files changed, 9 insertions, 3 deletions
| diff --git a/__init__.py b/__init__.py index 2a61a71..141fca0 100644 --- a/__init__.py +++ b/__init__.py | |||
| @@ -128,6 +128,9 @@ class LingoWorld(World): | |||
| 128 | pool.append(self.create_item("Puzzle Skip")) | 128 | pool.append(self.create_item("Puzzle Skip")) |
| 129 | 129 | ||
| 130 | if traps: | 130 | if traps: |
| 131 | if self.options.speed_boost_mode: | ||
| 132 | self.options.trap_weights.value["Slowness Trap"] = 0 | ||
| 133 | |||
| 131 | total_weight = sum(self.options.trap_weights.values()) | 134 | total_weight = sum(self.options.trap_weights.values()) |
| 132 | 135 | ||
| 133 | if total_weight == 0: | 136 | if total_weight == 0: |
| @@ -171,7 +174,7 @@ class LingoWorld(World): | |||
| 171 | "death_link", "victory_condition", "shuffle_colors", "shuffle_doors", "shuffle_paintings", "shuffle_panels", | 174 | "death_link", "victory_condition", "shuffle_colors", "shuffle_doors", "shuffle_paintings", "shuffle_panels", |
| 172 | "enable_pilgrimage", "sunwarp_access", "mastery_achievements", "level_2_requirement", "location_checks", | 175 | "enable_pilgrimage", "sunwarp_access", "mastery_achievements", "level_2_requirement", "location_checks", |
| 173 | "early_color_hallways", "pilgrimage_allows_roof_access", "pilgrimage_allows_paintings", "shuffle_sunwarps", | 176 | "early_color_hallways", "pilgrimage_allows_roof_access", "pilgrimage_allows_paintings", "shuffle_sunwarps", |
| 174 | "group_doors" | 177 | "group_doors", "speed_boost_mode" |
| 175 | ] | 178 | ] |
| 176 | 179 | ||
| 177 | slot_data = { | 180 | slot_data = { |
| @@ -188,5 +191,8 @@ class LingoWorld(World): | |||
| 188 | return slot_data | 191 | return slot_data |
| 189 | 192 | ||
| 190 | def get_filler_item_name(self) -> str: | 193 | def get_filler_item_name(self) -> str: |
| 191 | filler_list = [":)", "The Feeling of Being Lost", "Wanderlust", "Empty White Hallways"] | 194 | if self.options.speed_boost_mode: |
| 192 | return self.random.choice(filler_list) | 195 | return "Speed Boost" |
| 196 | else: | ||
| 197 | filler_list = [":)", "The Feeling of Being Lost", "Wanderlust", "Empty White Hallways"] | ||
| 198 | return self.random.choice(filler_list) | ||
