mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
4ab29e9c60
* minEmployeeDecay is now part of CorpConstants and has a value of 10. This replaces Office.minEne/minMor/minHap * Also removed some unnecessary files in dist/ext for MathJax * Rebuilt documentation to remove minHap/minMor/minEne from getOffice, and add minEmployeeDecay to corporation.getConstants
1.5 KiB
1.5 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<CorpEmployeePosition, number> | Positions of the employees |
employeeProd | Record<CorpEmployeePosition, number> | Production of the employees |
employees | number | Amount of employees |
loc | CityName | 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 |
size | number | Maximum number of employee |