The Witness: Allow Mountain Lasers to go up to 11 instead of 7. (#2618)

This commit is contained in:
NewSoupVi 2024-01-16 15:27:09 +01:00 committed by GitHub
parent 325a510ba7
commit 71a3e2230d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

@ -140,10 +140,13 @@ class PuzzleRandomization(Choice):
class MountainLasers(Range):
"""Sets the amount of beams required to enter the final area."""
"""Sets the amount of lasers required to enter the Mountain.
If set to a higher amount than 7, the mountaintop box will be slightly rotated to make it possible to solve without
the hatch being opened.
This change will also be applied logically to the long solution ("Challenge Lasers" setting)."""
display_name = "Required Lasers for Mountain Entry"
range_start = 1
range_end = 7
range_end = 11
default = 7

View File

@ -323,7 +323,10 @@ class WitnessPlayerLogic:
elif victory == 3:
self.VICTORY_LOCATION = "0xFFF00"
if chal_lasers <= 7:
# Long box can usually only be solved by opening Mountain Entry. However, if it requires 7 lasers or less
# (challenge_lasers <= 7), you can now solve it without opening Mountain Entry first.
# Furthermore, if the user sets mountain_lasers > 7, the box is rotated to not require Mountain Entry either.
if chal_lasers <= 7 or mnt_lasers > 7:
adjustment_linesets_in_order.append([
"Requirement Changes:",
"0xFFF00 - 11 Lasers - True",