Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add game: Odd Remedy #1652

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/model/game/GameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,12 @@ export default class GameManager {
"https://thunderstore.io/c/repo/api/v1/package-listing-index/",
[new StorePlatformMetadata(StorePlatform.STEAM, "3241660")], "repo.jpg",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["repo"]),

new Game("Odd Remedy", "OddRemedy", "OddRemedy",
"OddRemedy", ["OddRemedy.exe"], "OddRemedy_Data",
"https://thunderstore.io/c/odd-remedy/api/v1/package-listing-index/",
[new StorePlatformMetadata(StorePlatform.STEAM, "1745680")], "OddRemedy.webp",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["or"]),
];

static get activeGame(): Game {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export default class InstallationRuleApplicator {
buildBepInExRules("IAmYourBeast"),
buildBepInExRules("MiSide"),
buildBepInExRules("REPO"),
buildBepInExRules("OddRemedy"),
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ const VARIANTS = {
DaleAndDawson: RECURSIVE_MELONLOADER_MAPPING,
GangBeasts: RECURSIVE_MELONLOADER_MAPPING,
REPO: MODLOADER_PACKAGES,
OddRemedy: 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
Loading