merge dev

This commit is contained in:
Olivier Gagnon
2021-10-26 23:11:47 -04:00
82 changed files with 1280 additions and 793 deletions
+6 -4
View File
@@ -28,11 +28,13 @@ import { dialogBoxCreate } from "./ui/React/DialogBox";
import Decimal from "decimal.js";
import { staneksGift } from "./CotMG/Helper";
import { ProgramsSeen } from "./Programs/ui/ProgramsRoot";
import { InvitationsSeen } from "./Faction/ui/FactionsRoot";
const BitNode8StartingMoney = 250e6;
// Prestige by purchasing augmentation
function prestigeAugmentation(): void {
export function prestigeAugmentation(): void {
initBitNodeMultipliers(Player);
const maintainMembership = Player.factions.filter(function (faction) {
@@ -147,10 +149,12 @@ function prestigeAugmentation(): void {
staneksGift.prestigeAugmentation();
resetPidCounter();
ProgramsSeen.splice(0, ProgramsSeen.length);
InvitationsSeen.splice(0, InvitationsSeen.length);
}
// Prestige by destroying Bit Node and gaining a Source File
function prestigeSourceFile(flume: boolean): void {
export function prestigeSourceFile(flume: boolean): void {
initBitNodeMultipliers(Player);
updateSourceFileFlags(Player);
@@ -280,5 +284,3 @@ function prestigeSourceFile(flume: boolean): void {
resetPidCounter();
}
export { prestigeAugmentation, prestigeSourceFile };