bitburner-src/markdown/bitburner.office.md
Snarling 65cd14e33b
DOC: Add ns documentation for possible sleeve tasks (#217)
* 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.
2022-11-20 12:07:22 -05:00

1.7 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<`${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