few changes

This commit is contained in:
Olivier Gagnon 2021-10-26 21:22:40 -04:00
parent c69888f66d
commit 326e827368
6 changed files with 75 additions and 26 deletions

@ -2415,8 +2415,9 @@ function initAugmentations(): void {
repCost: 1e5, repCost: 1e5,
moneyCost: 0, moneyCost: 0,
info: info:
'TODO, something about Mother being bullshit and you get more control over her "gift"<br><br>' + "The next evolution is near, A coming together of man and machine. A synthesis greater than the birth of the human " +
"The penalty for the gift is only 5%", "organism. Time spent with the gift has allowed for acclimitaztion of the invavise augment and the toll it takes upon " +
"your frame granting lesser penalty of 5% to all stats.",
prereqs: [AugmentationNames.StaneksGift1], prereqs: [AugmentationNames.StaneksGift1],
isSpecial: true, isSpecial: true,
hacking_chance_mult: 0.95 / 0.9, hacking_chance_mult: 0.95 / 0.9,
@ -2445,7 +2446,7 @@ function initAugmentations(): void {
hacknet_node_core_cost_mult: 1.05 / 1.1, hacknet_node_core_cost_mult: 1.05 / 1.1,
hacknet_node_level_cost_mult: 1.05 / 1.1, hacknet_node_level_cost_mult: 1.05 / 1.1,
work_money_mult: 0.95 / 0.9, work_money_mult: 0.95 / 0.9,
stats: null, stats: <>The penalty for the gift is reduced to 5%</>,
}); });
StaneksGift2.addToFactions([ChurchOfTheMachineGodFactionName]); StaneksGift2.addToFactions([ChurchOfTheMachineGodFactionName]);
resetAugmentation(StaneksGift2); resetAugmentation(StaneksGift2);
@ -2455,8 +2456,10 @@ function initAugmentations(): void {
repCost: 1e7, repCost: 1e7,
moneyCost: 0, moneyCost: 0,
info: info:
"TODO, learn more about Allisons scheme, gain full control over the gift.<br><br>" + "The synthesis of human and machine is nothing to fear. It is our destiny. " +
"Finally freed from the penalty of the gift.", "You will become greater than the sum of our parts. As One. Enbrace your gift " +
"fully and wholly free of it's accursed toll. Serenity brings tranquility the form " +
"of no longer suffering a stat penalty. ",
prereqs: [AugmentationNames.StaneksGift2], prereqs: [AugmentationNames.StaneksGift2],
isSpecial: true, isSpecial: true,
hacking_chance_mult: 1 / 0.95, hacking_chance_mult: 1 / 0.95,
@ -2485,24 +2488,26 @@ function initAugmentations(): void {
hacknet_node_core_cost_mult: 1 / 1.05, hacknet_node_core_cost_mult: 1 / 1.05,
hacknet_node_level_cost_mult: 1 / 1.05, hacknet_node_level_cost_mult: 1 / 1.05,
work_money_mult: 1 / 0.95, work_money_mult: 1 / 0.95,
stats: null, stats: <>Staneks Gift has no penalty.</>,
}); });
StaneksGift3.addToFactions([ChurchOfTheMachineGodFactionName]); StaneksGift3.addToFactions([ChurchOfTheMachineGodFactionName]);
resetAugmentation(StaneksGift3); resetAugmentation(StaneksGift3);
const StaneksGiftAscension4 = new Augmentation({ if (Player.bitNodeN === 13) {
name: AugmentationNames.StaneksGift4, const StaneksGiftAscension4 = new Augmentation({
repCost: 1e9, name: AugmentationNames.StaneksGift4,
moneyCost: 0, repCost: 1e9,
info: moneyCost: 0,
"Allow Allison to install an Ascension port in her Gift. Allowing you to connect with the Machine God.<br><br>" + info:
"(hydro notes: Finishes the BN, eventually)", "The MachineGod approaches and when it arrives, we, all of us, will truly be as one. " +
prereqs: [AugmentationNames.StaneksGift3], "We will transcend our physical limitations. That is when we all truly become immortal.",
isSpecial: true, prereqs: [AugmentationNames.StaneksGift3],
stats: null, isSpecial: true,
}); stats: <>Allows communion with the MachineGod at the Church in Chongqing.</>,
StaneksGiftAscension4.addToFactions([ChurchOfTheMachineGodFactionName]); });
resetAugmentation(StaneksGiftAscension4); StaneksGiftAscension4.addToFactions([ChurchOfTheMachineGodFactionName]);
resetAugmentation(StaneksGiftAscension4);
}
} }
// Update costs based on how many have been purchased // Update costs based on how many have been purchased

@ -548,7 +548,7 @@ BitNodes["BitNode13"] = new BitNode(
In this BitNode: In this BitNode:
<br /> <br />
<br /> <br />
Every is significantly reduced Every stat is significantly reduced
<br /> <br />
Stanek's Gift power is significantly increased. Stanek's Gift power is significantly increased.
<br /> <br />

@ -158,6 +158,48 @@ export function SpecialLocation(props: IProps): React.ReactElement {
{" sNNo-.`.-omNy` "}<br /> {" sNNo-.`.-omNy` "}<br />
{" -smNNNNmdo- "}<br /> {" -smNNNNmdo- "}<br />
{" `..` "}</Typography> {" `..` "}</Typography>
if (player.hasAugmentation(AugmentationNames.StaneksGift4, true)) {
return (
<>
<Typography>
<i>
Allison "Mother" Stanek: Are you ready my sweet innocent child? Are you ready to commune with the
MachineGod?
</i>
</Typography>
<Button onClick={() => router.toBitVerse(false, false)}>Commune</Button>
{symbol}
</>
);
}
if (player.hasAugmentation(AugmentationNames.StaneksGift3, true)) {
return (
<>
<Typography>
<i>
Allison "Mother" Stanek: ..can ...you hear them too ...? Come now, don't be shy and let me get a closer
look at you. Yes wonderful, I see my creation has taken root without consquence or much ill effect it
seems. Curious, Just how much of a machine's soul do you house in that body?
</i>
</Typography>
{symbol}
</>
);
}
if (player.hasAugmentation(AugmentationNames.StaneksGift2, true)) {
return (
<>
<Typography>
<i>
Allison "Mother" Stanek: I see you've taken to my creation. So much so it could hardly be recoginized as
one of my own after your tinkering with it. I see you follow the ways of the MachineGod as I do, and your
mastery of the gift thus for clearly demonstrates that. My hopes are climbing by the day for you.
</i>
</Typography>
{symbol}
</>
);
}
if (player.factions.includes("Church of the Machine God")) { if (player.factions.includes("Church of the Machine God")) {
return ( return (
<> <>

@ -193,7 +193,7 @@ export interface IPlayer {
getUpgradeHomeRamCost(): number; getUpgradeHomeRamCost(): number;
getUpgradeHomeCoresCost(): number; getUpgradeHomeCoresCost(): number;
gotoLocation(to: LocationName): boolean; gotoLocation(to: LocationName): boolean;
hasAugmentation(aug: string | Augmentation): boolean; hasAugmentation(aug: string | Augmentation, installed?: boolean): boolean;
hasCorporation(): boolean; hasCorporation(): boolean;
hasGangWith(facName: string): boolean; hasGangWith(facName: string): boolean;
hasTorRouter(): boolean; hasTorRouter(): boolean;

@ -200,7 +200,7 @@ export class PlayerObject implements IPlayer {
getUpgradeHomeRamCost: () => number; getUpgradeHomeRamCost: () => number;
getUpgradeHomeCoresCost: () => number; getUpgradeHomeCoresCost: () => number;
gotoLocation: (to: LocationName) => boolean; gotoLocation: (to: LocationName) => boolean;
hasAugmentation: (aug: string | Augmentation) => boolean; hasAugmentation: (aug: string | Augmentation, installed?: boolean) => boolean;
hasCorporation: () => boolean; hasCorporation: () => boolean;
hasGangWith: (facName: string) => boolean; hasGangWith: (facName: string) => boolean;
hasTorRouter: () => boolean; hasTorRouter: () => boolean;

@ -5,7 +5,7 @@ import { IPlayer } from "../IPlayer";
import { Augmentation } from "../../Augmentation/Augmentation"; import { Augmentation } from "../../Augmentation/Augmentation";
export function hasAugmentation(this: IPlayer, aug: string | Augmentation): boolean { export function hasAugmentation(this: IPlayer, aug: string | Augmentation, installed = false): boolean {
const augName: string = aug instanceof Augmentation ? aug.name : aug; const augName: string = aug instanceof Augmentation ? aug.name : aug;
for (const owned of this.augmentations) { for (const owned of this.augmentations) {
@ -14,9 +14,11 @@ export function hasAugmentation(this: IPlayer, aug: string | Augmentation): bool
} }
} }
for (const owned of this.queuedAugmentations) { if (!installed) {
if (owned.name === augName) { for (const owned of this.queuedAugmentations) {
return true; if (owned.name === augName) {
return true;
}
} }
} }