omuretsu
867236e153
autoAssignJob streamlining
2023-01-29 08:14:12 -05:00
David Walker
c1d3664955
CORP: Revert mandatory coffeeparty ( #333 )
2023-01-27 08:15:54 -05:00
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
Snarling
fb1f95c26e
VARIOUS: Various changes prior to release 2.2 ( #271 )
...
See PR #271 description
2022-12-29 20:28:53 -05:00
Snarling
c929806307
fix broken party math again
2022-11-20 07:56:58 -05:00
omuretsu
673c2d9f82
Fix broken partyMult default
2022-11-19 22:42:34 -05:00
Snarling
01b131526a
Rework coffee/party ( #201 )
...
* Removed unused partyEmployees and coffeeEmployees members of OfficeSpace
* Reworked formula for performance loss per market cycle.
* Rework both coffee and party formulas to allow easier recovery from low values.
2022-11-07 09:09:53 -05:00
Snarling
5b2a96fa0c
CORPORATION: Happiness/Energy/Morale trend down even for productive corps ( #157 )
2022-10-25 10:32:20 -04:00
Snarling
df70458e4f
CORPORATION: Give Employees some RNG ( #152 )
...
Authored-by: zerbosh <115591472+zerbosh@users.noreply.github.com>
2022-10-24 16:33:25 -04:00
Snarling
0a3ff56331
WIP: Remove corp employees as objects ( #143 )
...
* Removed employees as objects from corporations
* Remove employees from office JSON after loading / convert to new parameters
* Showed down morale/etc gain; added optional position to hireEmployee
* enum support for corp employee positions
Mostly authored-by: Kelenius <kelenius@ya.ru>
2022-10-24 08:44:01 -04:00
Snarling
bc7c15ad77
corp: classes are types
2022-09-27 15:35:42 -04:00
Olivier Gagnon
ec17cfdaf3
merge corp not async
2022-07-20 17:27:11 -04:00
Olivier Gagnon
6b630753f0
nuke some use of any
2022-07-14 19:00:10 -04:00
Staszek Welsh
02b07bb332
Fix relevant linter errors and run formatter
2022-06-02 22:54:50 +01:00
Staszek Welsh
ba7b76369b
Remove industry upgrades
...
There are only two industry upgrades, one of which is buying coffee
which is not an upgrade, and for the office not the industry. Moving
that to the office leaves just hiring AdVerts, which is better as an
explicitly named set of methods.
2022-06-02 02:43:22 +01:00
Staszek Welsh
18a80d3fe9
Stop potential exploit where you could cheat at coffee/party prices
2022-06-02 00:07:34 +01:00
Staszek Welsh
ffaa38d086
Unify code paths for buying coffee and throwing parties
2022-06-01 23:26:32 +01:00
Staszek Welsh
b9356ea782
Only switch employee jobs at the start of corp cycles
2022-06-01 18:11:33 +01:00
Olivier Gagnon
93e7083301
fix lint
2022-04-11 20:59:37 -04:00
hydroflame
674f3b0c9f
Merge pull request #3318 from smmalis37/empjobs
...
Fix docs for employeeProd and add employeeJobs.
2022-04-11 20:48:17 -04:00
Olivier Gagnon
48f80f25d6
fmt and lint
2022-04-06 19:30:08 -04:00
Steven Malis
e572c6e139
Add unassigned and training.
2022-04-01 01:44:53 -04:00
Steven Malis
bb62973905
Fix docs for employeeProd and add employeeJobs.
2022-04-01 01:37:27 -04:00
BB
0eced1b9f2
Simplified some booleans and if elses
2022-03-08 22:52:26 +01:00
phyzical
da955a4774
refector of setEmployeeToJob
2022-02-13 17:57:13 +08:00
phyzical
51d10290d2
added early out for redundant assignment
2022-02-12 00:13:56 +08:00
hydroflame
bb34d6b582
Merge pull request #2618 from pigalot/Corp-Api-Updates
...
Corp api updates
2022-01-18 18:05:23 -05:00
pigalot
1384b86810
Added better job assignment function, and fix docs
2022-01-16 16:11:32 +00:00
nickofolas
ab841f7530
Refactor for ... in
loops
2022-01-15 18:45:03 -06:00
Olivier Gagnon
737276e855
corp api
2021-12-03 23:06:04 -05:00
Olivier Gagnon
5cce1c255c
convert some corp to mui
2021-09-29 19:05:25 -04:00
Olivier Gagnon
06f716c0fa
moved a bunch of files
2021-09-25 14:42:57 -04:00
Olivier Gagnon
e5dcb424a2
sneak in corp API.
2021-09-10 02:17:55 -04:00
Olivier Gagnon
2a13db39c7
fix sleeve memory bug
2021-09-08 23:47:34 -04:00
Olivier Gagnon
a18bdd6afc
prettify, sorry for the big ass commit
2021-09-04 19:09:30 -04:00
Olivier Gagnon
d9c9c30fdd
more conversion
2021-08-31 16:19:58 -04:00
Olivier Gagnon
f987ff9e2a
no more any in corp
2021-08-31 15:51:27 -04:00
Olivier Gagnon
d65cbf07f4
Narrow down corporation types
2021-08-31 14:47:07 -04:00
Olivier Gagnon
7c9c4d3f4d
No more use of any in Corporations.
2021-08-31 13:04:33 -04:00
Olivier Gagnon
21008ba65a
more conversion
2021-08-28 14:45:55 -04:00
Olivier Gagnon
4b53d6ecf7
more convertion
2021-08-28 02:50:06 -04:00