From 7113ee54253a5a1046ea66a704c3d76efa4061f1 Mon Sep 17 00:00:00 2001 From: gmcew <97335456+gmcew@users.noreply.github.com> Date: Fri, 17 May 2024 12:44:09 +0100 Subject: [PATCH] UI: Hacknet terminology consistency (#1256) * UI labels/Augment effects reworded to remove the "Node" parts * No changes to API-facing labels/savedata/functions --- src/Augmentation/Augmentation.ts | 6 +++--- src/Augmentation/CircadianModulator.ts | 4 +--- src/Augmentation/ui/AugmentationsRoot.tsx | 2 +- src/Augmentation/ui/PlayerMultipliers.tsx | 10 +++++----- src/ui/CharacterStats.tsx | 14 +++++++------- 5 files changed, 17 insertions(+), 19 deletions(-) diff --git a/src/Augmentation/Augmentation.ts b/src/Augmentation/Augmentation.ts index f2a87cdd9..fd238cc33 100644 --- a/src/Augmentation/Augmentation.ts +++ b/src/Augmentation/Augmentation.ts @@ -141,16 +141,16 @@ function generateStatsDescription(mults: Multipliers, programs?: string[], start // Hacknet: costs are negative if (mults.hacknet_node_money !== 1) desc += `\n+${f(mults.hacknet_node_money - 1)} hacknet production`; if (mults.hacknet_node_purchase_cost !== 1) { - desc += `\n-${f(-(mults.hacknet_node_purchase_cost - 1))} hacknet nodes cost`; + desc += `\n-${f(-(mults.hacknet_node_purchase_cost - 1))} hacknet purchase cost`; } if (mults.hacknet_node_level_cost !== 1) { desc += `\n-${f(-(mults.hacknet_node_level_cost - 1))} hacknet level upgrade cost`; } if (mults.hacknet_node_ram_cost !== 1) { - desc += `\n-${f(-(mults.hacknet_node_ram_cost - 1))} hacknet RAM cost`; + desc += `\n-${f(-(mults.hacknet_node_ram_cost - 1))} hacknet RAM upgrade cost`; } if (mults.hacknet_node_core_cost !== 1) { - desc += `\n-${f(-(mults.hacknet_node_core_cost - 1))} hacknet core cost`; + desc += `\n-${f(-(mults.hacknet_node_core_cost - 1))} hacknet core upgrade cost`; } // Bladeburner diff --git a/src/Augmentation/CircadianModulator.ts b/src/Augmentation/CircadianModulator.ts index 32fac50fb..0210d1ac5 100644 --- a/src/Augmentation/CircadianModulator.ts +++ b/src/Augmentation/CircadianModulator.ts @@ -86,9 +86,7 @@ function getRandomBonus(): CircadianBonus { hacknet_node_core_cost: 0.85, hacknet_node_level_cost: 0.85, }, - description: - "Increases the amount of money produced by Hacknet Nodes by 20%.\n" + - "Decreases all costs related to Hacknet Node by 15%.", + description: "Increases Hacknet production by 20%.\n" + "Decreases all costs related to Hacknet by 15%.", }, { bonuses: { diff --git a/src/Augmentation/ui/AugmentationsRoot.tsx b/src/Augmentation/ui/AugmentationsRoot.tsx index 01b97c25f..bab9dda85 100644 --- a/src/Augmentation/ui/AugmentationsRoot.tsx +++ b/src/Augmentation/ui/AugmentationsRoot.tsx @@ -127,7 +127,7 @@ export function AugmentationsRoot(props: IProps): React.ReactElement { - Money - Scripts on every computer but your home computer - Purchased servers - - Hacknet Nodes + - Hacknet - Faction/Company reputation - Stocks
diff --git a/src/Augmentation/ui/PlayerMultipliers.tsx b/src/Augmentation/ui/PlayerMultipliers.tsx index 19d7cd2ba..e73a26422 100644 --- a/src/Augmentation/ui/PlayerMultipliers.tsx +++ b/src/Augmentation/ui/PlayerMultipliers.tsx @@ -197,28 +197,28 @@ export function PlayerMultipliers(): React.ReactElement { ]; const rightColData: MultiplierListItemData[] = [ { - mult: "Hacknet Node Production", + mult: "Hacknet Production", current: Player.mults.hacknet_node_money, augmented: Player.mults.hacknet_node_money * mults.hacknet_node_money, bnMult: currentNodeMults.HacknetNodeMoney, }, { - mult: "Hacknet Node Purchase Cost", + mult: "Hacknet Purchase Cost", current: Player.mults.hacknet_node_purchase_cost, augmented: Player.mults.hacknet_node_purchase_cost * mults.hacknet_node_purchase_cost, }, { - mult: "Hacknet Node RAM Upgrade Cost", + mult: "Hacknet RAM Upgrade Cost", current: Player.mults.hacknet_node_ram_cost, augmented: Player.mults.hacknet_node_ram_cost * mults.hacknet_node_ram_cost, }, { - mult: "Hacknet Node Core Purchase Cost", + mult: "Hacknet Core Purchase Cost", current: Player.mults.hacknet_node_core_cost, augmented: Player.mults.hacknet_node_core_cost * mults.hacknet_node_core_cost, }, { - mult: "Hacknet Node Level Upgrade Cost", + mult: "Hacknet Level Upgrade Cost", current: Player.mults.hacknet_node_level_cost, augmented: Player.mults.hacknet_node_level_cost * mults.hacknet_node_level_cost, }, diff --git a/src/ui/CharacterStats.tsx b/src/ui/CharacterStats.tsx index a5e61cb5f..b62e70b0e 100644 --- a/src/ui/CharacterStats.tsx +++ b/src/ui/CharacterStats.tsx @@ -158,10 +158,10 @@ function MoneyModal({ open, onClose }: IMoneyModalProps): React.ReactElement { parts.push([`Hacking:`, ]); } if (src.hacknet) { - parts.push([`Hacknet Nodes:`, ]); + parts.push([`Hacknet:`, ]); } if (src.hacknet_expenses) { - parts.push([`Hacknet Nodes Expenses:`, ]); + parts.push([`Hacknet Expenses:`, ]); } if (src.hospitalization) { parts.push([`Hospitalization:`, ]); @@ -472,24 +472,24 @@ export function CharacterStats(): React.ReactElement {