mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
autolink less lines
This commit is contained in:
parent
49a545f00e
commit
99ed9b25a3
@ -507,14 +507,16 @@ export class Terminal implements ITerminal {
|
|||||||
if (s.hasAdminRights) {
|
if (s.hasAdminRights) {
|
||||||
c = "YES";
|
c = "YES";
|
||||||
}
|
}
|
||||||
this.print(
|
let out = `${dashes}Root Access: ${c}${
|
||||||
`${dashes}Root Access: ${c}${!isHacknet ? ", Required hacking skill: " + (s as any).requiredHackingSkill : ""}`,
|
!isHacknet ? ", Required hacking skill: " + (s as any).requiredHackingSkill : ""
|
||||||
);
|
}`;
|
||||||
|
|
||||||
if (s.hasOwnProperty("numOpenPortsRequired")) {
|
if (s.hasOwnProperty("numOpenPortsRequired")) {
|
||||||
this.print(dashes + "Number of open ports required to NUKE: " + (s as any).numOpenPortsRequired);
|
out += "\n" + dashes + "Number of open ports required to NUKE: " + (s as any).numOpenPortsRequired;
|
||||||
}
|
}
|
||||||
this.print(dashes + "RAM: " + numeralWrapper.formatRAM(s.maxRam));
|
out += "\n" + dashes + "RAM: " + numeralWrapper.formatRAM(s.maxRam);
|
||||||
this.print(" ");
|
out += "\n" + " ";
|
||||||
|
this.print(out);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user