diff --git a/src/assets/images/game_selection/PeaksOfYore.png b/src/assets/images/game_selection/PeaksOfYore.png new file mode 100644 index 000000000..c97ee56f3 Binary files /dev/null and b/src/assets/images/game_selection/PeaksOfYore.png differ diff --git a/src/model/game/GameManager.ts b/src/model/game/GameManager.ts index b412a9e87..59ea93301 100644 --- a/src/model/game/GameManager.ts +++ b/src/model/game/GameManager.ts @@ -836,6 +836,12 @@ export default class GameManager { "https://thunderstore.io/c/atlyss/api/v1/package-listing-index/", EXCLUSIONS, [new StorePlatformMetadata(StorePlatform.STEAM, "2768430")], "ATLYSS.png", GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]), + + new Game("Peaks of Yore", "PeaksOfYore", "Peaks of Yore", + "Peaks of Yore", ["Peaks of Yore.exe"], "Peaks of Yore_Data", + "https://thunderstore.io/c/peaks-of-yore/api/v1/package-listing-index/", EXCLUSIONS, + [new StorePlatformMetadata(StorePlatform.STEAM, "2236070")], "PeaksOfYore.png", + GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["poy"]), ]; static get activeGame(): Game { diff --git a/src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts b/src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts index 3ac413676..5b1a89199 100644 --- a/src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts +++ b/src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts @@ -155,6 +155,7 @@ export default class InstallationRuleApplicator { buildBepInExRules("SULFUR"), buildBepInExRules("STRAFTAT"), buildBepInExRules("ATLYSS"), + buildBepInExRules("PeaksOfYore"), ] } } diff --git a/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts b/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts index 32d375547..ce36c90d0 100644 --- a/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts +++ b/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts @@ -209,6 +209,7 @@ const VARIANTS = { WEBFISHING: MODLOADER_PACKAGES, STRAFTAT: MODLOADER_PACKAGES, ATLYSS: MODLOADER_PACKAGES, + PeaksOfYore: MODLOADER_PACKAGES, }; // Exported separately from the definition in order to preserve the key names in the type definition. // Otherwise this would become [key: string] and we couldn't use the game names for type hinting elsewhere.