mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
gave distinct fl1ght message when conditions are fulfilled
This commit is contained in:
parent
49d081f42e
commit
9f43a7208c
@ -1922,6 +1922,14 @@ 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.");
|
||||||
break;
|
break;
|
||||||
case Programs.Flight.name:
|
case Programs.Flight.name:
|
||||||
|
const fulfilled = Player.augmentations.length >= 30 &&
|
||||||
|
Player.money.gt(1e11) &&
|
||||||
|
((Player.hacking_skill >= 2500)||
|
||||||
|
(Player.strength >= 1500 &&
|
||||||
|
Player.defense >= 1500 &&
|
||||||
|
Player.dexterity >= 1500 &&
|
||||||
|
Player.agility >= 1500));
|
||||||
|
if(!fulfilled) {
|
||||||
post("Augmentations: " + Player.augmentations.length + " / 30");
|
post("Augmentations: " + Player.augmentations.length + " / 30");
|
||||||
|
|
||||||
post("Money: " + numeral(Player.money.toNumber()).format('($0.000a)') + " / " + numeral(1e11).format('($0.000a)'));
|
post("Money: " + numeral(Player.money.toNumber()).format('($0.000a)') + " / " + numeral(1e11).format('($0.000a)'));
|
||||||
@ -1933,6 +1941,10 @@ let Terminal = {
|
|||||||
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");
|
||||||
|
} else {
|
||||||
|
post("We will contact you.");
|
||||||
|
post("-- Daedalus --");
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case Programs.BitFlume.name:
|
case Programs.BitFlume.name:
|
||||||
var yesBtn = yesNoBoxGetYesButton(),
|
var yesBtn = yesNoBoxGetYesButton(),
|
||||||
|
Loading…
Reference in New Issue
Block a user