mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
65cd14e33b
* Add specific types for sleeve tasks * Moved LocationName enum to overall enums file * Add LocationName enum to those provided to player * remove trailing s on CompanyPosNames enum (now CompanyPosName, in line with LocationName) * Also regenerated all ns documentation. This leads to an expected error when checking for generated files, because PRs should not normally touch markdown files. Also leads to a lint failure in generated file bitburner.d.ts * also removed some exporting from NetscriptDefinitions.d.ts for anything that wasn't imported somewhere else.
1.7 KiB
1.7 KiB
Office interface
Office for a division in a city.
Signature:
export interface Office
Properties
Property | Type | Description |
---|---|---|
avgEne | number | Average energy of the employees |
avgHap | number | Average happiness of the employees |
avgMor | number | Average morale of the employees |
employeeJobs | Record<`${EmployeePositions}`, number> | Positions of the employees |
employeeProd | Record<`${EmployeePositions}`, number> | Production of the employees |
employees | number | Amount of employees |
loc | string | City of the office |
maxEne | number | Maximum amount of energy of the employees |
maxHap | number | Maximum happiness of the employees |
maxMor | number | Maximum morale of the employees |
minEne | number | Minimum amount of energy of the employees |
minHap | number | Minimum happiness of the employees |
minMor | number | Minimum morale of the employees |
size | number | Maximum number of employee |