mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 20:55:44 +01:00
PROGRAMS: Change flight.exe to easily display unmet requirements (#939)
This commit is contained in:
parent
1b03618555
commit
dd9ace7891
@ -290,9 +290,21 @@ export const Programs: Record<CompletedProgramName, Program> = {
|
||||
const fulfilled =
|
||||
Player.augmentations.length >= numAugReq && Player.money > 1e11 && Player.skills.hacking >= 2500;
|
||||
if (!fulfilled) {
|
||||
Terminal.print(`Augmentations: ${Player.augmentations.length} / ${numAugReq}`);
|
||||
Terminal.print(`Money: ${formatMoney(Player.money)} / $100b`);
|
||||
Terminal.print(`Hacking skill: ${Player.skills.hacking} / 2500`);
|
||||
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`);
|
||||
} else {
|
||||
Terminal.print(`[ ] Money: ${formatMoney(Player.money)} / $100b`);
|
||||
}
|
||||
if (Player.skills.hacking >= 2500) {
|
||||
Terminal.print(`[x] Hacking skill: ${Player.skills.hacking} / 2500`);
|
||||
} else {
|
||||
Terminal.print(`[ ] Hacking skill: ${Player.skills.hacking} / 2500`);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user