mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 12:27:07 +02:00
Create Program refactoring, added a notification for it when it comes up
This commit is contained in:
+2
-2
@@ -1,9 +1,9 @@
|
||||
/* DarkWeb.js */
|
||||
//Posts a "help" message if connected to DarkWeb
|
||||
checkIfConnectedToDarkweb() {
|
||||
checkIfConnectedToDarkweb = function() {
|
||||
if (SpecialServerIps.hasOwnProperty("Darkweb Server")) {
|
||||
var darkwebIp = SpecialServerIps["Darkweb Server"];
|
||||
if (!isValidIPAddress(darkwebIp) {return;}
|
||||
if (!isValidIPAddress(darkwebIp)) {return;}
|
||||
if (darkwebIp == Player.getCurrentServer().ip) {
|
||||
post("You are now connected to the dark web. From the dark web you can purchase illegal items. " +
|
||||
"Use the 'buy -l' command to display a list of all the items you can buy. Use 'buy [item-name] " +
|
||||
|
||||
Reference in New Issue
Block a user