Archipelago/worlds/landstalker
Mysteryem 6c1dc5f645
Landstalker: Fix paths Lantern logic affecting other Landstalker worlds (#4394)
The data from `WORLD_PATHS_JSON` is supposed to be constant logic data
shared by all Landstalker worlds, but `add_path_requirements()` was
modifying this data such that after adding a `Lantern` requirement for a
dark region, subsequent Landstalker worlds to have their logic set could
also be affected by this `Lantern` requirement and previous Landstalker
worlds without damage boosting logic could also be affected by this
`Lantern` requirement because they could all be using the same list
instances. This issue would only occur for paths that have
`"requiredItems"` because all paths without required items would create
a new empty list, avoiding the problem.

The items in `data["itemsPlacedWhenCrossing"]` were also getting added
once for each Landstalker player, but there are no paths that have both
`"itemsPlacedWhenCrossing"` and `"requiredItems"`, so all such cases
would start from a new empty list of required items and avoid modifying
`WORLD_PATHS_JSON`.
2024-12-24 20:44:47 -05:00
..
data Landstalker: Fix issues on generation (#4345) 2024-12-24 14:08:03 -05:00
docs Docs: replacing "setting" to "option" in world docs (#2622) 2024-03-22 17:46:14 +01:00
Constants.py Landstalker: Fix issues on generation (#4345) 2024-12-24 14:08:03 -05:00
Hints.py Landstalker: Fix issues on generation (#4345) 2024-12-24 14:08:03 -05:00
Items.py Landstalker: Fix issues on generation (#4345) 2024-12-24 14:08:03 -05:00
Locations.py Landstalker: Fix issues on generation (#4345) 2024-12-24 14:08:03 -05:00
Options.py Landstalker: implement new game (#1808) 2023-11-25 09:00:15 -06:00
Regions.py Landstalker: Fixed rare generation issues (#3353) 2024-06-01 06:39:57 -05:00
Rules.py Landstalker: Fix paths Lantern logic affecting other Landstalker worlds (#4394) 2024-12-24 20:44:47 -05:00
__init__.py Landstalker: Fix issues on generation (#4345) 2024-12-24 14:08:03 -05:00