Add numPeopleKilled to getPlayer return

This commit is contained in:
David Edmondson 2021-09-04 14:51:09 -07:00
parent 2d322e7a6a
commit 2914bbb789
2 changed files with 2 additions and 0 deletions

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

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