The Witness: Allow Mountain Lasers to go up to 11 instead of 7. (#2618)
This commit is contained in:
parent
325a510ba7
commit
71a3e2230d
|
@ -140,10 +140,13 @@ class PuzzleRandomization(Choice):
|
||||||
|
|
||||||
|
|
||||||
class MountainLasers(Range):
|
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"
|
display_name = "Required Lasers for Mountain Entry"
|
||||||
range_start = 1
|
range_start = 1
|
||||||
range_end = 7
|
range_end = 11
|
||||||
default = 7
|
default = 7
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -323,7 +323,10 @@ class WitnessPlayerLogic:
|
||||||
elif victory == 3:
|
elif victory == 3:
|
||||||
self.VICTORY_LOCATION = "0xFFF00"
|
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([
|
adjustment_linesets_in_order.append([
|
||||||
"Requirement Changes:",
|
"Requirement Changes:",
|
||||||
"0xFFF00 - 11 Lasers - True",
|
"0xFFF00 - 11 Lasers - True",
|
||||||
|
|
Loading…
Reference in New Issue