Skip to content

Commit

Permalink
Add game: Peaks of Yore
Browse files Browse the repository at this point in the history
  • Loading branch information
VilppeRiskidev committed Dec 5, 2024
1 parent ca2dc65 commit 57a9ee8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/model/game/GameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export default class InstallationRuleApplicator {
buildBepInExRules("SULFUR"),
buildBepInExRules("STRAFTAT"),
buildBepInExRules("ATLYSS"),
buildBepInExRules("PeaksOfYore"),
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 57a9ee8

Please sign in to comment.