mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-19 14:13:48 +01:00
Merge pull request #331 from hydroflame/format-fl1ght
Format fl1ght, fix #328
This commit is contained in:
commit
6193faa44a
@ -20,6 +20,7 @@ import {scriptCalculateHackingTime,
|
|||||||
scriptCalculateGrowTime,
|
scriptCalculateGrowTime,
|
||||||
scriptCalculateWeakenTime} from "./NetscriptEvaluator.js";
|
scriptCalculateWeakenTime} from "./NetscriptEvaluator.js";
|
||||||
import {killWorkerScript, addWorkerScript} from "./NetscriptWorker.js";
|
import {killWorkerScript, addWorkerScript} from "./NetscriptWorker.js";
|
||||||
|
import numeral from "numeral/min/numeral.min";
|
||||||
import {Player} from "./Player.js";
|
import {Player} from "./Player.js";
|
||||||
import {hackWorldDaemon} from "./RedPill.js";
|
import {hackWorldDaemon} from "./RedPill.js";
|
||||||
import {findRunningScript, RunningScript,
|
import {findRunningScript, RunningScript,
|
||||||
@ -1916,7 +1917,8 @@ let Terminal = {
|
|||||||
break;
|
break;
|
||||||
case Programs.Flight:
|
case Programs.Flight:
|
||||||
post("Augmentations: " + Player.augmentations.length + " / 30");
|
post("Augmentations: " + Player.augmentations.length + " / 30");
|
||||||
post("Money: $" + formatNumber(Player.money.toNumber(), 2) + " / $" + formatNumber(100000000000, 2));
|
|
||||||
|
post("Money: " + numeral(Player.money.toNumber()).format('($0.000a)') + " / " + numeral(1e11).format('($0.000a)'));
|
||||||
post("One path below must be fulfilled...");
|
post("One path below must be fulfilled...");
|
||||||
post("----------HACKING PATH----------");
|
post("----------HACKING PATH----------");
|
||||||
post("Hacking skill: " + Player.hacking_skill + " / 2500");
|
post("Hacking skill: " + Player.hacking_skill + " / 2500");
|
||||||
|
Loading…
Reference in New Issue
Block a user