diff --git a/src/PersonObjects/Player/PlayerObjectCorporationMethods.ts b/src/PersonObjects/Player/PlayerObjectCorporationMethods.ts index c00380606..a1bd6ca93 100644 --- a/src/PersonObjects/Player/PlayerObjectCorporationMethods.ts +++ b/src/PersonObjects/Player/PlayerObjectCorporationMethods.ts @@ -1,4 +1,5 @@ import { Corporation } from "../../Corporation/Corporation"; +import { CorporationUnlockUpgrades } from "../../Corporation/data/CorporationUnlockUpgrades"; import { SourceFileFlags } from "../../SourceFile/SourceFileFlags"; import { IPlayer } from "../IPlayer"; @@ -18,5 +19,13 @@ export function startCorporation(this: IPlayer, corpName: string, additionalShar name: corpName, }); + if (SourceFileFlags[3] === 3) { + const warehouseApi = CorporationUnlockUpgrades["7"][0]; + const OfficeApi = CorporationUnlockUpgrades["8"][0]; + + this.corporation.unlockUpgrades[warehouseApi] = 1; + this.corporation.unlockUpgrades[OfficeApi] = 1; + } + this.corporation.totalShares += additionalShares; }