Commit Graph

336 Commits

Author SHA1 Message Date
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
Staszek Welsh
04efd899a0 Remove async from buyCoffee and throwParty 2022-06-01 23:36:15 +01:00
Staszek Welsh
ffaa38d086 Unify code paths for buying coffee and throwing parties 2022-06-01 23:26:32 +01:00
Staszek Welsh
1ba5902e1e Stop auto employee buttons moving around when the numbers change 2022-06-01 18:34:24 +01:00
Staszek Welsh
b9356ea782 Only switch employee jobs at the start of corp cycles 2022-06-01 18:11:33 +01:00
Staszek Welsh
df98bcc748 Remove unnecessary check in corporation.unlock 2022-06-01 13:03:32 +01:00
Staszek Welsh
eb46e4d156 Rename getDividends to getCycleDividends for clarity 2022-06-01 12:59:45 +01:00
Staszek Welsh
74e4a32f13 Fix shareholder earnings in UI being per cycle instead of per sec 2022-05-30 22:24:52 +01:00
Staszek Welsh
e28fe3e31d Use stored corporation.dividendTax in the dividend tax calculation 2022-05-30 22:05:05 +01:00
Staszek Welsh
8d474a7610 Change corporation.dividendPercentage to corporation.dividendRate 2022-05-30 21:45:36 +01:00
borisflagell
2332138fbd Updated Modal to use new NumberInput Component 2022-05-28 03:15:23 +02:00
borisflagell
6be884a9ad prettier 2022-05-28 02:50:04 +02:00
borisflagell
c6b6ad1ab9 Corporation: Add big number format support in some modal corp
Add big number format support. to the following Corporation's modal :
-BuybackShare
-BribeFaction
-GoPublicModal
-IssueNewShare
-MakeProduct
-SellSahares
2022-05-28 02:50:04 +02:00
nickofolas
8630ff3741 Use big number format for industry overview 2022-05-25 14:26:14 -05:00
phyzical
2e7e5ad917
remove progMult as it is redundant
feature/3737

File List:
src/Corporation/Product.ts
2022-05-25 17:09:36 +08:00
borisflagell
5bc1d293ca prettier 2022-05-22 11:59:14 +02:00
borisflagell
82a001c962 UI: FIX #3376 Add a Total Profit line on Corporation Overview
Add a Total Profit line on Corporation Overview.

Feels a bit like a low added-value bloat.
But division did use that pattern already, so I guess it can count as streamlining.
2022-05-22 11:52:45 +02:00
Undeemiss
b00301f4e1 Renamed BN mult CorporationSoftCap to CorporationSoftcap
Replaced all instances of "CorporationSoftCap" in src/ with
"CorporationSoftcap". If files outside of src/ must be changed, I
do not know what those would be.
2022-05-09 14:45:19 -05:00
phyzical
c3946af666 moved the disabled button over to the buy material modal
to allow bulk purchasing while smart supply is on
2022-04-17 10:59:38 +08:00
Olivier Gagnon
eae4eb2a31 comment 2022-04-14 00:23:48 -04:00
Olivier Gagnon
d8382ec762 Corp upgrades are now defined types 2022-04-14 00:21:33 -04:00
Olivier Gagnon
7c129f1050 revert corp nerf 2022-04-13 19:33:04 -04:00
Olivier Gagnon
abdd8c48d1 nerf Wilson Analytics 2022-04-13 18:26:19 -04:00
Olivier Gagnon
76e539bbb8 bump corpo avg profit length 2022-04-13 18:14:16 -04:00
Olivier Gagnon
88ae27e84d nerf investors fraud 2022-04-13 18:08:35 -04:00