Subnautica: add Radiation option and adjust location access logic #4515
+34
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is this fixing or adding?
Add a Radiation Rule to the Subnautica options and adapt the location access logic. The new Radiation Rule makes it possible to consider zones inside the Radiation zone of the Aurora without a Radiation Suit, depending on the rule chosen. By default, players still need the Radiation Suit.
Most locations on the outer circle of the radiation zone are still easily accessible without the radiation suit (players may need to have fins, a seaglide, or to heal). This adds a bit more of challenge for those that want it.
Note: there is another rule in place to prevent locations further than 800 units from the origin to be considered without a Seaglide. In practice, this removes most of those locations from the pool of accessible locations if the player doesn't have a Seaglide (which should avoid making this too tedious).
Only the Grassy Plateaus East Wreck, Lifepod 4 and Lifepod 6 can be considered by AP without a Seaglide (and they are definitely accessible without one).
Note 2: The Radiation Suit is still considered a 'progression' item, but that doesn't seem to change much to the actual playthrough, so I haven't changed anything there.
How was this tested?
I generated multiple multiworld archives and checked the generated shortest path.
I tested 'outer', 'inner' and 'all', as 'none' should not change anything compared to the current code.
For all tests, I removed a bunch of locations from the pool, to ensure that AP had to choose from locations further away:
'Outer' tests
Lifepod 6 always gets chosen for the Seaglide and the Radiation Suit in sphere 1.
'Inner' tests
This only adds Lifepod 4 to the list of possible locations without a Seaglide, and it nearly always appear in sphere 1.
'All'
I added two Seaglide Fragments to the starting inventory, and with it, the Aurora would often appear in sphere 1.