Total online production of
- Active scripts: $0.000 / sec
- Total online production since last Aug installation: $0.000
- ($0.000 / sec)
+ Active scripts: $0.000 / sec
+ Total online production since last Aug installation: $0.000
+ ($0.000 / sec)
@@ -214,8 +214,8 @@
- Money:
- Total Hacknet Node Production:
+ Money:
+ Total Hacknet Node Production:
x1
diff --git a/src/Infiltration.js b/src/Infiltration.js
index feb8b0609..0e4a0f2cd 100644
--- a/src/Infiltration.js
+++ b/src/Infiltration.js
@@ -162,7 +162,7 @@ function nextInfiltrationLevel(inst) {
if (!e.isTrusted) {return false;}
var res = attemptInfiltrationKill(inst);
if (res[0]) {
- writeInfiltrationStatusText("You SUCCESSFULLY killed the security bots! Unfortunately you alerted the " +
+ writeInfiltrationStatusText("You SUCCESSFULLY killed the security bots! Unfortunately you alerted the " +
"rest of the facility's security. The facility's security " +
"level increased by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
Player.karma -= 1;
@@ -170,7 +170,7 @@ function nextInfiltrationLevel(inst) {
return false;
} else {
var dmgTaken = Math.max(1, Math.round(1.5 * inst.securityLevel / Player.defense));
- writeInfiltrationStatusText("You FAILED to kill the security bots. The bots fight back " +
+ writeInfiltrationStatusText("You FAILED to kill the security bots. The bots fight back " +
"and raise the alarm! You take " + dmgTaken + " damage and " +
"the facility's security level increases by " +
formatNumber((res[1]*100)-100, 2).toString() + "%");
@@ -186,12 +186,12 @@ function nextInfiltrationLevel(inst) {
if (!e.isTrusted) {return false;}
var res = attemptInfiltrationAssassinate(inst);
if (res[0]) {
- writeInfiltrationStatusText("You SUCCESSFULLY assassinated the security bots without being detected!");
+ writeInfiltrationStatusText("You SUCCESSFULLY assassinated the security bots without being detected!");
Player.karma -= 1;
endInfiltrationLevel(inst);
return false;
} else {
- writeInfiltrationStatusText("You FAILED to assassinate the security bots. The bots have not detected " +
+ writeInfiltrationStatusText("You FAILED to assassinate the security bots. The bots have not detected " +
"you but are now more alert for an intruder. The facility's security level " +
"has increased by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
}
@@ -209,7 +209,7 @@ function nextInfiltrationLevel(inst) {
if (!e.isTrusted) {return false;}
var res = attemptInfiltrationKill(inst);
if (res[0]) {
- writeInfiltrationStatusText("You SUCCESSFULLY killed the security guard! Unfortunately you alerted the " +
+ writeInfiltrationStatusText("You SUCCESSFULLY killed the security guard! Unfortunately you alerted the " +
"rest of the facility's security. The facility's security " +
"level has increased by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
Player.karma -= 3;
@@ -218,7 +218,7 @@ function nextInfiltrationLevel(inst) {
return false;
} else {
var dmgTaken = Math.max(1, Math.round(inst.securityLevel / Player.defense));
- writeInfiltrationStatusText("You FAILED to kill the security guard. The guard fights back " +
+ writeInfiltrationStatusText("You FAILED to kill the security guard. The guard fights back " +
"and raises the alarm! You take " + dmgTaken + " damage and " +
"the facility's security level has increased by " +
formatNumber((res[1]*100)-100, 2).toString() + "%");
@@ -236,13 +236,13 @@ function nextInfiltrationLevel(inst) {
if (!e.isTrusted) {return false;}
var res = attemptInfiltrationAssassinate(inst);
if (res[0]) {
- writeInfiltrationStatusText("You SUCCESSFULLY assassinated the security guard without being detected!");
+ writeInfiltrationStatusText("You SUCCESSFULLY assassinated the security guard without being detected!");
Player.karma -= 3;
++Player.numPeopleKilled;
endInfiltrationLevel(inst);
return false;
} else {
- writeInfiltrationStatusText("You FAILED to assassinate the security guard. The guard has not detected " +
+ writeInfiltrationStatusText("You FAILED to assassinate the security guard. The guard has not detected " +
"you but is now more alert for an intruder. The facility's security level " +
"has increased by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
}
@@ -259,14 +259,14 @@ function nextInfiltrationLevel(inst) {
if (!e.isTrusted) {return false;}
var res = attemptInfiltrationKnockout(inst);
if (res[0]) {
- writeInfiltrationStatusText("You SUCCESSFULLY knocked out the security guard! " +
+ writeInfiltrationStatusText("You SUCCESSFULLY knocked out the security guard! " +
"Unfortunately you made a lot of noise and alerted other security.");
writeInfiltrationStatusText("The facility's security level increased by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
endInfiltrationLevel(inst);
return false;
} else {
var dmgTaken = Math.max(1, Math.round(inst.securityLevel / Player.defense));
- writeInfiltrationStatusText("You FAILED to knockout the security guard. The guard " +
+ writeInfiltrationStatusText("You FAILED to knockout the security guard. The guard " +
"raises the alarm and fights back! You take " + dmgTaken + " damage and " +
"the facility's security level increases by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
if (Player.takeDamage(dmgTaken)) {
@@ -282,13 +282,13 @@ function nextInfiltrationLevel(inst) {
if (!e.isTrusted) {return false;}
var res = attemptInfiltrationStealthKnockout(inst);
if (res[0]) {
- writeInfiltrationStatusText("You SUCCESSFULLY knocked out the security guard without making " +
+ writeInfiltrationStatusText("You SUCCESSFULLY knocked out the security guard without making " +
"any noise!");
endInfiltrationLevel(inst);
return false;
} else {
var dmgTaken = Math.max(1, Math.round(inst.securityLevel / Player.defense));
- writeInfiltrationStatusText("You FAILED to stealthily knockout the security guard. The guard " +
+ writeInfiltrationStatusText("You FAILED to stealthily knockout the security guard. The guard " +
"raises the alarm and fights back! You take " + dmgTaken + " damage and " +
"the facility's security level increases by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
if (Player.takeDamage(dmgTaken)) {
@@ -304,12 +304,12 @@ function nextInfiltrationLevel(inst) {
if (!e.isTrusted) {return false;}
var res = attemptInfiltrationHack(inst);
if (res[0]) {
- writeInfiltrationStatusText("You SUCCESSFULLY hacked and disabled the security system!");
+ writeInfiltrationStatusText("You SUCCESSFULLY hacked and disabled the security system!");
writeInfiltrationStatusText("The facility's security level increased by " + ((res[1]*100) - 100).toString() + "%");
endInfiltrationLevel(inst);
return false;
} else {
- writeInfiltrationStatusText("You FAILED to hack the security system. The facility's " +
+ writeInfiltrationStatusText("You FAILED to hack the security system. The facility's " +
"security level increased by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
}
updateInfiltrationButtons(inst, scenario);
@@ -321,12 +321,12 @@ function nextInfiltrationLevel(inst) {
if (!e.isTrusted) {return false;}
var res = attemptInfiltrationDestroySecurity(inst);
if (res[0]) {
- writeInfiltrationStatusText("You SUCCESSFULLY and violently destroy the security system!");
+ writeInfiltrationStatusText("You SUCCESSFULLY and violently destroy the security system!");
writeInfiltrationStatusText("The facility's security level increased by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
endInfiltrationLevel(inst);
return false;
} else {
- writeInfiltrationStatusText("You FAILED to destroy the security system. The facility's " +
+ writeInfiltrationStatusText("You FAILED to destroy the security system. The facility's " +
"security level increased by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
}
updateInfiltrationButtons(inst, scenario);
@@ -338,11 +338,11 @@ function nextInfiltrationLevel(inst) {
if (!e.isTrusted) {return false;}
var res = attemptInfiltrationSneak(inst);
if (res[0]) {
- writeInfiltrationStatusText("You SUCCESSFULLY sneak past the security undetected!");
+ writeInfiltrationStatusText("You SUCCESSFULLY sneak past the security undetected!");
endInfiltrationLevel(inst);
return false;
} else {
- writeInfiltrationStatusText("You FAILED and were detected while trying to sneak past security! The facility's " +
+ writeInfiltrationStatusText("You FAILED and were detected while trying to sneak past security! The facility's " +
"security level increased by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
}
updateInfiltrationButtons(inst, scenario);
@@ -354,12 +354,12 @@ function nextInfiltrationLevel(inst) {
if (!e.isTrusted) {return false;}
var res = attemptInfiltrationPickLockedDoor(inst);
if (res[0]) {
- writeInfiltrationStatusText("You SUCCESSFULLY pick the locked door!");
+ writeInfiltrationStatusText("You SUCCESSFULLY pick the locked door!");
writeInfiltrationStatusText("The facility's security level increased by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
endInfiltrationLevel(inst);
return false;
} else {
- writeInfiltrationStatusText("You FAILED to pick the locked door. The facility's security level " +
+ writeInfiltrationStatusText("You FAILED to pick the locked door. The facility's security level " +
"increased by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
}
updateInfiltrationButtons(inst, scenario);
@@ -377,13 +377,13 @@ function nextInfiltrationLevel(inst) {
}
var res = attemptInfiltrationBribe(inst);
if (res[0]) {
- writeInfiltrationStatusText("You SUCCESSFULLY bribed a guard to let you through " +
+ writeInfiltrationStatusText("You SUCCESSFULLY bribed a guard to let you through " +
"to the next clearance level for $" + bribeAmt);
Player.loseMoney(bribeAmt);
endInfiltrationLevel(inst);
return false;
} else {
- writeInfiltrationStatusText("You FAILED to bribe a guard! The guard is alerting " +
+ writeInfiltrationStatusText("You FAILED to bribe a guard! The guard is alerting " +
"other security guards about your presence! The facility's " +
"security level increased by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
}
@@ -396,12 +396,12 @@ function nextInfiltrationLevel(inst) {
if (!e.isTrusted) {return false;}
var res = attemptInfiltrationEscape(inst);
if (res[0]) {
- writeInfiltrationStatusText("You SUCCESSFULLY escape from the facility with the stolen classified " +
+ writeInfiltrationStatusText("You SUCCESSFULLY escape from the facility with the stolen classified " +
"documents and company secrets!");
endInfiltration(inst, true);
return false;
} else {
- writeInfiltrationStatusText("You FAILED to escape from the facility. You took 1 damage. The facility's " +
+ writeInfiltrationStatusText("You FAILED to escape from the facility. You took 1 damage. The facility's " +
"security level increased by " + formatNumber((res[1]*100)-100, 2).toString() + "%");
if (Player.takeDamage(1)) {
endInfiltration(inst, false);
@@ -469,17 +469,17 @@ function updateInfiltrationLevelText(inst) {
var expMultiplier = 2 * inst.clearanceLevel / inst.maxClearanceLevel;
document.getElementById("infiltration-level-text").innerHTML =
- "Facility name: " + inst.companyName + " " +
+ "Facility name: " + inst.companyName + " " +
"Clearance Level: " + inst.clearanceLevel + " " +
- "Security Level: " + formatNumber(inst.securityLevel, 3) + "
" +
'';
var hdr = document.getElementById("terminal-input-header");
hdr.style.display = "inline";
diff --git a/utils/JSONReviver.d.ts b/utils/JSONReviver.d.ts
index 08ff98bd4..f4405df83 100644
--- a/utils/JSONReviver.d.ts
+++ b/utils/JSONReviver.d.ts
@@ -7,4 +7,4 @@ export function Generic_toJSON(ctorName: string, obj: object, keys?: string[]):
export function Reviver(key, value: IReviverValue);
export namespace Reviver {
export var constructors: any;
-}
\ No newline at end of file
+}
From 0cc6d81309ad7300bec38cdd81f13709f4e3e13c Mon Sep 17 00:00:00 2001
From: Mat Jaworski
Date: Thu, 6 Sep 2018 21:58:27 +1000
Subject: [PATCH 2/3] Updated the src/index.html as per my previous PR updates
in ./index
---
index.html | 26 +++++++++++++-------------
src/index.html | 34 +++++++++++++++++-----------------
2 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/index.html b/index.html
index 483f08745..2df50a3b7 100644
--- a/index.html
+++ b/index.html
@@ -201,19 +201,19 @@
The Hacknet is a global, decentralized network of machines. It is used by hackers all around
the world to anonymously share computing power and perform distributed cyberattacks without the
fear of being traced.
-
+
Here, you can purchase a Hacknet Node, a specialized machine that can connect and contribute its
resources to the Hacknet network. This allows you to take a small percentage of profits
from hacks performed on the network. Essentially, you are renting out your Node's computing power.
-
+
Each Hacknet Node you purchase will passively earn you money. Each Hacknet Node can be upgraded
in order to increase its computing power and thereby increase the profit you earn from it.
Purchase Hacknet Node
-
+
- Money:
+ Money: Total Hacknet Node Production:
@@ -623,7 +623,7 @@
You have entered the Slums, a poverty-ridden district filled with gangs, criminals, and
other shadowy entities. The city's government and police have neglected this area for years...
-
+
In the Slums, you can commit crimes to earn money and experience. Crime attempts are not always
successful. Your chance at successfully committing a crime is determined by your stats.
@@ -670,7 +670,7 @@
- Welcome to the World Stock Exchange (WSE)!
+ Welcome to the World Stock Exchange (WSE)!
To begin trading, you must first purchase an account. WSE accounts will persist
after you 'reset' by installing Augmentations.
@@ -683,7 +683,7 @@
TIX, short for Trade Information eXchange, is the communications protocol supported by the WSE.
Purchasing access to the TIX API lets you write code to create your own algorithmic/automated
trading strategies.
-
+
If you purchase access to the TIX API, you will retain that access even after
you 'reset' by installing Augmentations.
@@ -693,7 +693,7 @@
Four Sigma's (4S) Market Data Feed provides information about stocks
that will help your trading strategies.
-
+
If you purchase access to 4S Market Data and/or the 4S TIX API, you will
retain that access even after you 'reset' by installing Augmentations.
Warning: Joining this faction may prevent you from joining other factions during this run!
Yes
@@ -766,8 +766,8 @@
- Sell on Black Market
-
+ Sell on Black Market
+ Give to Faction for Reputation
@@ -853,7 +853,7 @@
×
Game Options
-
+
@@ -203,20 +203,20 @@ if (htmlWebpackPlugin.options.googleAnalytics.trackingId) { %>
The Hacknet is a global, decentralized network of machines. It is used by hackers all around
the world to anonymously share computing power and perform distributed cyberattacks without the
fear of being traced.
-
+
Here, you can purchase a Hacknet Node, a specialized machine that can connect and contribute its
resources to the Hacknet network. This allows you to take a small percentage of profits
from hacks performed on the network. Essentially, you are renting out your Node's computing power.
-
+
Each Hacknet Node you purchase will passively earn you money. Each Hacknet Node can be upgraded
in order to increase its computing power and thereby increase the profit you earn from it.
Purchase Hacknet Node
-
+
- Money:
- Total Hacknet Node Production:
+ Money:
+ Total Hacknet Node Production:
x1
@@ -627,7 +627,7 @@ if (htmlWebpackPlugin.options.googleAnalytics.trackingId) { %>
You have entered the Slums, a poverty-ridden district filled with gangs, criminals, and
other shadowy entities. The city's government and police have neglected this area for years...
-
+
In the Slums, you can commit crimes to earn money and experience. Crime attempts are not always
successful. Your chance at successfully committing a crime is determined by your stats.
@@ -674,7 +674,7 @@ if (htmlWebpackPlugin.options.googleAnalytics.trackingId) { %>
- Welcome to the World Stock Exchange (WSE)!
+ Welcome to the World Stock Exchange (WSE)!
To begin trading, you must first purchase an account. WSE accounts will persist
after you 'reset' by installing Augmentations.
@@ -687,7 +687,7 @@ if (htmlWebpackPlugin.options.googleAnalytics.trackingId) { %>
TIX, short for Trade Information eXchange, is the communications protocol supported by the WSE.
Purchasing access to the TIX API lets you write code to create your own algorithmic/automated
trading strategies.
-
+
If you purchase access to the TIX API, you will retain that access even after
you 'reset' by installing Augmentations.
@@ -697,7 +697,7 @@ if (htmlWebpackPlugin.options.googleAnalytics.trackingId) { %>
Four Sigma's (4S) Market Data Feed provides information about stocks
that will help your trading strategies.
-
+
If you purchase access to 4S Market Data and/or the 4S TIX API, you will
retain that access even after you 'reset' by installing Augmentations.
@@ -757,7 +757,7 @@ if (htmlWebpackPlugin.options.googleAnalytics.trackingId) { %>
- Would you like to join?
+ Would you like to join?
Warning: Joining this faction may prevent you from joining other factions during this run!
Yes
@@ -770,8 +770,8 @@ if (htmlWebpackPlugin.options.googleAnalytics.trackingId) { %>
- Sell on Black Market
-
+ Sell on Black Market
+ Give to Faction for Reputation
@@ -857,7 +857,7 @@ if (htmlWebpackPlugin.options.googleAnalytics.trackingId) { %>
×
Game Options
-
+
@@ -201,19 +201,19 @@
The Hacknet is a global, decentralized network of machines. It is used by hackers all around
the world to anonymously share computing power and perform distributed cyberattacks without the
fear of being traced.
-
+
Here, you can purchase a Hacknet Node, a specialized machine that can connect and contribute its
resources to the Hacknet network. This allows you to take a small percentage of profits
from hacks performed on the network. Essentially, you are renting out your Node's computing power.
-
+
Each Hacknet Node you purchase will passively earn you money. Each Hacknet Node can be upgraded
in order to increase its computing power and thereby increase the profit you earn from it.
Purchase Hacknet Node
-
+
- Money:
+ Money: Total Hacknet Node Production:
@@ -623,7 +623,7 @@
You have entered the Slums, a poverty-ridden district filled with gangs, criminals, and
other shadowy entities. The city's government and police have neglected this area for years...
-
+
In the Slums, you can commit crimes to earn money and experience. Crime attempts are not always
successful. Your chance at successfully committing a crime is determined by your stats.
@@ -670,7 +670,7 @@
- Welcome to the World Stock Exchange (WSE)!
+ Welcome to the World Stock Exchange (WSE)!
To begin trading, you must first purchase an account. WSE accounts will persist
after you 'reset' by installing Augmentations.
@@ -683,7 +683,7 @@
TIX, short for Trade Information eXchange, is the communications protocol supported by the WSE.
Purchasing access to the TIX API lets you write code to create your own algorithmic/automated
trading strategies.
-
+
If you purchase access to the TIX API, you will retain that access even after
you 'reset' by installing Augmentations.
@@ -693,7 +693,7 @@
Four Sigma's (4S) Market Data Feed provides information about stocks
that will help your trading strategies.
-
+
If you purchase access to 4S Market Data and/or the 4S TIX API, you will
retain that access even after you 'reset' by installing Augmentations.
Warning: Joining this faction may prevent you from joining other factions during this run!
Yes
@@ -766,8 +766,8 @@
- Sell on Black Market
-
+ Sell on Black Market
+ Give to Faction for Reputation
@@ -853,7 +853,7 @@
×
Game Options
-
+
diff --git a/utils/InfiltrationBox.js b/utils/InfiltrationBox.js
index efd86089b..8c1290179 100644
--- a/utils/InfiltrationBox.js
+++ b/utils/InfiltrationBox.js
@@ -57,9 +57,9 @@ function infiltrationBoxCreate(inst) {
CONSTANTS.InfiltrationRepValue * BitNodeMultipliers.InfiltrationRep;
var moneyValue = totalValue * CONSTANTS.InfiltrationMoneyValue * BitNodeMultipliers.InfiltrationMoney;
infiltrationSetText("You can sell the classified documents and secrets " +
- "you stole from " + inst.companyName + " for $" +
- formatNumber(moneyValue, 2) + " on the black market or you can give it " +
- "to a faction to gain " + formatNumber(facValue, 3) + " reputation with " +
+ "you stole from " + inst.companyName + " for $" +
+ formatNumber(moneyValue, 2) + " on the black market or you can give it " +
+ "to a faction to gain " + formatNumber(facValue, 3) + " reputation with " +
"that faction.");
var selector = document.getElementById("infiltration-faction-select");
selector.innerHTML = "";
@@ -85,7 +85,7 @@ function infiltrationBoxCreate(inst) {
if (!e.isTrusted) {return false;}
Player.gainMoney(moneyValue);
dialogBoxCreate("You sold the classified information you stole from " + inst.companyName +
- " for $" + moneyValue + " on the black market!
" +
+ " for $" + formatNumber(moneyValue, 2) + " on the black market!
" +
"You gained: " +
formatNumber(inst.hackingExpGained, 3) + " hacking exp " +
formatNumber(inst.strExpGained, 3) + " str exp " +
@@ -111,7 +111,7 @@ function infiltrationBoxCreate(inst) {
}
faction.playerReputation += facValue;
dialogBoxCreate("You gave the classified information you stole from " + inst.companyName +
- " to " + facName + " and gained " + formatNumber(facValue, 3) + " reputation with the faction.
" +
+ " to " + facName + " and gained " + formatNumber(facValue, 3) + " reputation with the faction.