From 66e80b2efaa9b0a689b93cfc014c24162ce45498 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Fri, 23 Sep 2022 01:13:37 -0400 Subject: [PATCH] Added more info about blood program, change some aug descriptions --- src/Augmentation/Augmentation.tsx | 6 -- src/Augmentation/data/AugmentationCreator.tsx | 71 ++++++++++++++++--- src/Augmentation/data/AugmentationNames.ts | 5 +- src/Augmentation/ui/AugmentationsRoot.tsx | 19 +++++ src/Constants.ts | 2 +- 5 files changed, 86 insertions(+), 17 deletions(-) diff --git a/src/Augmentation/Augmentation.tsx b/src/Augmentation/Augmentation.tsx index 9f8d22a4e..e1154bb5c 100644 --- a/src/Augmentation/Augmentation.tsx +++ b/src/Augmentation/Augmentation.tsx @@ -62,12 +62,6 @@ export interface IConstructorParams { bladeburner_stamina_gain?: number; bladeburner_analysis?: number; bladeburner_success_chance?: number; - infiltration_base_rep_increase?: number; - infiltration_rep?: number; - infiltration_trade?: number; - infiltration_sell?: number; - infiltration_timer?: number; - infiltration_damage_reduction?: number; startingMoney?: number; programs?: string[]; diff --git a/src/Augmentation/data/AugmentationCreator.tsx b/src/Augmentation/data/AugmentationCreator.tsx index c3fc0ec7d..ef88705ee 100644 --- a/src/Augmentation/data/AugmentationCreator.tsx +++ b/src/Augmentation/data/AugmentationCreator.tsx @@ -1384,9 +1384,8 @@ export const initGeneralAugmentations = (): Augmentation[] => [ "The left arm of a legendary BitRunner who ascended beyond this world. " + "It projects a light blue energy shield that protects the exposed inner parts. " + "Even though it contains no weapons, the advanced tungsten titanium " + - "alloy increases the user's strength to unbelievable levels. The augmentation " + - "gets more powerful over time for seemingly no reason.", - strength: 2.7, + "alloy increases the user's strength to unbelievable levels.", + strength: 2.8, factions: [FactionNames.NWO], }), new Augmentation({ @@ -2035,6 +2034,62 @@ export const initChurchOfTheMachineGodAugmentations = (): Augmentation[] => [ stats: <>Stanek's Gift has no penalty., factions: [FactionNames.ChurchOfTheMachineGod], }), + new Augmentation({ + name: AugmentationNames.BigDsBigBrain, + isSpecial: true, + factions: [], + repCost: Infinity, + moneyCost: Infinity, + info: + "A chip containing the psyche of the greatest BitRunner to ever exists. " + + "Installing this relic significantly increases ALL of your stats. " + + "However it may have unintended consequence on the users mental well-being.", + stats: <>Grants access to unimaginable power., + hacking: 2, + strength: 2, + defense: 2, + dexterity: 2, + agility: 2, + charisma: 2, + hacking_exp: 2, + strength_exp: 2, + defense_exp: 2, + dexterity_exp: 2, + agility_exp: 2, + charisma_exp: 2, + hacking_chance: 2, + hacking_speed: 2, + hacking_money: 2, + hacking_grow: 2, + company_rep: 2, + faction_rep: 2, + crime_money: 2, + crime_success: 2, + work_money: 2, + hacknet_node_money: 2, + hacknet_node_purchase_cost: 0.5, + hacknet_node_ram_cost: 0.5, + hacknet_node_core_cost: 0.5, + hacknet_node_level_cost: 0.5, + bladeburner_max_stamina: 2, + bladeburner_stamina_gain: 2, + bladeburner_analysis: 2, + bladeburner_success_chance: 2, + + startingMoney: 1e12, + programs: [ + Programs.BruteSSHProgram.name, + Programs.FTPCrackProgram.name, + Programs.RelaySMTPProgram.name, + Programs.HTTPWormProgram.name, + Programs.SQLInjectProgram.name, + Programs.DeepscanV1.name, + Programs.DeepscanV2.name, + Programs.ServerProfiler.name, + Programs.AutoLink.name, + Programs.Formulas.name, + ], + }), ]; export function initNeuroFluxGovernor(): Augmentation { @@ -2044,15 +2099,13 @@ export function initNeuroFluxGovernor(): Augmentation { repCost: 500, moneyCost: 750e3, info: - "A device that is embedded in the back of the neck. The NeuroFlux Governor " + - "monitors and regulates nervous impulses coming to and from the spinal column, " + - "essentially 'governing' the body. By doing so, it improves the functionality of the " + - "body's nervous system.", + "Undetectable adamantium nanobots injected in the users bloodstream. The NeuroFlux Governor " + + "monitors and regulates all aspects of the human body, essentially 'governing' the body. " + + "By doing so, it improves the users performance for most actions.", stats: ( <> This special augmentation can be leveled up infinitely. Each level of this augmentation increases MOST - multipliers by 1% (+{(donationBonus * 100).toFixed(6)}% boosted by real life blood donations), stacking - multiplicatively. + multipliers by 1% (+{(donationBonus * 100).toFixed(6)}%), stacking multiplicatively. ), isSpecial: true, diff --git a/src/Augmentation/data/AugmentationNames.ts b/src/Augmentation/data/AugmentationNames.ts index 009f0f728..10c78c9c7 100644 --- a/src/Augmentation/data/AugmentationNames.ts +++ b/src/Augmentation/data/AugmentationNames.ts @@ -90,8 +90,11 @@ export enum AugmentationNames { BrachiBlades = "BrachiBlades", BionicArms = "Bionic Arms", SNA = "Social Negotiation Assistant (S.N.A)", - HydroflameLeftArm = "Hydroflame Left Arm", CongruityImplant = "nickofolas Congruity Implant", + HydroflameLeftArm = "Hydroflame Left Arm", + BigDsBigBrain = "BigD's Big ... Brain", + + // Bladeburner augs EsperEyewear = "EsperTech Bladeburner Eyewear", EMS4Recombination = "EMS-4 Recombination", OrionShoulder = "ORION-MKIV Shoulder", diff --git a/src/Augmentation/ui/AugmentationsRoot.tsx b/src/Augmentation/ui/AugmentationsRoot.tsx index 6a2454c22..033ac95d6 100644 --- a/src/Augmentation/ui/AugmentationsRoot.tsx +++ b/src/Augmentation/ui/AugmentationsRoot.tsx @@ -26,6 +26,8 @@ import { StaticAugmentations } from "../StaticAugmentations"; import { CONSTANTS } from "../../Constants"; import { formatNumber } from "../../utils/StringHelperFunctions"; import { Info } from "@mui/icons-material"; +import { Link } from "@mui/material"; +import { AlertEvents } from "../../ui/React/AlertManager"; interface NFGDisplayProps { player: IPlayer; @@ -34,6 +36,19 @@ interface NFGDisplayProps { const NeuroFluxDisplay = ({ player }: NFGDisplayProps): React.ReactElement => { const level = player.augmentations.find((e) => e.name === AugmentationNames.NeuroFluxGovernor)?.level ?? 0; + const openBloodDonation = () => { + AlertEvents.emit( + <> + Bitburner blood donation community program + + The blood donation program is a continuous real life event started on 2022-04-01. To participate simply go + donate blood, plasma, or platelets to your local organisation and take a picture as proof (hide your personal + information). Then send the proof to hydroflame on reddit or discord. + + Currently accumulated {CONSTANTS.Donations} donations. + , + ); + }; return level > 0 ? ( @@ -42,6 +57,10 @@ const NeuroFluxDisplay = ({ player }: NFGDisplayProps): React.ReactElement => { {StaticAugmentations[AugmentationNames.NeuroFluxGovernor].stats} + + The power of {AugmentationNames.NeuroFluxGovernor} increases with blood donations from players in real life. + Learn more here + ) : ( <> diff --git a/src/Constants.ts b/src/Constants.ts index c44cc10bc..8380ddebb 100644 --- a/src/Constants.ts +++ b/src/Constants.ts @@ -229,7 +229,7 @@ export const CONSTANTS: { InfiniteLoopLimit: 2000, - Donations: 25, + Donations: 30, LatestUpdate: ` v2.1.0 - 2022-08-23