CORPORATION: Rework share price calculation + UI improvements (#782)

This commit is contained in:
Jesse Clark
2023-09-19 21:36:48 -07:00
committed by GitHub
parent f6e1c171ae
commit 3ae3f947ac
34 changed files with 654 additions and 417 deletions
@@ -21,5 +21,8 @@ export function startCorporation(this: PlayerObject, corpName: string, seedFunde
this.corporation.unlocks.add(CorpUnlockName.OfficeAPI);
}
this.corporation.totalShares += seedFunded ? 500_000_000 : 0;
if (seedFunded) {
this.corporation.investorShares += 500e6;
this.corporation.totalShares += 500e6;
}
}