Creates a focuser that manages crime work.
The Netscript object.
Priority this focuser should run at, defaults to 50
.
Time to sleep, set when executing a task.
Current crime being worked.
The Netscript object.
The name of the focusable.
Commit a crime.
True if crime was successful, false otherwise.
Check if we need to kill someone.
True if we still need to kill for a faction invitation.
Check if we need to lose karma.
True if we still need to lose karma for a faction invitation.
Check if we should commit a crime.
The crime to check if we should commit.
True if there's a good chance to succeed, false otherwise.
Check if we need to commit a crime to meet faction requirements.
True if we need to kill or lose karma.
Executes a focus action, returning a predefined sleep time.
_sleepTime
if successful, -1 otherwise.
Gets how often to check for task completion, defaults to this._checkInterval
.
How often to check for task completion.
Returns value from preset field.
Value of this._detailField
if set, "" otherwise
Returns the focus time of the current crime.
Time needed to focus, 0 if not commiting a crime.
Gets the current priority of the focusable action.
Current priority, with 0 being the highest.
Checks if the player is still working.
True if user is still working, false otherwise.
Crimes can never run in the background, returns false always.
Always false.
Generated using TypeDoc
Focusable managing crime.