mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 23:38:35 +02:00
SINGULARITY: Adding getUnlockedAchievements function (#2156)
This commit is contained in:
committed by
GitHub
parent
eaf4014516
commit
552d13ad6d
9
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
9
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -2805,6 +2805,15 @@ export interface Singularity {
|
||||
* @returns - An object representing the current work. Fields depend on the kind of work.
|
||||
*/
|
||||
getCurrentWork(): Task | null;
|
||||
|
||||
/**
|
||||
* Get a list of all unlocked achievements.
|
||||
* @remarks
|
||||
* Ram cost: 5 GB * 16/4/1
|
||||
*
|
||||
* @returns - A list containing all of the IDs of achievements that the player has unlocked.
|
||||
*/
|
||||
getUnlockedAchievements(): string[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user