mirror of
https://github.com/ModOrganizer2/modorganizer-basic_games.git
synced 2026-07-27 14:07:29 -07:00
40 lines
1.3 KiB
Python
40 lines
1.3 KiB
Python
from __future__ import annotations
|
|
|
|
import mobase
|
|
|
|
from ..basic_features.basic_mod_data_checker import GlobPatterns
|
|
from . import game_subnautica # namespace to not load SubnauticaGame here, too!
|
|
|
|
|
|
class SubnauticaBelowZeroGame(game_subnautica.SubnauticaGame):
|
|
Name = "Subnautica Below Zero Support Plugin"
|
|
Author = "dekart811, Zash"
|
|
Version = "2.1"
|
|
|
|
GameName = "Subnautica: Below Zero"
|
|
GameShortName = "subnauticabelowzero"
|
|
GameNexusName = "subnauticabelowzero"
|
|
GameSteamId = 848450
|
|
GameBinary = "SubnauticaZero.exe"
|
|
GameDataPath = "_ROOT"
|
|
GameDocumentsDirectory = "%GAME_PATH%"
|
|
GameSupportURL = (
|
|
r"https://github.com/ModOrganizer2/modorganizer-basic_games/wiki/"
|
|
"Game:-Subnautica:-Below-Zero"
|
|
)
|
|
GameSavesDirectory = r"%GAME_PATH%\SNAppData\SavedGames"
|
|
|
|
_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)
|
|
self._featureMap[mobase.ModDataChecker] = (
|
|
game_subnautica.SubnauticaModDataChecker(
|
|
GlobPatterns(unfold=["BepInExPack_BelowZero"])
|
|
)
|
|
)
|
|
return True
|