merge base

This commit is contained in:
phyzical
2022-04-15 14:25:13 +08:00
19 changed files with 232 additions and 98 deletions
+2 -1
View File
@@ -37,6 +37,7 @@ import { ISkillProgress } from "../formulas/skill";
import { PlayerAchievement } from "../../Achievements/Achievements";
import { cyrb53 } from "../../utils/StringHelperFunctions";
import { getRandomInt } from "../../utils/helpers/getRandomInt";
import { CONSTANTS } from "../../Constants";
export class PlayerObject implements IPlayer {
// Class members
@@ -361,7 +362,7 @@ export class PlayerObject implements IPlayer {
this.faction_rep_mult = 1;
//Money
this.money = 1000;
this.money = 1000 + CONSTANTS.Donations;
//Location information
this.city = CityName.Sector12;
@@ -105,7 +105,7 @@ export function prestigeAugmentation(this: PlayerObject): void {
this.agility_exp = 0;
this.charisma_exp = 0;
this.money = 1000;
this.money = 1000 + CONSTANTS.Donations;
this.city = CityName.Sector12;
this.location = LocationName.TravelAgency;