Commit Graph

38 Commits

Author SHA1 Message Date
hydroflame
8354ba2314
Merge pull request #3286 from phyzical/bugfix/fix-max-warehouse-bulk-purchase
incorrect ternary with bulk purchase
2022-03-30 11:34:48 -04:00
Olivier Gagnon
98ae97afea Validate city name coming from netscript 2022-03-30 11:34:03 -04:00
phyzical
3c991a743c incorrect ternary 2022-03-30 23:33:45 +08:00
Gian P
8be65faf9f Check before unlocking corp upgrade 2022-03-19 16:53:28 -03:00
hydroflame
f65221b1f1
Merge pull request #3114 from ApamNapat/turn_on_three_more_lints
Mixing spaces and tabs, extra semicolons and lonely ifs are now illegal
2022-03-16 14:51:05 -04:00
TheRealMaxion
208af6ce9c
Fix some misleading corporation errors 2022-03-16 12:08:00 +01:00
BB
5e2ccc71ec Mixing spaces and tabs, extra semicolons and lonely ifs are now forbidden 2022-03-11 16:32:48 +01:00
hydroflame
d955398a68
Merge pull request #2757 from ltoni90/bugfix/2719_Corporation_Expressions
Bug fix corporation expressions
2022-03-10 22:15:39 -05:00
hydroflame
f117cc8a74
Merge pull request #2912 from phyzical/bugfix/2899
Added a check for exisiting industry type before expanding
2022-03-10 22:14:18 -05:00
ChrissiQ
44c4529d90 🐛 (Bug: Corp) Fixes sufficient player money check to buy back shares.
`BuyBackShares()` checks the corp for sufficient funds, but since shares are purchased with player money, it should be checking the player's money instead.
2022-03-07 23:18:51 -07:00
hydroflame
4921cdea24
Merge branch 'dev' into phyzical/Corp-Api-Updates 2022-03-07 17:44:43 -05:00
phyzical
6e21f16160 adjustments per review comments
* updated error message
* used correct price for bulk purchasing check
* moved onclose and rerenders outside try blocks
2022-02-19 16:05:55 +08:00
phyzical
3e36e6a80b few more adjustments
* fixed the export material fix
* changed teh dev menu fund adjuster for more granular control
* added checks for smartSupply and setSmartSupply
* few random autolints
2022-02-12 11:31:50 +08:00
phyzical
8b55b0293c corp api fixes
* added early out in UpgradeWarehouse when not enough cash
* added checks to enforce maxProducts
* added checks to enforce export material is valid for location
* added checks for market ti reasearches
2022-02-11 23:48:19 +08:00
phyzical
105ea19eae add the industry name to assist with debugging when error occurs 2022-02-04 17:46:08 +08:00
phyzical
608cc089b2 Added a check for exisiting industry type before expanding 2022-02-04 17:34:16 +08:00
Luca Montagna
bd775f167e fixed temp evaluation of MAX and PROD for products 2022-01-22 13:58:51 +01:00
Luca Montagna
bfa271881b fixed temporary evaluation of MAX and PROD 2022-01-22 13:32:35 +01:00
phyzical
dd47a8baa0 throw error without bulk purchase reasearch 2022-01-17 20:00:19 +08:00
phyzical
d50e199171 added buybackShares, sellShares and bulkPurchase 2022-01-17 18:03:29 +08:00
phyzical
b742fae1c6 Bugfix for creating products in invalid industries 2022-01-17 17:58:09 +08:00
pigalot
bd20f16a2d Fix for AI Cores in smart supply 2022-01-16 16:12:00 +00:00
pigalot
98e8910c3a Research func, gopublic function, and validation 2022-01-16 16:11:31 +00:00
Olivier Gagnon
ef781a0627 plenty of bf 2021-11-15 23:49:33 -05:00
Olivier Gagnon
0114c92829 fix decimal 2021-11-11 21:35:26 -05:00
hydroflame
70ffe25bb4
Revert "bunch of bugfixes" 2021-11-11 20:06:05 -05:00
Olivier Gagnon
d91d7c564e bunch of bugfixes 2021-11-11 19:56:09 -05:00
Olivier Gagnon
56c8a23631 corp MAXMPPROD is now case insensitive 2021-10-11 22:54:28 -04:00
Olivier Gagnon
5f8de7e426 bunch of react conversion 2021-09-12 18:03:07 -04:00
Olivier Gagnon
e5dcb424a2 sneak in corp API. 2021-09-10 02:17:55 -04:00
Olivier Gagnon
e906a6331f change modals so they close on mouse down outside the box 2021-09-10 00:53:39 -04:00
Olivier Gagnon
be08161442 corp api 2021-09-10 00:13:28 -04:00
Olivier Gagnon
2a13db39c7 fix sleeve memory bug 2021-09-08 23:47:34 -04:00
Olivier Gagnon
506122f5b8 fmt, remove corp routing, lint 2021-09-06 15:06:08 -04:00
Olivier Gagnon
a18bdd6afc prettify, sorry for the big ass commit 2021-09-04 19:09:30 -04:00
Olivier Gagnon
2866bfaa70 more corp API 2021-09-03 16:02:41 -04:00
Olivier Gagnon
8d17495e85 corp API 2021-09-02 00:36:33 -04:00
Olivier Gagnon
d3aeda8ad5 more conversion 2021-09-01 22:16:48 -04:00