From 08a7f82e73580220c23f16ab574b88180146583e Mon Sep 17 00:00:00 2001 From: borisflagell Date: Sat, 23 Apr 2022 14:59:46 +0200 Subject: [PATCH] Update HacknetServerElem.tsx Added some contrast between real and theoric displayed hashrate. As suggested by phyzical & nickofolas. --- src/Hacknet/ui/HacknetServerElem.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/Hacknet/ui/HacknetServerElem.tsx b/src/Hacknet/ui/HacknetServerElem.tsx index 14abbeca4..0d31db5ab 100644 --- a/src/Hacknet/ui/HacknetServerElem.tsx +++ b/src/Hacknet/ui/HacknetServerElem.tsx @@ -70,7 +70,7 @@ export function HacknetServerElem(props: IProps): React.ReactElement { - + (base increase, attained when no script is running)
+ + (base increase, attained when no script is running)
+ (effective increase, taking current RAM usage into account) } @@ -136,7 +136,7 @@ export function HacknetServerElem(props: IProps): React.ReactElement { - + (base increase, attained when no script is running)
+ + (base increase, attained when no script is running)
+ (effective increase, taking current RAM usage into account) } @@ -180,7 +180,7 @@ export function HacknetServerElem(props: IProps): React.ReactElement { - + (base increase, attained when no script is running)
+ + (base increase, attained when no script is running)
+ (effective increase, taking current RAM usage into account) } @@ -253,19 +253,21 @@ export function HacknetServerElem(props: IProps): React.ReactElement { - hashes producted by this server since last augment + hashes produced by this server since last augment installation.
current production rate.
- max production - rate. (achieved when 100% Ram is allocated to it) + + + + {" "}max production rate. (achieved when 100% RAM is allocated to it)
{numeralWrapper.formatRAM(node.ramUsed)} / {numeralWrapper.formatRAM(node.maxRam)} ( - {Math.round((100 * node.ramUsed) / node.maxRam)}%) Ram allocated to script. + {Math.round((100 * node.ramUsed) / node.maxRam)}%) RAM allocated to script.
{numeralWrapper.formatRAM(node.maxRam - node.ramUsed)} / {numeralWrapper.formatRAM(node.maxRam)} ( - {Math.round((100 * (node.maxRam - node.ramUsed)) / node.maxRam)}%) Ram allocated to hash production. + {Math.round((100 * (node.maxRam - node.ramUsed)) / node.maxRam)}%) RAM allocated to hash production. } >