bitburner-src/markdown/bitburner.office.md
omuretsu 4ab29e9c60 Fix minimum corp employee stat
* 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
2023-01-03 11:55:50 -05:00

1.5 KiB

Home > bitburner > Office

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