mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 06:48:42 +02:00
SINGULARITY: Added aug and node identifiers (timestamps of last resets) (#472)
This commit is contained in:
@@ -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