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
This commit is contained in:
omuretsu
2023-01-03 11:55:50 -05:00
parent b2ecd82acc
commit 4ab29e9c60
21 changed files with 37 additions and 330 deletions

View File

@@ -7643,6 +7643,8 @@ interface CorpConstants {
employeeRaiseAmount: number;
/** Max products for a division without upgrades */
maxProductsBase: number;
/** The minimum decay value for happiness/morale/energy */
minEmployeeDecay: number;
}
/** @public */
type CorpStateName = "START" | "PURCHASE" | "PRODUCTION" | "SALE" | "EXPORT";
@@ -7845,16 +7847,10 @@ export interface Office {
loc: CityName;
/** Maximum number of employee */
size: number;
/** Minimum amount of energy of the employees */
minEne: number;
/** Maximum amount of energy of the employees */
maxEne: number;
/** Minimum happiness of the employees */
minHap: number;
/** Maximum happiness of the employees */
maxHap: number;
/** Minimum morale of the employees */
minMor: number;
/** Maximum morale of the employees */
maxMor: number;
/** Amount of employees */