Skip to content

Commit ca35974

Browse files
authored
Merge pull request #1377 from ebkr/add-among-us
Add Among Us
2 parents 4601ccc + 8133643 commit ca35974

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed
39.8 KB
Loading

src/model/game/GameManager.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,17 @@ export default class GameManager {
687687
"https://thunderstore.io/c/gloomwood/api/v1/package/", EXCLUSIONS,
688688
[new StorePlatformMetadata(StorePlatform.STEAM, "1150760")], "Gloomwood.png",
689689
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["gw"]),
690+
691+
new Game("Among Us", "AmongUs", "AmongUs",
692+
"Among Us", ["Among Us.exe"], "Among Us_Data",
693+
"https://thunderstore.io/c/among-us/api/v1/package/", EXCLUSIONS,
694+
[
695+
new StorePlatformMetadata(StorePlatform.STEAM, "945360"),
696+
new StorePlatformMetadata(StorePlatform.EPIC_GAMES_STORE, "among-us"),
697+
new StorePlatformMetadata(StorePlatform.XBOX_GAME_PASS, "Innersloth.AmongUs"),
698+
new StorePlatformMetadata(StorePlatform.OTHER)
699+
],
700+
"AmongUs.png", GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["au"]),
690701
];
691702

692703
static get activeGame(): Game {

src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ export default class InstallationRuleApplicator {
135135
buildBepInExRules("BacktotheDawn"),
136136
buildBepInExRules("BelowTheStone"),
137137
buildBepInExRules("Gloomwood"),
138+
buildBepInExRules("AmongUs"),
138139
]
139140
}
140141
}

src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ const VARIANTS = {
182182
BacktotheDawn: MODLOADER_PACKAGES,
183183
BelowTheStone: MODLOADER_PACKAGES,
184184
Gloomwood: MODLOADER_PACKAGES,
185+
AmongUs: MODLOADER_PACKAGES,
185186
};
186187
// Exported separately from the definition in order to preserve the key names in the type definition.
187188
// Otherwise this would become [key: string] and we couldn't use the game names for type hinting elsewhere.

0 commit comments

Comments
 (0)