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:
Dinopony
2025-03-10 16:35:58 +01:00
committed by GitHub
parent dd55409209
commit be550ff6fb
3 changed files with 8 additions and 15 deletions

View File

@@ -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