mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
SINGULARITY: Added aug and node identifiers (timestamps of last resets) (#472)
This commit is contained in:
@@ -97,8 +97,6 @@ export function NetscriptFormulas(): InternalAPI<IFormulas> {
|
||||
location: "",
|
||||
bitNodeN: 0,
|
||||
totalPlaytime: 0,
|
||||
playtimeSinceLastAug: 0,
|
||||
playtimeSinceLastBitnode: 0,
|
||||
jobs: {},
|
||||
factions: [],
|
||||
entropy: 0,
|
||||
|
||||
@@ -1253,6 +1253,14 @@ export function NetscriptSingularity(): InternalAPI<ISingularity> {
|
||||
helpers.checkSingularityAccess(ctx);
|
||||
return canGetBonus();
|
||||
},
|
||||
getLastAugReset: (ctx) => () => {
|
||||
helpers.checkSingularityAccess(ctx);
|
||||
return Player.lastAugReset;
|
||||
},
|
||||
getLastNodeReset: (ctx) => () => {
|
||||
helpers.checkSingularityAccess(ctx);
|
||||
return Player.lastNodeReset;
|
||||
},
|
||||
};
|
||||
Object.assign(singularityAPI, {
|
||||
getAugmentationCost: removedFunction(
|
||||
|
||||
Reference in New Issue
Block a user