Skip to content

Commit

Permalink
Merge pull request #1376 from ebkr/add-gloomwood
Browse files Browse the repository at this point in the history
Add Gloomwood
  • Loading branch information
anttimaki authored Jun 24, 2024
2 parents ac659ed + 353e70a commit 4601ccc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Binary file added src/assets/images/game_selection/Gloomwood.png
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 @@ -681,6 +681,12 @@ export default class GameManager {
"https://thunderstore.io/c/below-the-stone/api/v1/package/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "1170230")], "BelowTheStone.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["bts"]),

new Game("Gloomwood", "Gloomwood", "Gloomwood",
"Gloomwood", ["Gloomwood.exe"], "Gloomwood_Data",
"https://thunderstore.io/c/gloomwood/api/v1/package/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "1150760")], "Gloomwood.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["gw"]),
];

static get activeGame(): Game {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export default class InstallationRuleApplicator {
buildBepInExRules("SlipstreamRogueSpace"),
buildBepInExRules("BacktotheDawn"),
buildBepInExRules("BelowTheStone"),
buildBepInExRules("Gloomwood"),
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ const VARIANTS = {
SlipstreamRogueSpace: MODLOADER_PACKAGES,
BacktotheDawn: MODLOADER_PACKAGES,
BelowTheStone: MODLOADER_PACKAGES,
Gloomwood: 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 4601ccc

Please sign in to comment.