mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Landstalker: Several small fixes (#4675)
* Landstalker: Fixed duplicate entrance names when using the "No teleport tree requirements" option * Landstalker: Fixed more cases of duplicate entrance names when using "Shuffle Trees" with open trees * Landstalker: Fixed endgame locations being present in "Reach Kazalt" goal * Landstalker: Fixed Lithograph hint pointing at the wrong player * Landstalker: Updated docs to remove the link to Steam since game got delisted * Landstalker: Fixed high value hint_count rarely failing at generation * Landstalker: Fixed dynamic shop prices being potentially invalid in case of a progression balancing (changes by ExemptMedic)
This commit is contained in:
@@ -131,7 +131,7 @@ def generate_random_hints(world: "LandstalkerWorld"):
|
||||
hint_texts = list(set(hint_texts))
|
||||
random.shuffle(hint_texts)
|
||||
|
||||
hint_count = world.options.hint_count.value
|
||||
hint_count = min(world.options.hint_count.value, len(hint_texts))
|
||||
del hint_texts[hint_count:]
|
||||
|
||||
hint_source_names = [source["description"] for source in HINT_SOURCES_JSON if
|
||||
|
||||
Reference in New Issue
Block a user