SINGULARITY: Adding getUnlockedAchievements function (#2156)

This commit is contained in:
Chris Farfan de los Godos
2025-05-24 23:47:34 +03:00
committed by GitHub
parent eaf4014516
commit 552d13ad6d
5 changed files with 38 additions and 0 deletions

View File

@@ -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[];
}
/**