The Witness: Item loading refactor. (#1953)

Co-authored-by: el-u <109771707+el-u@users.noreply.github.com>
Co-authored-by: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com>
Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
This commit is contained in:
blastron
2023-07-18 20:02:57 -07:00
committed by GitHub
parent 18c9779815
commit 1f6db12797
9 changed files with 482 additions and 518 deletions

View File

@@ -7,11 +7,13 @@ from .player_logic import WitnessPlayerLogic
from .static_logic import StaticWitnessLogic
ID_START = 158000
class StaticWitnessLocations:
"""
Witness Location Constants that stay consistent across worlds
"""
ID_START = 158000
GENERAL_LOCATIONS = {
"Tutorial Front Left",
@@ -468,7 +470,7 @@ class WitnessPlayerLocations:
victory = get_option_value(world, player, "victory_condition")
mount_lasers = get_option_value(world, player, "mountain_lasers")
chal_lasers = get_option_value(world, player, "challenge_lasers")
laser_shuffle = get_option_value(world, player, "shuffle_lasers")
# laser_shuffle = get_option_value(world, player, "shuffle_lasers")
postgame = set()
postgame = postgame | StaticWitnessLocations.CAVES_LOCATIONS