diff --git a/src/NetscriptFunctions/Sleeve.ts b/src/NetscriptFunctions/Sleeve.ts index f469e1129..684888ada 100644 --- a/src/NetscriptFunctions/Sleeve.ts +++ b/src/NetscriptFunctions/Sleeve.ts @@ -162,6 +162,7 @@ export function NetscriptSleeve(): InternalAPI { shock: sl.shock, sync: sl.sync, memory: sl.memory, + storedCycles: sl.storedCycles, }; return data; diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 8c9521edf..2d7304f2d 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -59,9 +59,14 @@ interface Player extends Person { /** @public */ interface SleevePerson extends Person { + /** Number 0-100 Experience earned and shared is multiplied with shock% before sync% */ shock: number; + /** Number 1-100 Experience earned by this sleeve and shared with the player is multiplied with sync% after shock% */ sync: number; + /** Number 1-100 initial Value of sync on BN start */ memory: number; + /** Number of 200ms cycles which are stored as bonus time */ + storedCycles: number; } /** @public */ @@ -3568,6 +3573,8 @@ export interface Sleeve { * * Return a person object for this sleeve * + * storedCycles is the amount of Bonus Time in cycles, each translates to 200ms + * * @param sleeveNumber - Index of the sleeve to retrieve information. * @returns Object containing information about this sleeve. */