Merge pull request #1154 from threehams/num-people-killed

Add numPeopleKilled to getPlayer return
This commit is contained in:
hydroflame 2021-09-04 19:03:36 -04:00 committed by GitHub
commit eed915dbbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

@ -3041,6 +3041,7 @@ function NetscriptFunctions(workerScript) {
charisma_exp_mult: Player.charisma_exp_mult,
company_rep_mult: Player.company_rep_mult,
faction_rep_mult: Player.faction_rep_mult,
numPeopleKilled: Player.numPeopleKilled,
money: Player.money.toNumber(),
city: Player.city,
location: Player.location,

@ -47,6 +47,7 @@ export interface IPlayer {
init: () => void;
isWorking: boolean;
karma: number;
numPeopleKilled: number;
location: LocationName;
max_hp: number;
money: any;