mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 08:03:48 +01:00
fli1ght now displays the correct number of augs
This commit is contained in:
parent
971bfbada4
commit
cb66ad9628
@ -2,6 +2,7 @@ import {substituteAliases, printAliases,
|
|||||||
parseAliasDeclaration,
|
parseAliasDeclaration,
|
||||||
removeAlias, GlobalAliases,
|
removeAlias, GlobalAliases,
|
||||||
Aliases} from "./Alias";
|
Aliases} from "./Alias";
|
||||||
|
import { BitNodeMultipliers } from "./BitNode/BitNodeMultipliers";
|
||||||
import {CodingContract, CodingContractResult,
|
import {CodingContract, CodingContractResult,
|
||||||
CodingContractRewardType} from "./CodingContracts";
|
CodingContractRewardType} from "./CodingContracts";
|
||||||
import {CONSTANTS} from "./Constants";
|
import {CONSTANTS} from "./Constants";
|
||||||
@ -2144,7 +2145,8 @@ let Terminal = {
|
|||||||
post("DeepscanV2.exe lets you run 'scan-analyze' with a depth up to 10.");
|
post("DeepscanV2.exe lets you run 'scan-analyze' with a depth up to 10.");
|
||||||
};
|
};
|
||||||
programHandlers[Programs.Flight.name] = () => {
|
programHandlers[Programs.Flight.name] = () => {
|
||||||
const fulfilled = Player.augmentations.length >= 30 &&
|
const numAugReq = Math.round(BitNodeMultipliers.DaedalusAugsRequirement*30)
|
||||||
|
const fulfilled = Player.augmentations.length >= numAugReq &&
|
||||||
Player.money.gt(1e11) &&
|
Player.money.gt(1e11) &&
|
||||||
((Player.hacking_skill >= 2500)||
|
((Player.hacking_skill >= 2500)||
|
||||||
(Player.strength >= 1500 &&
|
(Player.strength >= 1500 &&
|
||||||
@ -2152,17 +2154,17 @@ let Terminal = {
|
|||||||
Player.dexterity >= 1500 &&
|
Player.dexterity >= 1500 &&
|
||||||
Player.agility >= 1500));
|
Player.agility >= 1500));
|
||||||
if(!fulfilled) {
|
if(!fulfilled) {
|
||||||
post("Augmentations: " + Player.augmentations.length + " / 30");
|
post(`Augmentations: ${Player.augmentations.length} / ${numAugReq}`);
|
||||||
|
|
||||||
post("Money: " + numeralWrapper.format(Player.money.toNumber(), '($0.000a)') + " / " + numeralWrapper.format(1e11, '($0.000a)'));
|
post(`Money: ${numeralWrapper.format(Player.money.toNumber(), '($0.000a)')} / numeralWrapper.format(1e11, '($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`);
|
||||||
post("----------COMBAT PATH----------");
|
post("----------COMBAT PATH----------");
|
||||||
post("Strength: " + Player.strength + " / 1500");
|
post(`Strength: ${Player.strength} / 1500`);
|
||||||
post("Defense: " + Player.defense + " / 1500");
|
post(`Defense: ${Player.defense} / 1500`);
|
||||||
post("Dexterity: " + Player.dexterity + " / 1500");
|
post(`Dexterity: ${Player.dexterity} / 1500`);
|
||||||
post("Agility: " + Player.agility + " / 1500");
|
post(`Agility: ${Player.agility} / 1500`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user