mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 05:35:45 +01:00
Minor grafting tweaks around Congruity aug
This commit is contained in:
parent
758b0e1127
commit
bf518836a5
@ -1488,7 +1488,7 @@ export const initGeneralAugmentations = (): Augmentation[] => [
|
|||||||
// Grafting-exclusive Augmentation
|
// Grafting-exclusive Augmentation
|
||||||
new Augmentation({
|
new Augmentation({
|
||||||
name: AugmentationNames.CongruityImplant,
|
name: AugmentationNames.CongruityImplant,
|
||||||
repCost: 0,
|
repCost: Infinity,
|
||||||
moneyCost: 50e12,
|
moneyCost: 50e12,
|
||||||
info:
|
info:
|
||||||
"Developed by a pioneer in Grafting research, this implant " +
|
"Developed by a pioneer in Grafting research, this implant " +
|
||||||
|
@ -130,10 +130,14 @@ export const GraftingRoot = (): React.ReactElement => {
|
|||||||
<>
|
<>
|
||||||
Cancelling grafting will <b>not</b> save grafting progress, and the money you spend will <b>not</b>{" "}
|
Cancelling grafting will <b>not</b> save grafting progress, and the money you spend will <b>not</b>{" "}
|
||||||
be returned.
|
be returned.
|
||||||
|
{!player.hasAugmentation(AugmentationNames.CongruityImplant) && (
|
||||||
|
<>
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
Additionally, grafting an Augmentation will increase the potency of the Entropy virus.
|
Additionally, grafting an Augmentation will increase the potency of the Entropy virus.
|
||||||
</>
|
</>
|
||||||
|
)}
|
||||||
|
</>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<Typography color={Settings.theme.info}>
|
<Typography color={Settings.theme.info}>
|
||||||
|
@ -1366,16 +1366,17 @@ export function craftAugmentationWork(this: IPlayer, numCycles: number): boolean
|
|||||||
export function finishGraftAugmentationWork(this: IPlayer, cancelled: boolean): string {
|
export function finishGraftAugmentationWork(this: IPlayer, cancelled: boolean): string {
|
||||||
const augName = this.graftAugmentationName;
|
const augName = this.graftAugmentationName;
|
||||||
if (cancelled === false) {
|
if (cancelled === false) {
|
||||||
dialogBoxCreate(
|
|
||||||
`You've finished crafting ${augName}.<br>The augmentation has been grafted to your body, but you feel a bit off.`,
|
|
||||||
);
|
|
||||||
|
|
||||||
applyAugmentation(Augmentations[augName]);
|
applyAugmentation(Augmentations[augName]);
|
||||||
|
|
||||||
if (!this.hasAugmentation(AugmentationNames.CongruityImplant)) {
|
if (!this.hasAugmentation(AugmentationNames.CongruityImplant)) {
|
||||||
this.entropy += 1;
|
this.entropy += 1;
|
||||||
this.applyEntropy(this.entropy);
|
this.applyEntropy(this.entropy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dialogBoxCreate(
|
||||||
|
`You've finished crafting ${augName}.<br>The augmentation has been grafted to your body` +
|
||||||
|
(this.hasAugmentation(AugmentationNames.CongruityImplant) ? "." : ", but you feel a bit off."),
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
dialogBoxCreate(`You cancelled the crafting of ${augName}.<br>Your money was not returned to you.`);
|
dialogBoxCreate(`You cancelled the crafting of ${augName}.<br>Your money was not returned to you.`);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user