mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 06:32:26 +01:00
Bladeburner automation status always displays the commands, even when disabled
This commit is contained in:
parent
7066a793a1
commit
79345a49b4
2
dist/engine.bundle.js
vendored
2
dist/engine.bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -606,13 +606,11 @@ export class Bladeburner implements IBladeburner {
|
||||
const flag = args[1];
|
||||
if (flag.toLowerCase() === "status") {
|
||||
this.postToConsole("Automation: " + (this.automateEnabled ? "enabled" : "disabled"));
|
||||
if (this.automateEnabled) {
|
||||
this.postToConsole("When your stamina drops to " + formatNumber(this.automateThreshLow, 0) +
|
||||
", you will automatically switch to " + this.automateActionLow.name +
|
||||
". When your stamina recovers to " +
|
||||
formatNumber(this.automateThreshHigh, 0) + ", you will automatically " +
|
||||
"switch to " + this.automateActionHigh.name + ".");
|
||||
}
|
||||
this.postToConsole("When your stamina drops to " + formatNumber(this.automateThreshLow, 0) +
|
||||
", you will automatically switch to " + this.automateActionLow.name +
|
||||
". When your stamina recovers to " +
|
||||
formatNumber(this.automateThreshHigh, 0) + ", you will automatically " +
|
||||
"switch to " + this.automateActionHigh.name + ".");
|
||||
|
||||
} else if (flag.toLowerCase().includes("en")) {
|
||||
if (!(this.automateActionLow instanceof ActionIdentifier) ||
|
||||
|
Loading…
Reference in New Issue
Block a user