Skip to content

Commit

Permalink
Merge pull request #1241 from ethangreen-dev/plasma
Browse files Browse the repository at this point in the history
Add Plasma
  • Loading branch information
MythicManiac authored Mar 14, 2024
2 parents fcb21a7 + d78a014 commit 71b0903
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
Binary file added src/assets/images/game_selection/Plasma.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion src/model/game/GameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,13 @@ export default class GameManager {
"Palworld", ["Palworld.exe"], "Pal",
"https://thunderstore.io/c/palworld/api/v1/package/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "1623730")], "Palworld.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.SHIMLOADER, ["palworld"])
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.SHIMLOADER, ["palworld"]),

new Game("Plasma", "Plasma", "Plasma",
"Plasma", ["Plasma.exe"], "Plasma_Data",
"https://thunderstore.io/c/plasma/api/v1/package/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "1409160")], "Plasma.jpg",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, []),
];

static get activeGame(): Game {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export default class InstallationRuleApplicator {
buildBepInExRules("MeepleStation"),
buildBepInExRules("VoidCrew"),
buildBepInExRules("Sailwind"),
buildBepInExRules("Plasma"),
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ const VARIANTS = {
Sailwind: MODLOADER_PACKAGES,
VotV: MODLOADER_PACKAGES,
Palworld: MODLOADER_PACKAGES,
Plasma: 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
2 changes: 1 addition & 1 deletion src/r2mm/manager/SettingsDexieStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class SettingsDexieStore extends Dexie {

// Add all games to store. Borked v2-3 locally
// Increment per game or change to settings.
this.version(66).stores(store);
this.version(67).stores(store);

this.activeGame = game;
this.global = this.table("value");
Expand Down

0 comments on commit 71b0903

Please sign in to comment.