Step 1 of moving singularity functions

This commit is contained in:
Olivier Gagnon 2022-03-29 17:48:45 -04:00
parent 1789e1b745
commit a6e256ad5a
2 changed files with 7 additions and 0 deletions

@ -486,6 +486,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
const base: INS = { const base: INS = {
...singularity, ...singularity,
singularity: singularity,
gang: gang, gang: gang,
bladeburner: bladeburner, bladeburner: bladeburner,
codingcontract: codingcontract, codingcontract: codingcontract,

@ -4324,6 +4324,12 @@ export interface NS extends Singularity {
*/ */
readonly ui: UserInterface; readonly ui: UserInterface;
/**
* Namespace for singularity functions.
* RAM cost: 0 GB
*/
readonly singularity: Singularity;
/** /**
* Namespace for grafting functions. * Namespace for grafting functions.
* @remarks * @remarks