mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
UI: Hacknet terminology consistency (#1256)
* UI labels/Augment effects reworded to remove the "Node" parts * No changes to API-facing labels/savedata/functions
This commit is contained in:
parent
38d99ff15e
commit
7113ee5425
@ -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
|
||||
|
@ -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: {
|
||||
|
@ -127,7 +127,7 @@ export function AugmentationsRoot(props: IProps): React.ReactElement {
|
||||
<Typography>- Money</Typography>
|
||||
<Typography>- Scripts on every computer but your home computer</Typography>
|
||||
<Typography>- Purchased servers</Typography>
|
||||
<Typography>- Hacknet Nodes</Typography>
|
||||
<Typography>- Hacknet</Typography>
|
||||
<Typography>- Faction/Company reputation</Typography>
|
||||
<Typography>- Stocks</Typography>
|
||||
<br />
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -158,10 +158,10 @@ function MoneyModal({ open, onClose }: IMoneyModalProps): React.ReactElement {
|
||||
parts.push([`Hacking:`, <Money key="hacking" money={src.hacking} />]);
|
||||
}
|
||||
if (src.hacknet) {
|
||||
parts.push([`Hacknet Nodes:`, <Money key="hacknet" money={src.hacknet} />]);
|
||||
parts.push([`Hacknet:`, <Money key="hacknet" money={src.hacknet} />]);
|
||||
}
|
||||
if (src.hacknet_expenses) {
|
||||
parts.push([`Hacknet Nodes Expenses:`, <Money key="hacknet-expenses" money={src.hacknet_expenses} />]);
|
||||
parts.push([`Hacknet Expenses:`, <Money key="hacknet-expenses" money={src.hacknet_expenses} />]);
|
||||
}
|
||||
if (src.hospitalization) {
|
||||
parts.push([`Hospitalization:`, <Money key="hospital" money={src.hospitalization} />]);
|
||||
@ -472,24 +472,24 @@ export function CharacterStats(): React.ReactElement {
|
||||
<MultiplierTable
|
||||
rows={[
|
||||
{
|
||||
mult: "Hacknet Node Production",
|
||||
mult: "Hacknet Production",
|
||||
value: Player.mults.hacknet_node_money,
|
||||
effValue: Player.mults.hacknet_node_money * currentNodeMults.HacknetNodeMoney,
|
||||
},
|
||||
{
|
||||
mult: "Hacknet Node Purchase Cost",
|
||||
mult: "Hacknet Purchase Cost",
|
||||
value: Player.mults.hacknet_node_purchase_cost,
|
||||
},
|
||||
{
|
||||
mult: "Hacknet Node RAM Upgrade Cost",
|
||||
mult: "Hacknet RAM Upgrade Cost",
|
||||
value: Player.mults.hacknet_node_ram_cost,
|
||||
},
|
||||
{
|
||||
mult: "Hacknet Node Core Purchase Cost",
|
||||
mult: "Hacknet Core Purchase Cost",
|
||||
value: Player.mults.hacknet_node_core_cost,
|
||||
},
|
||||
{
|
||||
mult: "Hacknet Node Level Upgrade Cost",
|
||||
mult: "Hacknet Level Upgrade Cost",
|
||||
value: Player.mults.hacknet_node_level_cost,
|
||||
},
|
||||
]}
|
||||
|
Loading…
Reference in New Issue
Block a user