diff --git a/README.md b/README.md index 0401f18f6..8a9ee34c0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Bitburner +[![Join Discord](https://img.shields.io/discord/415207508303544321)](https://discord.gg/TFc3hKD) + [![Build Status](https://github.com/danielyxie/bitburner/actions/workflows/ci.yml/badge.svg?branch=dev)](https://github.com/danielyxie/bitburner/actions/workflows/ci.yml) Bitburner is a programming-based [incremental game](https://en.wikipedia.org/wiki/Incremental_game) diff --git a/src/Augmentation/AugmentationCreator.tsx b/src/Augmentation/AugmentationCreator.tsx index 9ca692801..7a3ab23d8 100644 --- a/src/Augmentation/AugmentationCreator.tsx +++ b/src/Augmentation/AugmentationCreator.tsx @@ -5,6 +5,7 @@ import { Programs } from "../Programs/Programs"; import { WHRNG } from "../Casino/RNG"; import React from "react"; import { FactionNames } from "../Faction/data/FactionNames"; +import { CONSTANTS } from "../Constants"; function getRandomBonus(): any { const bonuses = [ @@ -1892,6 +1893,8 @@ export const initChurchOfTheMachineGodAugmentations = (): Augmentation[] => [ ]; export function initNeuroFluxGovernor(): Augmentation { + const donationBonus = CONSTANTS.Donations / 1e6 / 100; // 1 millionth of a percent per donation + console.log(donationBonus * 100); return new Augmentation({ name: AugmentationNames.NeuroFluxGovernor, repCost: 500, @@ -1904,35 +1907,35 @@ export function initNeuroFluxGovernor(): Augmentation { stats: ( <> This special augmentation can be leveled up infinitely. Each level of this augmentation increases MOST - multipliers by 1%, stacking multiplicatively. + multipliers by 1% (+{donationBonus * 100}% boosted by real life blood donations), stacking multiplicatively. ), - hacking_chance_mult: 1.01, - hacking_speed_mult: 1.01, - hacking_money_mult: 1.01, - hacking_grow_mult: 1.01, - hacking_mult: 1.01, - strength_mult: 1.01, - defense_mult: 1.01, - dexterity_mult: 1.01, - agility_mult: 1.01, - charisma_mult: 1.01, - hacking_exp_mult: 1.01, - strength_exp_mult: 1.01, - defense_exp_mult: 1.01, - dexterity_exp_mult: 1.01, - agility_exp_mult: 1.01, - charisma_exp_mult: 1.01, - company_rep_mult: 1.01, - faction_rep_mult: 1.01, - crime_money_mult: 1.01, - crime_success_mult: 1.01, - hacknet_node_money_mult: 1.01, - hacknet_node_purchase_cost_mult: 0.99, - hacknet_node_ram_cost_mult: 0.99, - hacknet_node_core_cost_mult: 0.99, - hacknet_node_level_cost_mult: 0.99, - work_money_mult: 1.01, + hacking_chance_mult: 1.01 + donationBonus, + hacking_speed_mult: 1.01 + donationBonus, + hacking_money_mult: 1.01 + donationBonus, + hacking_grow_mult: 1.01 + donationBonus, + hacking_mult: 1.01 + donationBonus, + strength_mult: 1.01 + donationBonus, + defense_mult: 1.01 + donationBonus, + dexterity_mult: 1.01 + donationBonus, + agility_mult: 1.01 + donationBonus, + charisma_mult: 1.01 + donationBonus, + hacking_exp_mult: 1.01 + donationBonus, + strength_exp_mult: 1.01 + donationBonus, + defense_exp_mult: 1.01 + donationBonus, + dexterity_exp_mult: 1.01 + donationBonus, + agility_exp_mult: 1.01 + donationBonus, + charisma_exp_mult: 1.01 + donationBonus, + company_rep_mult: 1.01 + donationBonus, + faction_rep_mult: 1.01 + donationBonus, + crime_money_mult: 1.01 + donationBonus, + crime_success_mult: 1.01 + donationBonus, + hacknet_node_money_mult: 1.01 + donationBonus, + hacknet_node_purchase_cost_mult: 1 / (1.01 + donationBonus), + hacknet_node_ram_cost_mult: 1 / (1.01 + donationBonus), + hacknet_node_core_cost_mult: 1 / (1.01 + donationBonus), + hacknet_node_level_cost_mult: 1 / (1.01 + donationBonus), + work_money_mult: 1.01 + donationBonus, factions: Object.values(FactionNames), }); } diff --git a/src/Constants.ts b/src/Constants.ts index 46bf33f2d..e145b95b1 100644 --- a/src/Constants.ts +++ b/src/Constants.ts @@ -114,6 +114,7 @@ export const CONSTANTS: { AugmentationGraftingTimeBase: number; EntropyEffect: number; TotalNumBitNodes: number; + Donations: number; // number of blood/plasma/palette donation the dev have verified., boosts NFG LatestUpdate: string; } = { VersionString: "1.6.4", @@ -286,6 +287,8 @@ export const CONSTANTS: { // BitNode/Source-File related stuff TotalNumBitNodes: 24, + Donations: 2, + LatestUpdate: ` v1.6.3 - 2022-04-01 Few stanek fixes ---------------------------- diff --git a/src/PersonObjects/Player/PlayerObject.ts b/src/PersonObjects/Player/PlayerObject.ts index 943598b60..d52e5b0f1 100644 --- a/src/PersonObjects/Player/PlayerObject.ts +++ b/src/PersonObjects/Player/PlayerObject.ts @@ -37,6 +37,7 @@ import { ISkillProgress } from "../formulas/skill"; import { PlayerAchievement } from "../../Achievements/Achievements"; import { cyrb53 } from "../../utils/StringHelperFunctions"; import { getRandomInt } from "../../utils/helpers/getRandomInt"; +import { CONSTANTS } from "src/Constants"; export class PlayerObject implements IPlayer { // Class members @@ -354,7 +355,7 @@ export class PlayerObject implements IPlayer { this.faction_rep_mult = 1; //Money - this.money = 1000; + this.money = 1000 + CONSTANTS.Donations; //Location information this.city = CityName.Sector12; diff --git a/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx b/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx index ae8d1bb27..3619562e2 100644 --- a/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx +++ b/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx @@ -105,7 +105,7 @@ export function prestigeAugmentation(this: PlayerObject): void { this.agility_exp = 0; this.charisma_exp = 0; - this.money = 1000; + this.money = 1000 + CONSTANTS.Donations; this.city = CityName.Sector12; this.location = LocationName.TravelAgency;