Added hasRootAccess() and getNumHacknetNodes commands to netscript

This commit is contained in:
Daniel Xie
2017-05-23 13:17:37 -05:00
parent ea17334792
commit 6b40482e6c
3 changed files with 41 additions and 4 deletions
+3 -3
View File
@@ -849,9 +849,9 @@ var Terminal = {
post("<strong>" + serv.hostname + "</strong>");
var c = "N";
if (serv.hasAdminRights) {c = "Y";}
post("----Root Access: " + c);
post("----Required hacking skill: " + serv.requiredHackingSkill);
post("----Number open ports required to NUKE: " + serv.numOpenPortsRequired);
post("--Root Access: " + c);
post("--Required hacking skill: " + serv.requiredHackingSkill);
post("--Number open ports required to NUKE: " + serv.numOpenPortsRequired);
post(" ");
}
},