Skip to content

Commit d8efcd2

Browse files
authored
Merge pull request #1453 from thunderstore-io/add-3-games-tt-fnafitp-distance
Add 3 games
2 parents 96e607a + 30bd6d5 commit d8efcd2

File tree

6 files changed

+24
-0
lines changed

6 files changed

+24
-0
lines changed
48.8 KB
Loading
62.4 KB
Loading
12.5 KB
Loading

src/model/game/GameManager.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,24 @@ export default class GameManager {
770770
"https://thunderstore.io/c/hard-time-3/api/v1/package/", EXCLUSIONS,
771771
[new StorePlatformMetadata(StorePlatform.STEAM, "3009850")], "HardTime3.png",
772772
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),
773+
774+
new Game("Tank Team", "TankTeam", "TankTeam",
775+
"Tank Team", ["Tank Team.exe"], "Tank Team_Data",
776+
"https://thunderstore.io/c/tank-team/api/v1/package/", EXCLUSIONS,
777+
[new StorePlatformMetadata(StorePlatform.STEAM, "2587450")], "TankTeam.jpg",
778+
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),
779+
780+
new Game("Distance", "Distance", "Distance",
781+
"Distance", ["Distance.exe"], "Distance_Data",
782+
"https://thunderstore.io/c/distance/api/v1/package/", EXCLUSIONS,
783+
[new StorePlatformMetadata(StorePlatform.STEAM, "233610")], "Distance.png",
784+
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),
785+
786+
new Game("Five Nights at Freddy's: Into the Pit", "FiveNightsAtFreddysIntoThePit", "FiveNightsAtFreddysIntoThePit",
787+
"Five Nights at Freddy's Into the Pit", ["Five Nights at Freddy's Into the Pit.exe"], "Five Nights at Freddy's Into the Pit_Data",
788+
"https://thunderstore.io/c/five-nights-at-freddys-into-the-pit/api/v1/package/", EXCLUSIONS,
789+
[new StorePlatformMetadata(StorePlatform.STEAM, "2638370")], "FiveNightsAtFreddysIntoThePit.png",
790+
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),
773791
];
774792

775793
static get activeGame(): Game {

src/r2mm/installing/default_installation_rules/InstallationRuleApplicator.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ export default class InstallationRuleApplicator {
145145
buildBepInExRules("Shapez2"),
146146
buildBepInExRules("PaqueretteDownTheBunburrows"),
147147
buildBepInExRules("HardTime3"),
148+
buildBepInExRules("TankTeam"),
149+
buildBepInExRules("Distance"),
150+
buildBepInExRules("FiveNightsAtFreddysIntoThePit"),
148151
]
149152
}
150153
}

src/r2mm/installing/profile_installers/ModLoaderVariantRecord.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ const VARIANTS = {
196196
Shapez2: MODLOADER_PACKAGES,
197197
PaqueretteDownTheBunburrows: MODLOADER_PACKAGES,
198198
HardTime3: MODLOADER_PACKAGES,
199+
TankTeam: MODLOADER_PACKAGES,
200+
Distance: MODLOADER_PACKAGES,
201+
FiveNightsAtFreddysIntoThePit: MODLOADER_PACKAGES,
199202
};
200203
// Exported separately from the definition in order to preserve the key names in the type definition.
201204
// Otherwise this would become [key: string] and we couldn't use the game names for type hinting elsewhere.

0 commit comments

Comments
 (0)