diff --git a/src/assets/images/game_selection/SupermarketTogether.png b/src/assets/images/game_selection/SupermarketTogether.png new file mode 100644 index 00000000..a9bdfb58 Binary files /dev/null and b/src/assets/images/game_selection/SupermarketTogether.png differ diff --git a/src/model/game/GameManager.ts b/src/model/game/GameManager.ts index 660b3f6e..cbf8fce8 100644 --- a/src/model/game/GameManager.ts +++ b/src/model/game/GameManager.ts @@ -698,6 +698,12 @@ export default class GameManager { new StorePlatformMetadata(StorePlatform.OTHER) ], "AmongUs.png", GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["au"]), + + new Game("Supermarket Together", "SupermarketTogether", "SupermarketTogether", + "Supermarket Together", ["Supermarket Together.exe"], "Supermarket Together_Data", + "https://thunderstore.io/c/supermarket-together/api/v1/package/", EXCLUSIONS, + [new StorePlatformMetadata(StorePlatform.STEAM, "2709570")], "SupermarketTogether.png", + GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]), ]; 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 28e2f918..e001ee71 100644 --- a/src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts +++ b/src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts @@ -134,6 +134,7 @@ export default class InstallationRuleApplicator { buildBepInExRules("BelowTheStone"), buildBepInExRules("Gloomwood"), buildBepInExRules("AmongUs"), + buildBepInExRules("SupermarketTogether"), ] } } diff --git a/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts b/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts index 3184d8d0..6a41b289 100644 --- a/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts +++ b/src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts @@ -183,6 +183,7 @@ const VARIANTS = { BelowTheStone: MODLOADER_PACKAGES, Gloomwood: MODLOADER_PACKAGES, AmongUs: MODLOADER_PACKAGES, + SupermarketTogether: 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.