GO: Various changes before 2.6.0 (#1120)

This commit is contained in:
Snarling
2024-02-26 08:05:10 -05:00
committed by GitHub
parent f6871f0911
commit 373ced2efe
62 changed files with 1626 additions and 2135 deletions
@@ -51,8 +51,6 @@ import { achievements } from "../../Achievements/Achievements";
import { isCompanyWork } from "../../Work/CompanyWork";
import { isMember } from "../../utils/EnumHelper";
import { getGoPlayerStartingState } from "../../Go/boardState/goConstants";
import { resetGoNodePower } from "../../Go/effects/effect";
export function init(this: PlayerObject): void {
/* Initialize Player's home computer */
@@ -114,8 +112,6 @@ export function prestigeAugmentation(this: PlayerObject): void {
this.sleeves.forEach((sleeve) => (sleeve.shock <= 0 ? sleeve.synchronize() : sleeve.shockRecovery()));
resetGoNodePower(this);
this.lastUpdate = new Date().getTime();
// Statistics Trackers
@@ -152,7 +148,6 @@ export function prestigeSourceFile(this: PlayerObject): void {
resetGangs();
this.corporation = null;
this.bladeburner = null;
this.go = getGoPlayerStartingState();
// Reset Stock market
this.hasWseAccount = false;