mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +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,
|
avgEne: office.avgEne,
|
||||||
avgHap: office.avgHap,
|
avgHap: office.avgHap,
|
||||||
avgMor: office.avgMor,
|
avgMor: office.avgMor,
|
||||||
|
totalExperience: office.totalExp,
|
||||||
employeeProd: Object.assign({}, office.employeeProd),
|
employeeProd: Object.assign({}, office.employeeProd),
|
||||||
employeeJobs: Object.assign({}, office.employeeJobs),
|
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;
|
avgHap: number;
|
||||||
/** Average morale of the employees */
|
/** Average morale of the employees */
|
||||||
avgMor: number;
|
avgMor: number;
|
||||||
|
/** Total experience of all employees */
|
||||||
|
totalExperience: number;
|
||||||
/** Production of the employees */
|
/** Production of the employees */
|
||||||
employeeProd: Record<CorpEmployeePosition, number>;
|
employeeProd: Record<CorpEmployeePosition, number>;
|
||||||
/** Positions of the employees */
|
/** Positions of the employees */
|
||||||
|
Loading…
Reference in New Issue
Block a user