mirror of
https://github.com/ModOrganizer2/modorganizer-basic_games.git
synced 2026-07-27 14:07:29 -07:00
Subnautica Below Zero update: based on Subnautica
This commit is contained in:
@@ -1,23 +1,37 @@
|
||||
from ..basic_game import BasicGame
|
||||
from __future__ import annotations
|
||||
|
||||
import mobase
|
||||
|
||||
from . import game_subnautica # namespace to not load SubnauticaGame here, too!
|
||||
|
||||
|
||||
class SubnauticaGame(BasicGame):
|
||||
class SubnauticaBelowZeroGame(game_subnautica.SubnauticaGame):
|
||||
|
||||
Name = "Subnautica Below Zero Support Plugin"
|
||||
Author = "dekart811"
|
||||
Version = "1.0"
|
||||
Author = "dekart811, Zash"
|
||||
Version = "2.0"
|
||||
|
||||
GameName = "Subnautica: Below Zero"
|
||||
GameShortName = "subnauticabelowzero"
|
||||
GameNexusName = "subnauticabelowzero"
|
||||
GameSteamId = 848450
|
||||
GameBinary = "SubnauticaZero.exe"
|
||||
GameDataPath = "QMods"
|
||||
GameDataPath = ""
|
||||
GameDocumentsDirectory = "%GAME_PATH%"
|
||||
GameSupportURL = (
|
||||
r"https://github.com/ModOrganizer2/modorganizer-basic_games/wiki/"
|
||||
"Game:-Subnautica:-Below-Zero"
|
||||
)
|
||||
GameSavesDirectory = r"%GAME_PATH%\SNAppData\SavedGames"
|
||||
|
||||
def iniFiles(self):
|
||||
return ["doorstop_config.ini"]
|
||||
_game_extra_save_paths = [
|
||||
r"%USERPROFILE%\Appdata\LocalLow\Unknown Worlds"
|
||||
r"\Subnautica Below Zero\SubnauticaZero\SavedGames"
|
||||
]
|
||||
|
||||
def init(self, organizer: mobase.IOrganizer) -> bool:
|
||||
super().init(organizer)
|
||||
checker = game_subnautica.SubnauticaModDataChecker()
|
||||
checker.update_patterns({"unfold": ["BepInExPack_BelowZero"]})
|
||||
self._featureMap[mobase.ModDataChecker] = checker
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user