Creates a focuser that manages faction focus.
The Netscript object.
Priority this focuser should run at, defaults to 25.
Current faction being worked for.
The Netscript object.
The name of the focusable.
Work for the faction with the most augmentations available.
Whether the focus action was successful.
Determine which is the best faction to focus on.
Faction with the most augmentations available.
Return factions which are can be focused on.
All Factions which which are accepted and have rep needed to purchase augmentations.
Get the largest rep requirement of the augmentations offered by faction.
Faction to check.
Largest rep cost of the augmentations offered.
Gets unpurchased augmentations for faction.
The faction to check.
The augmentations which aren't purchased.
Return factions with priority augmentations.
All Factions which which are accepted and have priority augmentations available.
Gets unpurchased augmentations for faction that are within reach.
The faction to check.
The augmentations which aren't purchased.
User can focus if there's a faction where rep is needed to purchase augmentations.
Whether the user has factions with augmentations available and rep needed.
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
Get time needed for task, defaults to this._sleepTime.
The time to sleep before running the manager again.
Returns high priority if priority factions are available, medium if there's a lot of factions to focus on, default otherwise.
Whether the user has factions with augmentations available and rep needed.
Check if we have enough rep for the most expensive augmentation.
True if we need to keep working, false otherwise..
Checks if the action should run in the background, defaults to if priority is > 50.
True if this can run in the background, False if it needs to be in the foreground.
Generated using TypeDoc
Focusable managing working for factions.