diff options
Diffstat (limited to '__init__.py')
-rw-r--r-- | __init__.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/__init__.py b/__init__.py index 0889674..2f93541 100644 --- a/__init__.py +++ b/__init__.py | |||
@@ -82,9 +82,8 @@ class LingoWorld(World): | |||
82 | skips = int(non_traps * skip_percentage / 100.0) | 82 | skips = int(non_traps * skip_percentage / 100.0) |
83 | non_skips = non_traps - skips | 83 | non_skips = non_traps - skips |
84 | 84 | ||
85 | filler_list = [":)", "The Feeling of Being Lost", "Wanderlust", "Empty White Hallways"] | ||
86 | for i in range(0, non_skips): | 85 | for i in range(0, non_skips): |
87 | pool.append(self.create_item(filler_list[i % len(filler_list)])) | 86 | pool.append(self.create_item(self.get_filler_item_name())) |
88 | 87 | ||
89 | for i in range(0, skips): | 88 | for i in range(0, skips): |
90 | pool.append(self.create_item("Puzzle Skip")) | 89 | pool.append(self.create_item("Puzzle Skip")) |
@@ -130,3 +129,7 @@ class LingoWorld(World): | |||
130 | slot_data["painting_entrance_to_exit"] = self.player_logic.painting_mapping | 129 | slot_data["painting_entrance_to_exit"] = self.player_logic.painting_mapping |
131 | 130 | ||
132 | return slot_data | 131 | return slot_data |
132 | |||
133 | def get_filler_item_name(self) -> str: | ||
134 | filler_list = [":)", "The Feeling of Being Lost", "Wanderlust", "Empty White Hallways"] | ||
135 | return self.random.choice(filler_list) | ||