Skip to content

Commit

Permalink
Merge pull request #1449 from thunderstore-io/hard-paquette-shapez
Browse files Browse the repository at this point in the history
Add 3 games
  • Loading branch information
anttimaki authored Sep 19, 2024
2 parents 232551a + 966386d commit 351a5b2
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
Binary file added src/assets/images/game_selection/HardTime3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/game_selection/Shapez2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions src/model/game/GameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,24 @@ export default class GameManager {
"https://thunderstore.io/c/hades-ii/api/v1/package/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "1145350")], "Hades2.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.RETURN_OF_MODDING, ["h2"]),

new Game("Shapez 2", "Shapez2", "Shapez2",
"shapez 2", ["shapez 2.exe"], "shapez 2_Data",
"https://thunderstore.io/c/shapez-2/api/v1/package/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "2162800")], "Shapez2.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),

new Game("Paquerette Down the Bunburrows", "PaqueretteDownTheBunburrows", "PaqueretteDownTheBunburrows",
"Paquerette Down the Bunburrows", ["Paquerette Down the Bunburrows.exe"], "Paquerette Down the Bunburrows_Data",
"https://thunderstore.io/c/paquerette-down-the-bunburrows/api/v1/package/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "1628610")], "PaqueretteDownTheBunburrows.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),

new Game("Hard Time III", "HardTime3", "HardTime3",
"Hard Time III", ["Hard Time III.exe"], "Hard Time III_Data",
"https://thunderstore.io/c/hard-time-3/api/v1/package/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "3009850")], "HardTime3.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),
];

static get activeGame(): Game {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ export default class InstallationRuleApplicator {
buildBepInExRules("NineSols"),
buildBepInExRules("GoodbyeVolcanoHigh"),
buildBepInExRules("SupermarketTogether"),
buildBepInExRules("Shapez2"),
buildBepInExRules("PaqueretteDownTheBunburrows"),
buildBepInExRules("HardTime3"),
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ const VARIANTS = {
GoodbyeVolcanoHigh: MODLOADER_PACKAGES,
SupermarketTogether: MODLOADER_PACKAGES,
HadesII: MODLOADER_PACKAGES,
Shapez2: MODLOADER_PACKAGES,
PaqueretteDownTheBunburrows: MODLOADER_PACKAGES,
HardTime3: 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

0 comments on commit 351a5b2

Please sign in to comment.