mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 04:17:05 +02:00
Changelog and markdown update
This commit is contained in:
@@ -23,21 +23,11 @@ RAM cost: 1 GB \* 16/4/1
|
||||
|
||||
This function allows the player to get a list of programs available for purchase on the dark web. Players MUST have purchased Tor to get the list of programs available. If Tor has not been purchased yet, this function will return an empty list.
|
||||
|
||||
## Example 1
|
||||
## Example
|
||||
|
||||
|
||||
```ts
|
||||
// NS1
|
||||
getDarkwebPrograms();
|
||||
// returns ['BruteSSH.exe', 'FTPCrack.exe'...etc]
|
||||
```
|
||||
|
||||
## Example 2
|
||||
|
||||
|
||||
```ts
|
||||
// NS2
|
||||
ns.getDarkwebPrograms();
|
||||
// returns ['BruteSSH.exe', 'FTPCrack.exe'...etc]
|
||||
```js
|
||||
const programs = ns.getDarkwebPrograms();
|
||||
ns.tprint(`Available programs are: ${programs.split(", ")}`);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user