-
Notifications
You must be signed in to change notification settings - Fork 703
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
HK: abstract and default grub counts #4336
base: main
Are you sure you want to change the base?
Conversation
worlds/hk/__init__.py
Outdated
|
||
# defaulting so completion condition isn't incorrect before pre_fill | ||
self.grub_count = 46 | ||
self.grub_player_count = {player: 46} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mentioned in DM's, but you probably want to set this based on the required grub count
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment about always requiring 46 Grubs, but otherwise the code LGTM. I honestly love this a lot more than the previous code. Tested using a minimal accessibility yaml with plando'ed inaccessible Grub on an "All" Grubs win condition and saw that it would now fail properly (during plando).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New change addressed my comment
What is this fixing or adding?
Medic had some usecase where the grub goal not being set before pre_fill caused issues
How was this tested?
ran the grub tests i wrote before to make sure nothing changed, did not test the goal between set_rules and pre_fill
If this makes graphical changes, please attach screenshots.