Skip to content

Commit

Permalink
Merge pull request #1499 from thunderstore-io/add-games-old-market-si…
Browse files Browse the repository at this point in the history
…mulator-and-subterranauts

Add games Old Market Simulator and Subterranauts
  • Loading branch information
anttimaki authored Oct 22, 2024
2 parents 1c25b7c + 304c4cf commit 34cd1f1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion src/model/game/GameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -794,12 +794,24 @@ export default class GameManager {
"https://thunderstore.io/c/gorebox/api/v1/package-listing-index/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "2027330")], "GoreBox.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),

new Game("TCG Card Shop Simulator", "TCGCardShopSimulator", "TCG Card Shop Simulator",
"TCG Card Shop Simulator", ["Card Shop Simulator.exe"], "Card Shop Simulator_Data",
"https://thunderstore.io/c/tcg-card-shop-simulator/api/v1/package-listing-index/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "3070070")], "TCGCardShopSimulator.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),

new Game("Old Market Simulator", "OldMarketSimulator", "Old Market Simulator",
"Old Market Simulator", ["Old Market Simulator.exe"], "Old Market Simulator_Data",
"https://thunderstore.io/c/old-market-simulator/api/v1/package-listing-index/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "2878420")], "OldMarketSimulator.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),

new Game("Subterranauts", "Subterranauts", "Subterranauts",
"Subterranauts", ["Subterranauts.exe"], "Subterranauts_Data",
"https://thunderstore.io/c/subterranauts/api/v1/package-listing-index/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "3075800")], "Subterranauts.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),
];

static get activeGame(): Game {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ export default class InstallationRuleApplicator {
buildBepInExRules("FiveNightsAtFreddysIntoThePit"),
buildBepInExRules("GoreBox"),
buildBepInExRules("TCGCardShopSimulator"),
buildBepInExRules("OldMarketSimulator"),
buildBepInExRules("Subterranauts"),
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ const VARIANTS = {
FiveNightsAtFreddysIntoThePit: MODLOADER_PACKAGES,
GoreBox: MODLOADER_PACKAGES,
TCGCardShopSimulator: MODLOADER_PACKAGES,
OldMarketSimulator: MODLOADER_PACKAGES,
Subterranauts: 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 34cd1f1

Please sign in to comment.