From f721e21622ecf5e379ef2a5a54e2a39605fe31fa Mon Sep 17 00:00:00 2001
From: Mat Jaworski
Date: Fri, 7 Sep 2018 00:15:36 +1000
Subject: [PATCH] More minor font colour and Infiltration details updates
---
css/_theme.scss | 3 ++-
css/popupboxes.scss | 10 ++++++++++
css/styles.scss | 4 ++++
index.html | 30 +++++++++++++++---------------
src/Faction.js | 2 +-
src/Infiltration.js | 29 +++++++++++++++--------------
src/Player.js | 2 +-
src/SaveObject.js | 6 +++---
src/engine.js | 6 +++---
src/index.html | 4 ++--
utils/InfiltrationBox.js | 10 +++++-----
11 files changed, 61 insertions(+), 45 deletions(-)
diff --git a/css/_theme.scss b/css/_theme.scss
index 54c868bca..0b727d702 100644
--- a/css/_theme.scss
+++ b/css/_theme.scss
@@ -6,11 +6,12 @@ $hacker-green: #adff2f;
$success-green: #3adb76;
$alert-red: #ff2929;
$money-gold: #ffd700;
+$light-yellow: #faffdf;
/* Attributes */
$my-stat-hp-color: #dd3434;
$my-stat-money-color: $money-gold;
$my-stat-hack-color: $hacker-green;
-$my-stat-physical: #faffdf;
+$my-stat-physical: $light-yellow;
$my-stat-cha-color: #a671d1;
$my-stat-int-color: #6495ed;
diff --git a/css/popupboxes.scss b/css/popupboxes.scss
index 453a06e7a..d6536f2c5 100644
--- a/css/popupboxes.scss
+++ b/css/popupboxes.scss
@@ -87,6 +87,11 @@
z-index: 2;
background-color: var(--my-background-color);
padding: 10px;
+
+ p span {
+ padding: 0;
+ margin: 0;
+ }
}
.dialog-box-close-button {
@@ -138,6 +143,11 @@
margin: 8px;
}
+#infiltration-box-content span {
+ padding: 0;
+ margin: 0;
+}
+
#infiltration-faction-select {
background-color: #000;
}
diff --git a/css/styles.scss b/css/styles.scss
index d2156b3d8..c0ee086e3 100644
--- a/css/styles.scss
+++ b/css/styles.scss
@@ -618,6 +618,10 @@ a:visited {
color: $money-gold;
}
+.light-yellow {
+ color: $light-yellow;
+}
+
.failure {
color: $alert-red;
text-shadow: 0 0 0 $alert-red;
diff --git a/index.html b/index.html
index 2df50a3b7..7c6a79b0a 100644
--- a/index.html
+++ b/index.html
@@ -187,9 +187,9 @@
provides information about each script's production. The scripts are categorized by the hostname of the servers on which
they are running.
Total online production of
- Active scripts: $0.000 / sec
+ Active scripts: $0.000 / sec
Total online production since last Aug installation: $0.000
- ($0.000 / sec)
+ ($0.000 / sec)
@@ -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 @@