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
G4mingJon4s
6dc5990b63
CORPORATION: Added check to buy amount ( #149 )
2022-10-24 16:09:53 -04:00
G4mingJon4s
3861e56ced
CORPORATION: Check there is room to make a new product before opening popup. ( #147 )
2022-10-24 08:58:51 -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
Olivier Gagnon
cbb7f58231
Make the main player object an alias, makes it easier to import
2022-10-09 18:42:14 -04:00
Olivier Gagnon
f6f023eeb4
Fix tons of typos
2022-10-09 01:25:31 -04:00
Snarling
068533cd2f
format, lint, more enums, revert fn rename
2022-10-05 14:52:48 -04:00
Snarling
aa80cf6451
See description
...
Reverted ToastVariant back to an enum internally. Still exposed to player as just possible strings.
Changed all 1-line documentation comments to actually be 1-line. Moved some because they were not providing documentation for the thing they were trying to.
2022-10-04 06:40:10 -04:00
Snarling
50f14b4f58
Commit1
2022-10-03 12:12:16 -04:00
hydroflame
30363e0280
Merge pull request #4155 from Mughur/corp
...
CORP: fixed wrongly named division type
2022-09-27 17:49:09 -03:00
Snarling
38063f62a7
build fix, lint, remove some instanceof checks
2022-09-27 16:09:32 -04:00
Snarling
6e3a6be106
Remove some redundant typing
2022-09-27 15:35:42 -04:00
Snarling
db835862d7
format
2022-09-27 15:35:42 -04:00
Snarling
bc7c15ad77
corp: classes are types
2022-09-27 15:35:42 -04:00
Snarling
a21b1029d7
No more player/router context
2022-09-27 15:35:40 -04:00
Snarling
83d357e758
commit1
2022-09-27 15:35:40 -04:00
Snarling
5798c4c7d3
Unify error handling
2022-09-27 15:32:09 -04:00
Mughur
c462da9147
Double checking small fixes would be a good idea
2022-09-27 05:02:12 +03:00
Mughur
1ee292bde9
CORP: fixed wrongly named division type
...
"Computer" division type was erroneously named "Hardware"
2022-09-25 06:19:18 +03:00
LJNeon
4aed5da4ee
feat(corp): don't show repeat office size upgrade button
2022-09-23 11:38:58 -07:00
Mughur
d99d37f191
Bunch of corporation fixes
2022-09-23 13:13:33 +03:00
Mughur
d4c06eba24
Change corporatio valuation calculations
2022-09-23 05:05:18 +03:00
Derek H Osborne
6e02a70eea
Removed console.log line
2022-08-24 17:22:16 -05:00
hydroflame
604596b907
Merge pull request #3480 from Undeemiss/corp-new-shares
...
CORPORATION: Limit shareholder priority on newly issued shares
2022-08-23 12:55:09 -03:00
phyzical
016dbe67d9
add an early out if already researched
...
hotfix/3977
File List:
src/Corporation/Actions.ts
2022-08-17 17:46:18 +08:00
Mughur
451bd0fb54
add missing corp researches to constant
2022-07-30 19:08:17 +03:00
Mughur
a88f36e2f4
add corp get functions, fix coffee hover text
2022-07-30 18:57:33 +03:00
Olivier Gagnon
18c3572423
removed the ability to bribe for shares
2022-07-26 08:20:22 -04:00
hydroflame
3b5d78792b
Merge pull request #3760 from nickofolas/fix/corporation-nformat
...
CORPORATION: Fix #3261 Industry overview number formatting
2022-07-21 02:15:46 -04:00
Olivier Gagnon
d01fd55bde
lint fmt
2022-07-21 01:58:47 -04:00
hydroflame
2772511525
Merge pull request #3779 from borisflagell/CorpoNumeral
...
CORPORATION: Add big number format support in some Corporation's modal
2022-07-21 01:42:35 -04:00
Olivier Gagnon
ec17cfdaf3
merge corp not async
2022-07-20 17:27:11 -04:00
Olivier Gagnon
ef42ee7232
few more api break
2022-07-20 17:03:08 -04:00
Staszek Welsh
75a9151e74
Merge branch 'dev' into corp-remove-async
2022-07-20 21:12:27 +01:00
hydroflame
17c2f06ae0
Merge pull request #3802 from stalefishies/corp-dividends
...
CORPORATION: (BREAKING) Dividend fixes and exposing dividends info via scripts
2022-07-20 15:08:41 -04:00
Olivier Gagnon
a9d5ff9bc9
lint
2022-07-18 03:31:17 -04:00
Olivier Gagnon
4bee746576
rm any
2022-07-15 01:51:30 -04:00
Olivier Gagnon
6b630753f0
nuke some use of any
2022-07-14 19:00:10 -04:00
BB
de01ae20b9
Fixed some typos and style issues
2022-06-07 15:26:33 +02:00
Staszek Welsh
53743ecb7d
Change UI arrows
2022-06-03 22:16:03 +01:00
Staszek Welsh
052aa33f0c
Remove debug console.logs
2022-06-03 00:27:05 +01:00
Staszek Welsh
eb71097006
Fix bug where NaNs can leak into product creation productivities
2022-06-03 00:19:43 +01:00
Staszek Welsh
02b07bb332
Fix relevant linter errors and run formatter
2022-06-02 22:54:50 +01:00
Staszek Welsh
b29c8e0039
Stop potential exploit where you switch employees around right before a product finishes
2022-06-02 22:11:34 +01:00
Staszek Welsh
1ed19168f6
Use nicer arrows and alignment in office UI
2022-06-02 17:47:31 +01:00
Staszek Welsh
333975ecf6
Move buy coffee button to office UI section
2022-06-02 14:49:52 +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
9ffec86b58
Make buy coffee UI reflect if we're buying coffee
2022-06-02 00:00:30 +01:00
Staszek Welsh
fe83ca0f3f
Make throw party UI reflect if we're throwing a party
2022-06-01 23:45:29 +01:00