mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
DOCUMENTATION: Clarify isBusy and stopAction Singularity APIs (#1822)
This commit is contained in:
@@ -15,11 +15,29 @@ isBusy(): boolean;
|
||||
|
||||
boolean
|
||||
|
||||
True if the player is currently performing an ‘action’, false otherwise.
|
||||
True if the player is currently performing an action, false otherwise.
|
||||
|
||||
## Remarks
|
||||
|
||||
RAM cost: 0.5 GB \* 16/4/1
|
||||
|
||||
Returns a boolean indicating whether or not the player is currently performing an ‘action’. These actions include working for a company/faction, studying at a university, working out at a gym, creating a program, committing a crime, etc.
|
||||
Returns a boolean indicating if the player is currently performing an action. These actions include:
|
||||
|
||||
- Studying at a university
|
||||
|
||||
- Working out at a gym
|
||||
|
||||
- Working for a company/faction
|
||||
|
||||
- Creating a program
|
||||
|
||||
- Committing a crime
|
||||
|
||||
- Grafting an augmentation
|
||||
|
||||
Note:
|
||||
|
||||
- This function returns true when the UI is showing the infiltration UI or the BitVerse.
|
||||
|
||||
- This function does not take Bladeburner actions into account. You can use [getCurrentAction](./bitburner.bladeburner.getcurrentaction.md) to check if you are performing a Bladeburner action.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user