Add Infinite Platinum Option #346

Closed
VampireKitten wants to merge 12 commits from vamp-dev into main
2 changed files with 11 additions and 0 deletions
Showing only changes of commit 30762efe5a - Show all commits

View File

@ -16,6 +16,7 @@
"unlockAllQuests": true,
"completeAllQuests": false,
"infiniteResources": true,
"infinitePlatinum": true,
"unlockAllShipFeatures": true,
"unlockAllShipDecorations": true,
"unlockAllFlavourItems": true,

View File

@ -22,6 +22,16 @@ export const getCreditsController: RequestHandler = async (req, res) => {
});
return;
}
if (config.infinitePlatinum) {
res.json({
RegularCredits: inventory.RegularCredits,
TradesRemaining: inventory.TradesRemaining,
PremiumCreditsFree: 999999999,
PremiumCredits: 999999999
});
OrdisPrime commented 2024-07-01 03:30:31 -07:00 (Migrated from github.com)
Review

formatting - are you not using prettier?

formatting - are you not using prettier?
return;
}
const inventory = await getInventory(accountId);
res.json({