From 05295598a46efefdba306bb224f8df2ec1738f74 Mon Sep 17 00:00:00 2001 From: LJ <23249107+LJNeon@users.noreply.github.com> Date: Wed, 24 Jan 2024 23:45:39 -0700 Subject: [PATCH] BUGFIX: Format money requirement in fl1ght.exe (#1061) --- src/Programs/Programs.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Programs/Programs.ts b/src/Programs/Programs.ts index 3fe226cdc..c963a2e5e 100644 --- a/src/Programs/Programs.ts +++ b/src/Programs/Programs.ts @@ -288,17 +288,17 @@ export const Programs: Record = { run: (): void => { const numAugReq = currentNodeMults.DaedalusAugsRequirement; 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 (Player.augmentations.length >= numAugReq) { Terminal.print(`[x] Augmentations: ${Player.augmentations.length} / ${numAugReq}`); } else { Terminal.print(`[ ] Augmentations: ${Player.augmentations.length} / ${numAugReq}`); } - if (Player.money > 1e11) { - Terminal.print(`[x] Money: ${formatMoney(Player.money)} / $100b`); + if (Player.money >= 1e11) { + Terminal.print(`[x] Money: ${formatMoney(Player.money)} / ${formatMoney(1e11)}`); } else { - Terminal.print(`[ ] Money: ${formatMoney(Player.money)} / $100b`); + Terminal.print(`[ ] Money: ${formatMoney(Player.money)} / ${formatMoney(1e11)}`); } if (Player.skills.hacking >= 2500) { Terminal.print(`[x] Hacking skill: ${Player.skills.hacking} / 2500`);