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

Subnautica: add Radiation option and adjust location access logic #4515

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kardyne
Copy link

@Kardyne Kardyne commented Jan 18, 2025

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:

  exclude_locations:
  - Lifepod 19 - Databox
  - Lifepod 19 - Inside PDA
  - Lifepod 19 - Outside PDA
  - Kelp Forest Wreck - Databox
  - Kelp Forest Wreck - PDA
  - Lifepod 17 - PDA
  - Lifepod 3 - Databox
  - Lifepod 3 - PDA
  - Safe Shallows Wreck - PDA
  - Grassy Plateaus South Wreck - Databox
  - Grassy Plateaus South Wreck - PDA
  - Grassy Plateaus West Wreck - Locker PDA
  - Grassy Plateaus West Wreck - Beam PDA
  - Grassy Plateaus West Wreck - Data Terminal

'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.

@Kardyne Kardyne requested a review from Berserker66 as a code owner January 18, 2025 21:31
@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Jan 18, 2025
@Exempt-Medic Exempt-Medic added is: enhancement Issues requesting new features or pull requests implementing new features. waiting-on: world-maintainer Issue/PR is waiting for feedback or approval by the maintainer of a world. labels Jan 19, 2025
@Kardyne Kardyne force-pushed the subnautica_radiation branch from 1a77fc7 to 4f52b36 Compare January 19, 2025 09:48
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 farther 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).
@Kardyne Kardyne force-pushed the subnautica_radiation branch from 4f52b36 to 02b907e Compare February 19, 2025 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: enhancement Issues requesting new features or pull requests implementing new features. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. waiting-on: world-maintainer Issue/PR is waiting for feedback or approval by the maintainer of a world.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants