Subnautica: updates (#759)

* Subnautica: add more goals

* Subnautica: fix wrongly positioned Databox

* Subnautica: allow techs to remain vanilla

* Subnautica: make zipimport compatible

* Subnautica: force two Seaglide fragments into local sphere 1
This commit is contained in:
Fabian Dill
2022-07-15 17:41:53 +02:00
committed by GitHub
parent 8e15fe51b6
commit 73fb1b8074
9 changed files with 1059 additions and 715 deletions

View File

@@ -2,13 +2,36 @@ from Options import Choice
class ItemPool(Choice):
"""Valuable item pool moves all not progression relevant items to starting inventory and
creates random duplicates of important items in their place."""
"""Valuable item pool leaves all filler items in their vanilla locations and
creates random duplicates of important items into freed spots."""
display_name = "Item Pool"
option_standard = 0
option_valuable = 1
class Goal(Choice):
"""Goal to complete.
Launch: Leave the planet.
Free: Disable quarantine.
Infected: Reach maximum infection level.
Drive: Repair the Aurora's Drive Core"""
auto_display_name = True
display_name = "Goal"
option_launch = 0
option_free = 1
option_infected = 2
option_drive = 3
def get_event_name(self) -> str:
return {
self.option_launch: "Neptune Launch",
self.option_infected: "Full Infection",
self.option_free: "Disable Quarantine",
self.option_drive: "Repair Aurora Drive"
}[self.value]
options = {
"item_pool": ItemPool
"item_pool": ItemPool,
"goal": Goal,
}