mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-13 19:23:52 +01:00
commit
4b7b34833b
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -138,7 +138,6 @@ function initAugmentations(): void {
|
|||||||
(key) => ((UnstableCircadianModulatorParams as any)[key] = randomBonuses.bonuses[key]),
|
(key) => ((UnstableCircadianModulatorParams as any)[key] = randomBonuses.bonuses[key]),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
//Misc/Hybrid augmentations
|
//Misc/Hybrid augmentations
|
||||||
const NeuroFluxGovernor = new Augmentation({
|
const NeuroFluxGovernor = new Augmentation({
|
||||||
name: AugmentationNames.NeuroFluxGovernor,
|
name: AugmentationNames.NeuroFluxGovernor,
|
||||||
@ -221,11 +220,7 @@ function initAugmentations(): void {
|
|||||||
defense_mult: 1.08,
|
defense_mult: 1.08,
|
||||||
agility_mult: 1.08,
|
agility_mult: 1.08,
|
||||||
dexterity_mult: 1.08,
|
dexterity_mult: 1.08,
|
||||||
factions: [
|
factions: [FactionNames.Tetrads, FactionNames.TheDarkArmy, FactionNames.TheSyndicate],
|
||||||
FactionNames.Tetrads,
|
|
||||||
FactionNames.TheDarkArmy,
|
|
||||||
FactionNames.TheSyndicate,
|
|
||||||
],
|
|
||||||
}),
|
}),
|
||||||
new Augmentation({
|
new Augmentation({
|
||||||
name: AugmentationNames.Targeting1,
|
name: AugmentationNames.Targeting1,
|
||||||
@ -638,7 +633,13 @@ function initAugmentations(): void {
|
|||||||
"memory and the mind. This implant allows the user to not only access a computer's memory, but also alter " +
|
"memory and the mind. This implant allows the user to not only access a computer's memory, but also alter " +
|
||||||
"and delete it.",
|
"and delete it.",
|
||||||
hacking_money_mult: 1.25,
|
hacking_money_mult: 1.25,
|
||||||
factions: [FactionNames.BitRunners, FactionNames.TheBlackHand, FactionNames.NiteSec, FactionNames.Chongqing, FactionNames.NewTokyo],
|
factions: [
|
||||||
|
FactionNames.BitRunners,
|
||||||
|
FactionNames.TheBlackHand,
|
||||||
|
FactionNames.NiteSec,
|
||||||
|
FactionNames.Chongqing,
|
||||||
|
FactionNames.NewTokyo,
|
||||||
|
],
|
||||||
}),
|
}),
|
||||||
new Augmentation({
|
new Augmentation({
|
||||||
name: AugmentationNames.ENM,
|
name: AugmentationNames.ENM,
|
||||||
@ -947,7 +948,12 @@ function initAugmentations(): void {
|
|||||||
charisma_exp_mult: 1.05,
|
charisma_exp_mult: 1.05,
|
||||||
company_rep_mult: 1.1,
|
company_rep_mult: 1.1,
|
||||||
work_money_mult: 1.2,
|
work_money_mult: 1.2,
|
||||||
factions: [FactionNames.BachmanAssociates, FactionNames.ClarkeIncorporated, FactionNames.FourSigma, FactionNames.KuaiGongInternational],
|
factions: [
|
||||||
|
FactionNames.BachmanAssociates,
|
||||||
|
FactionNames.ClarkeIncorporated,
|
||||||
|
FactionNames.FourSigma,
|
||||||
|
FactionNames.KuaiGongInternational,
|
||||||
|
],
|
||||||
}),
|
}),
|
||||||
new Augmentation({
|
new Augmentation({
|
||||||
name: AugmentationNames.PCDNI,
|
name: AugmentationNames.PCDNI,
|
||||||
@ -959,7 +965,12 @@ function initAugmentations(): void {
|
|||||||
"it using the brain's electrochemical signals.",
|
"it using the brain's electrochemical signals.",
|
||||||
company_rep_mult: 1.3,
|
company_rep_mult: 1.3,
|
||||||
hacking_mult: 1.08,
|
hacking_mult: 1.08,
|
||||||
factions: [FactionNames.FourSigma, FactionNames.OmniTekIncorporated, FactionNames.ECorp, FactionNames.BladeIndustries],
|
factions: [
|
||||||
|
FactionNames.FourSigma,
|
||||||
|
FactionNames.OmniTekIncorporated,
|
||||||
|
FactionNames.ECorp,
|
||||||
|
FactionNames.BladeIndustries,
|
||||||
|
],
|
||||||
}),
|
}),
|
||||||
new Augmentation({
|
new Augmentation({
|
||||||
name: AugmentationNames.PCDNIOptimizer,
|
name: AugmentationNames.PCDNIOptimizer,
|
||||||
@ -999,7 +1010,13 @@ function initAugmentations(): void {
|
|||||||
"triggers feelings of admiration and approval in other people.",
|
"triggers feelings of admiration and approval in other people.",
|
||||||
company_rep_mult: 1.1,
|
company_rep_mult: 1.1,
|
||||||
faction_rep_mult: 1.1,
|
faction_rep_mult: 1.1,
|
||||||
factions: [FactionNames.TianDiHui, FactionNames.TheSyndicate, FactionNames.NWO, FactionNames.MegaCorp, FactionNames.FourSigma],
|
factions: [
|
||||||
|
FactionNames.TianDiHui,
|
||||||
|
FactionNames.TheSyndicate,
|
||||||
|
FactionNames.NWO,
|
||||||
|
FactionNames.MegaCorp,
|
||||||
|
FactionNames.FourSigma,
|
||||||
|
],
|
||||||
}),
|
}),
|
||||||
new Augmentation({
|
new Augmentation({
|
||||||
name: AugmentationNames.ADRPheromone2,
|
name: AugmentationNames.ADRPheromone2,
|
||||||
@ -1011,7 +1028,12 @@ function initAugmentations(): void {
|
|||||||
"triggers feelings of admiration, approval, and respect in others.",
|
"triggers feelings of admiration, approval, and respect in others.",
|
||||||
company_rep_mult: 1.2,
|
company_rep_mult: 1.2,
|
||||||
faction_rep_mult: 1.2,
|
faction_rep_mult: 1.2,
|
||||||
factions: [FactionNames.Silhouette, FactionNames.FourSigma, FactionNames.BachmanAssociates, FactionNames.ClarkeIncorporated],
|
factions: [
|
||||||
|
FactionNames.Silhouette,
|
||||||
|
FactionNames.FourSigma,
|
||||||
|
FactionNames.BachmanAssociates,
|
||||||
|
FactionNames.ClarkeIncorporated,
|
||||||
|
],
|
||||||
}),
|
}),
|
||||||
new Augmentation({
|
new Augmentation({
|
||||||
name: AugmentationNames.ShadowsSimulacrum,
|
name: AugmentationNames.ShadowsSimulacrum,
|
||||||
@ -1025,11 +1047,7 @@ function initAugmentations(): void {
|
|||||||
"espionage and surveillance work.",
|
"espionage and surveillance work.",
|
||||||
company_rep_mult: 1.15,
|
company_rep_mult: 1.15,
|
||||||
faction_rep_mult: 1.15,
|
faction_rep_mult: 1.15,
|
||||||
factions: [
|
factions: [FactionNames.TheSyndicate, FactionNames.TheDarkArmy, FactionNames.SpeakersForTheDead],
|
||||||
FactionNames.TheSyndicate,
|
|
||||||
FactionNames.TheDarkArmy,
|
|
||||||
FactionNames.SpeakersForTheDead
|
|
||||||
],
|
|
||||||
}),
|
}),
|
||||||
new Augmentation({
|
new Augmentation({
|
||||||
name: AugmentationNames.HacknetNodeCPUUpload,
|
name: AugmentationNames.HacknetNodeCPUUpload,
|
||||||
@ -1443,8 +1461,8 @@ function initAugmentations(): void {
|
|||||||
moneyCost: 1.25e8,
|
moneyCost: 1.25e8,
|
||||||
info: (
|
info: (
|
||||||
<>
|
<>
|
||||||
A collection of digital assets saved on a small chip. The chip is implanted into your wrist. A small jack in the
|
A collection of digital assets saved on a small chip. The chip is implanted into your wrist. A small jack in
|
||||||
chip allows you to connect it to a computer and upload the assets.
|
the chip allows you to connect it to a computer and upload the assets.
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
startingMoney: 1e6,
|
startingMoney: 1e6,
|
||||||
@ -1582,12 +1600,12 @@ function initAugmentations(): void {
|
|||||||
),
|
),
|
||||||
factions: [FactionNames.TianDiHui],
|
factions: [FactionNames.TianDiHui],
|
||||||
}),
|
}),
|
||||||
]
|
];
|
||||||
|
|
||||||
// Special Bladeburner Augmentations
|
// Special Bladeburner Augmentations
|
||||||
const BladeburnersFactionName = FactionNames.Bladeburners;
|
const BladeburnersFactionName = FactionNames.Bladeburners;
|
||||||
if (factionExists(BladeburnersFactionName)) {
|
if (factionExists(BladeburnersFactionName)) {
|
||||||
augmentations.concat([
|
augmentations.push(
|
||||||
new Augmentation({
|
new Augmentation({
|
||||||
name: AugmentationNames.EsperEyewear,
|
name: AugmentationNames.EsperEyewear,
|
||||||
repCost: 1.25e3,
|
repCost: 1.25e3,
|
||||||
@ -1850,13 +1868,13 @@ function initAugmentations(): void {
|
|||||||
isSpecial: true,
|
isSpecial: true,
|
||||||
factions: [BladeburnersFactionName],
|
factions: [BladeburnersFactionName],
|
||||||
}),
|
}),
|
||||||
])
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Special CotMG Augmentations
|
// Special CotMG Augmentations
|
||||||
const ChurchOfTheMachineGodFactionName = FactionNames.ChurchOfTheMachineGod;
|
const ChurchOfTheMachineGodFactionName = FactionNames.ChurchOfTheMachineGod;
|
||||||
if (factionExists(ChurchOfTheMachineGodFactionName)) {
|
if (factionExists(ChurchOfTheMachineGodFactionName)) {
|
||||||
augmentations.concat([
|
augmentations.push(
|
||||||
new Augmentation({
|
new Augmentation({
|
||||||
name: AugmentationNames.StaneksGift1,
|
name: AugmentationNames.StaneksGift1,
|
||||||
repCost: 0,
|
repCost: 0,
|
||||||
@ -1975,10 +1993,10 @@ function initAugmentations(): void {
|
|||||||
stats: <>Staneks Gift has no penalty.</>,
|
stats: <>Staneks Gift has no penalty.</>,
|
||||||
factions: [ChurchOfTheMachineGodFactionName],
|
factions: [ChurchOfTheMachineGodFactionName],
|
||||||
}),
|
}),
|
||||||
])
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
augmentations.map(resetAugmentation)
|
augmentations.map(resetAugmentation);
|
||||||
|
|
||||||
// Update costs based on how many have been purchased
|
// Update costs based on how many have been purchased
|
||||||
mult = Math.pow(
|
mult = Math.pow(
|
||||||
|
@ -14,7 +14,6 @@ import Tooltip from "@mui/material/Tooltip";
|
|||||||
import { Settings } from "../../Settings/Settings";
|
import { Settings } from "../../Settings/Settings";
|
||||||
import Button from "@mui/material/Button";
|
import Button from "@mui/material/Button";
|
||||||
|
|
||||||
|
|
||||||
const useStyles = makeStyles(() =>
|
const useStyles = makeStyles(() =>
|
||||||
createStyles({
|
createStyles({
|
||||||
portal: {
|
portal: {
|
||||||
@ -70,7 +69,7 @@ function BitNodePortal(props: IPortalProps): React.ReactElement {
|
|||||||
if (props.level === 2) {
|
if (props.level === 2) {
|
||||||
cssClass = classes.level2;
|
cssClass = classes.level2;
|
||||||
}
|
}
|
||||||
cssClass = `${classes.portal} ${cssClass}`
|
cssClass = `${classes.portal} ${cssClass}`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@ -86,12 +85,10 @@ function BitNodePortal(props: IPortalProps): React.ReactElement {
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
{Settings.DisableASCIIArt ? (
|
{Settings.DisableASCIIArt ? (
|
||||||
<Button
|
<Button onClick={() => setPortalOpen(true)} sx={{ m: 2 }} aria-description={bitNode.desc}>
|
||||||
onClick={() => setPortalOpen(true)}
|
<Typography>
|
||||||
sx={{ m: 2 }}
|
BitNode-{bitNode.number.toString()}: {bitNode.name}
|
||||||
aria-description={bitNode.desc}
|
</Typography>
|
||||||
>
|
|
||||||
<Typography>BitNode-{bitNode.number.toString()}: {bitNode.name}</Typography>
|
|
||||||
</Button>
|
</Button>
|
||||||
) : (
|
) : (
|
||||||
<IconButton
|
<IconButton
|
||||||
@ -114,9 +111,7 @@ function BitNodePortal(props: IPortalProps): React.ReactElement {
|
|||||||
flume={props.flume}
|
flume={props.flume}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{Settings.DisableASCIIArt && (
|
{Settings.DisableASCIIArt && <br />}
|
||||||
<br/>
|
|
||||||
)}
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -173,19 +168,29 @@ export function BitverseRoot(props: IProps): React.ReactElement {
|
|||||||
if (Settings.DisableASCIIArt) {
|
if (Settings.DisableASCIIArt) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{Object.values(BitNodes).filter((node) => {
|
{Object.values(BitNodes)
|
||||||
|
.filter((node) => {
|
||||||
console.log(node.desc);
|
console.log(node.desc);
|
||||||
return node.desc !== 'COMING SOON';
|
return node.desc !== "COMING SOON";
|
||||||
}).map((node) => {
|
})
|
||||||
|
.map((node) => {
|
||||||
return (
|
return (
|
||||||
<BitNodePortal key={node.number} n={node.number} level={nextSourceFileFlags[node.number]} enter={enter} flume={props.flume} destroyedBitNode={destroyed} />
|
<BitNodePortal
|
||||||
)
|
key={node.number}
|
||||||
|
n={node.number}
|
||||||
|
level={nextSourceFileFlags[node.number]}
|
||||||
|
enter={enter}
|
||||||
|
flume={props.flume}
|
||||||
|
destroyedBitNode={destroyed}
|
||||||
|
/>
|
||||||
|
);
|
||||||
})}
|
})}
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<CinematicText lines={[
|
<CinematicText
|
||||||
|
lines={[
|
||||||
"> Many decades ago, a humanoid extraterrestrial species which we call the Enders descended on the Earth...violently",
|
"> Many decades ago, a humanoid extraterrestrial species which we call the Enders descended on the Earth...violently",
|
||||||
"> Our species fought back, but it was futile. The Enders had technology far beyond our own...",
|
"> Our species fought back, but it was futile. The Enders had technology far beyond our own...",
|
||||||
"> Instead of killing every last one of us, the human race was enslaved...",
|
"> Instead of killing every last one of us, the human race was enslaved...",
|
||||||
@ -207,9 +212,10 @@ export function BitverseRoot(props: IProps): React.ReactElement {
|
|||||||
"> Welcome to the Bitverse...",
|
"> Welcome to the Bitverse...",
|
||||||
"> ",
|
"> ",
|
||||||
"> (Enter a new BitNode using the image above)",
|
"> (Enter a new BitNode using the image above)",
|
||||||
]} />
|
]}
|
||||||
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
|
@ -1526,7 +1526,8 @@ export class Bladeburner implements IBladeburner {
|
|||||||
this.startAction(player, this.action);
|
this.startAction(player, this.action);
|
||||||
if (this.logging.general) {
|
if (this.logging.general) {
|
||||||
this.log(
|
this.log(
|
||||||
`Rested in Hyperbolic Regeneration Chamber. Restored ${BladeburnerConstants.HrcHpGain
|
`Rested in Hyperbolic Regeneration Chamber. Restored ${
|
||||||
|
BladeburnerConstants.HrcHpGain
|
||||||
} HP and gained ${numeralWrapper.formatStamina(staminaGain)} stamina`,
|
} HP and gained ${numeralWrapper.formatStamina(staminaGain)} stamina`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -1575,7 +1576,9 @@ export class Bladeburner implements IBladeburner {
|
|||||||
if (factionExists(bladeburnersFactionName)) {
|
if (factionExists(bladeburnersFactionName)) {
|
||||||
const bladeburnerFac = Factions[bladeburnersFactionName];
|
const bladeburnerFac = Factions[bladeburnersFactionName];
|
||||||
if (!(bladeburnerFac instanceof Faction)) {
|
if (!(bladeburnerFac instanceof Faction)) {
|
||||||
throw new Error(`Could not properly get ${FactionNames.Bladeburners} Faction object in ${FactionNames.Bladeburners} UI Overview Faction button`);
|
throw new Error(
|
||||||
|
`Could not properly get ${FactionNames.Bladeburners} Faction object in ${FactionNames.Bladeburners} UI Overview Faction button`,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
if (bladeburnerFac.isMember) {
|
if (bladeburnerFac.isMember) {
|
||||||
const favorBonus = 1 + bladeburnerFac.favor / 100;
|
const favorBonus = 1 + bladeburnerFac.favor / 100;
|
||||||
|
Loading…
Reference in New Issue
Block a user