mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +01:00
Add totalExperience property to getOffice (#367)
This commit is contained in:
parent
08e71c732b
commit
b9a2953fa6
@ -696,6 +696,7 @@ export function NetscriptCorporation(): InternalAPI<NSCorporation> {
|
||||
avgEne: office.avgEne,
|
||||
avgHap: office.avgHap,
|
||||
avgMor: office.avgMor,
|
||||
totalExperience: office.totalExp,
|
||||
employeeProd: Object.assign({}, office.employeeProd),
|
||||
employeeJobs: Object.assign({}, office.employeeJobs),
|
||||
};
|
||||
|
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -7762,6 +7762,8 @@ export interface Office {
|
||||
avgHap: number;
|
||||
/** Average morale of the employees */
|
||||
avgMor: number;
|
||||
/** Total experience of all employees */
|
||||
totalExperience: number;
|
||||
/** Production of the employees */
|
||||
employeeProd: Record<CorpEmployeePosition, number>;
|
||||
/** Positions of the employees */
|
||||
|
Loading…
Reference in New Issue
Block a user