mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-28 00:47:33 +01:00
1012 B
1012 B
Home > bitburner > Singularity > purchaseProgram
Singularity.purchaseProgram() method
Purchase a program from the dark web.
Signature:
purchaseProgram(programName: string): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
programName | string | Name of program to purchase. |
Returns:
boolean
True if the specified program is purchased, and false otherwise.
Remarks
RAM cost: 2 GB
Singularity - Level 1
This function allows you to automatically purchase programs. You MUST have a TOR router in order to use this function. The cost of purchasing programs using this function is the same as if you were purchasing them through the Dark Web using the Terminal buy command.
Example
purchaseProgram("brutessh.exe");