Skip to content

Commit

Permalink
Add TCG Card Shop Simulator (#1492)
Browse files Browse the repository at this point in the history
Add TCG Card Shop Simulator
  • Loading branch information
SaxbyMod authored Oct 18, 2024
1 parent 805d5bc commit a40e585
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/data/games.json
Original file line number Diff line number Diff line change
Expand Up @@ -5935,4 +5935,4 @@
"discordUrl": "https://discord.gg/mH56AhUwPR"
}
}
}
}
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 @@ -794,6 +794,12 @@ 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, [""]),
];

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

Please sign in to comment.