Skip to content

Commit f204212

Browse files
authored
Merge pull request #1638 from ebkr/add-game-disco-elysium
Add game: Disco Elysium
2 parents 3551f67 + cc04cd1 commit f204212

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed
29.5 KB
Loading

src/model/game/GameManager.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,12 @@ export default class GameManager {
883883
"https://thunderstore.io/c/zort/api/v1/package-listing-index/",
884884
[new StorePlatformMetadata(StorePlatform.STEAM, "3121110")], "zort.png",
885885
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),
886+
887+
new Game("Disco Elysium", "DiscoElysium", "Disco Elysium",
888+
"Disco Elysium", ["disco.exe"], "disco_Data",
889+
"https://thunderstore.io/c/disco-elysium/api/v1/package-listing-index/",
890+
[new StorePlatformMetadata(StorePlatform.STEAM, "632470")], "DiscoElysium.webp",
891+
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["de"]),
886892
];
887893

888894
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
@@ -161,6 +161,7 @@ export default class InstallationRuleApplicator {
161161
buildBepInExRules("MiSide"),
162162
buildBepInExRules("REPO"),
163163
buildBepInExRules("Zort"),
164+
buildBepInExRules("DiscoElysium"),
164165
]
165166
}
166167
}

src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ const VARIANTS = {
219219
GangBeasts: RECURSIVE_MELONLOADER_MAPPING,
220220
REPO: MODLOADER_PACKAGES,
221221
Zort: MODLOADER_PACKAGES,
222+
DiscoElysium: MODLOADER_PACKAGES,
222223
};
223224
// Exported separately from the definition in order to preserve the key names in the type definition.
224225
// Otherwise this would become [key: string] and we couldn't use the game names for type hinting elsewhere.

0 commit comments

Comments
 (0)