Skip to content

Commit ef3cbfd

Browse files
committed
Merge 'Account For Random Starting Items When Building Misc Hints' (#2503)
2 parents b19a6c8 + f9682d8 commit ef3cbfd

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* Various minor fixes for advanced logic.
2525
* Fix for advanced logic tricks being cached when switching to glitchless logic.
2626
* Fix for failure to generate when special deal prices are set to vanilla.
27+
* Fix for misc hints when the hinted item was randomly selected as a starting item.
2728

2829
## Other Changes
2930
* It is no longer required to have either the goron tunic or the Fewer Tunic Requirements trick for adult to go from the Bolero warp pad to the Fire temple in logic.

Hints.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,10 @@ def build_misc_item_hints(world: World, messages: list[Message], allow_duplicate
18191819
for hint_type, data in misc_item_hint_table.items():
18201820
if hint_type in world.settings.misc_hints:
18211821
item = world.misc_hint_items[hint_type]
1822-
if item in world.distribution.effective_starting_items and world.distribution.effective_starting_items[item].count > 0:
1822+
if (
1823+
(item in world.distribution.effective_starting_items and world.distribution.effective_starting_items[item].count > 0) or
1824+
(item in world.distribution.randomized_starting_items and world.distribution.randomized_starting_items[item] > 0)
1825+
):
18231826
if item == data['default_item']:
18241827
text = data['default_item_text'].format(area='#your pocket#')
18251828
else:

version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '9.0.35'
1+
__version__ = '9.0.36'
22

33
# This is a supplemental version number for branches based off of main dev.
44
supplementary_version = 0

0 commit comments

Comments
 (0)