mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 05:05:47 +01:00
BUGFIX: Format money requirement in fl1ght.exe (#1061)
This commit is contained in:
parent
cb7c75a3ce
commit
05295598a4
@ -288,17 +288,17 @@ export const Programs: Record<CompletedProgramName, Program> = {
|
|||||||
run: (): void => {
|
run: (): void => {
|
||||||
const numAugReq = currentNodeMults.DaedalusAugsRequirement;
|
const numAugReq = currentNodeMults.DaedalusAugsRequirement;
|
||||||
const fulfilled =
|
const fulfilled =
|
||||||
Player.augmentations.length >= numAugReq && Player.money > 1e11 && Player.skills.hacking >= 2500;
|
Player.augmentations.length >= numAugReq && Player.money >= 1e11 && Player.skills.hacking >= 2500;
|
||||||
if (!fulfilled) {
|
if (!fulfilled) {
|
||||||
if (Player.augmentations.length >= numAugReq) {
|
if (Player.augmentations.length >= numAugReq) {
|
||||||
Terminal.print(`[x] Augmentations: ${Player.augmentations.length} / ${numAugReq}`);
|
Terminal.print(`[x] Augmentations: ${Player.augmentations.length} / ${numAugReq}`);
|
||||||
} else {
|
} else {
|
||||||
Terminal.print(`[ ] Augmentations: ${Player.augmentations.length} / ${numAugReq}`);
|
Terminal.print(`[ ] Augmentations: ${Player.augmentations.length} / ${numAugReq}`);
|
||||||
}
|
}
|
||||||
if (Player.money > 1e11) {
|
if (Player.money >= 1e11) {
|
||||||
Terminal.print(`[x] Money: ${formatMoney(Player.money)} / $100b`);
|
Terminal.print(`[x] Money: ${formatMoney(Player.money)} / ${formatMoney(1e11)}`);
|
||||||
} else {
|
} else {
|
||||||
Terminal.print(`[ ] Money: ${formatMoney(Player.money)} / $100b`);
|
Terminal.print(`[ ] Money: ${formatMoney(Player.money)} / ${formatMoney(1e11)}`);
|
||||||
}
|
}
|
||||||
if (Player.skills.hacking >= 2500) {
|
if (Player.skills.hacking >= 2500) {
|
||||||
Terminal.print(`[x] Hacking skill: ${Player.skills.hacking} / 2500`);
|
Terminal.print(`[x] Hacking skill: ${Player.skills.hacking} / 2500`);
|
||||||
|
Loading…
Reference in New Issue
Block a user