Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key rule prep for room rando #7

Merged
merged 1 commit into from
Oct 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion worlds/shivers/Rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,25 +91,32 @@ def get_rules_lookup(player: int):
"To Office Elevator From Underground Blue Tunnels": lambda state: state.has("Key for Office Elevator", player),
"To Office Elevator From Office": lambda state: state.has("Key for Office Elevator", player),
"To Bedroom Elevator From Office": lambda state: state.has("Key for Bedroom Elevator", player) and state.has("Crawling", player),
"To Office From Bedroom Elevator": lambda state: state.has("Key for Bedroom Elevator", player) and state.has("Crawling", player),
"To Three Floor Elevator From Maintenance Tunnels": lambda state: state.has("Key for Three Floor Elevator", player),
"To Three Floor Elevator From Blue Maze Bottom": lambda state: state.has("Key for Three Floor Elevator", player),
"To Three Floor Elevator From Blue Maze Top": lambda state: state.has("Key for Three Floor Elevator", player),
"To Workshop": lambda state: state.has("Key for Workshop", player),
"To Lobby From Office": lambda state: state.has("Key for Office", player),
"To Office From Lobby": lambda state: state.has("Key for Office", player),
"To Library From Lobby": lambda state: state.has("Key for Library Room", player),
"To Lobby From Egypt": lambda state: state.has("Key for Egypt Room", player),
"To Lobby From Library": lambda state: state.has("Key for Library Room", player),
"To Prehistoric From Lobby": lambda state: state.has("Key for Prehistoric Room", player),
"To Lobby From Prehistoric": lambda state: state.has("Key for Prehistoric Room", player),
"To Greenhouse": lambda state: state.has("Key for Greenhouse Room", player),
"To Ocean From Prehistoric": lambda state: state.has("Key for Ocean Room", player),
"To Prehistoric From Ocean": lambda state: state.has("Key for Ocean Room", player),
"To Projector Room": lambda state: state.has("Key for Projector Room", player),
"To Generator": lambda state: state.has("Key for Generator Room", player),
"To Lobby From Egypt": lambda state: state.has("Key for Egypt Room", player),
"To Egypt From Lobby": lambda state: state.has("Key for Egypt Room", player),
"To Janitor Closet": lambda state: state.has("Key for Janitor Closet", player),
"To Tiki From Burial": lambda state: state.has("Key for Tiki Room", player),
"To Burial From Tiki": lambda state: state.has("Key for Tiki Room", player),
"To Inventions From UFO": lambda state: state.has("Key for UFO Room", player),
"To UFO From Inventions": lambda state: state.has("Key for UFO Room", player),
"To Torture From Inventions": lambda state: state.has("Key for Torture Room", player),
"To Inventions From Torture": lambda state: state.has("Key for Torture Room", player),
"To Torture": lambda state: state.has("Key for Puzzle Room", player),
"To Puzzle Room Mastermind From Torture": lambda state: state.has("Key for Puzzle Room", player),
"To Bedroom": lambda state: state.has("Key for Bedroom", player),
"To Underground Lake From Underground Tunnels": lambda state: state.has("Key for Underground Lake Room", player),
Expand Down