Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LADX: fix modifying item pool in pre_fill #2060

Merged
merged 3 commits into from
Mar 3, 2024

Conversation

zig-for
Copy link
Collaborator

@zig-for zig-for commented Jul 30, 2023

What is this fixing or adding?

The enforced start item was happening a bit too early, this moves it into create_items

How was this tested?

Genned a few times, ran the test in the other branch

If this makes graphical changes, please attach screenshots.

worlds/ladx/__init__.py Outdated Show resolved Hide resolved
@ThePhar ThePhar added the is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. label Jul 31, 2023
@BootsinSoots
Copy link
Contributor

Sounds like this is related to #1460?

Copy link
Member

@black-sliver black-sliver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this will break plando on Tarin's Gift (Mabe Village). Is this expected?

(Especially if we move it to create_items,) enumerate(self.multiworld.itempool) should be replaced by a local list of candidates, because iterating over all of multiworld is kinda slow and gets slower with each added slot.

@zig-for
Copy link
Collaborator Author

zig-for commented Oct 27, 2023 via email

@ThePhar
Copy link
Member

ThePhar commented Nov 22, 2023

In my ER branch I've rewritten to do exactly that - #1613 (files)

Does this PR need to wait on #1613 then?

@ScipioWright ScipioWright added the waiting-on: author Issue/PR is waiting for feedback or changes from its author. label Feb 10, 2024
@Berserker66 Berserker66 merged commit f17ff15 into ArchipelagoMW:main Mar 3, 2024
15 checks passed
@github-actions github-actions bot removed the waiting-on: author Issue/PR is waiting for feedback or changes from its author. label Mar 3, 2024
EmilyV99 pushed a commit to EmilyV99/Archipelago that referenced this pull request Apr 15, 2024
EmilyV99 pushed a commit to EmilyV99/Archipelago that referenced this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants