Skip to content

Commit

Permalink
Fixed talaria attached to be taken into logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarno458 committed Aug 11, 2024
1 parent 9bd55e7 commit d39e391
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions worlds/timespinner/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,19 @@ def generate_early(self) -> None:

self.precalculated_weights = PreCalculatedWeights(self.options, self.random)

self.interpret_slot_data(None)

# in generate_early the start_inventory isnt copied over to precollected_items yet, so we can still modify the options directly
if self.options.start_inventory.value.pop('Meyef', 0) > 0:
if self.options.start_inventory.value.pop("Meyef", 0) > 0:
self.options.start_with_meyef.value = Toggle.option_true
if self.options.start_inventory.value.pop('Talaria Attachment', 0) > 0:
if self.options.start_inventory.value.pop("Talaria Attachment", 0) > 0:
self.options.quick_seed.value = Toggle.option_true
if self.options.start_inventory.value.pop('Jewelry Box', 0) > 0:
if self.options.start_inventory.value.pop("Jewelry Box", 0) > 0:
self.options.start_with_jewelry_box.value = Toggle.option_true

self.interpret_slot_data(None)

if self.options.quick_seed:
self.multiworld.push_precollected(self.create_item("Talaria Attachment"))

def create_regions(self) -> None:
create_regions_and_locations(self.multiworld, self.player, self.options, self.precalculated_weights)

Expand Down

0 comments on commit d39e391

Please sign in to comment.