Add Infinite Platinum Option
For players who want infinite platinum but still want to farm credits (like me).
This commit is contained in:
parent
3476d6b11c
commit
30762efe5a
@ -16,6 +16,7 @@
|
||||
"unlockAllQuests": true,
|
||||
"completeAllQuests": false,
|
||||
"infiniteResources": true,
|
||||
"infinitePlatinum": true,
|
||||
"unlockAllShipFeatures": true,
|
||||
"unlockAllShipDecorations": true,
|
||||
"unlockAllFlavourItems": true,
|
||||
|
@ -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
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
const inventory = await getInventory(accountId);
|
||||
res.json({
|
||||
|
Loading…
x
Reference in New Issue
Block a user