Commit Graph

464 Commits

Author SHA1 Message Date
catloversg
3c29757827
CORPORATION: Fix wrong product price calculation (#1451) 2024-07-02 15:11:32 -07:00
catloversg
7b3cf48453
CORPORATION: Refactor markup multiplier (#1362) 2024-06-06 23:10:16 -07:00
Caldwell
cb92643c7e
IMPROVEMENT: partial migration @mui/styles to tss-react (#1338) 2024-06-03 12:27:13 -04:00
gmcew
1f08724fea
CORP: Products sell all at price of 0 (#1330)
Match material behaviour - price of 0 discards stored products
2024-06-02 18:01:03 -07:00
catloversg
175af0bd28
BUGFIX: Improve implementation of getRandomInt (#1282) 2024-05-18 15:12:06 -07:00
catloversg
25afecc0ec
CORPORATION: Rename functions in Actions.ts (#1272)
This should be a straight rename, no functionality changes.
2024-05-12 14:52:07 -07:00
catloversg
7f5bc5700e
CORPORATION: Refactor bribery (#1268)
This also removes the useless restriction Player.hasGangWith(factionName). When the corporation is strong enough to bribe, the gang is useless. This problem was discussed on Discord.
2024-05-12 14:49:11 -07:00
catloversg
6a1691fe54
CORPORATION: Update tooltip of storage space (#1237)
The tooltip of the storage space only shows sizes of materials/products. This is confusing for newbies. They use "Unit" (number of material/product units) when buying materials, but that tooltip only shows sizes without any description.
2024-05-08 16:29:03 -07:00
catloversg
7a1fce6f64
CORPORATION: Fix wrong average price of material (#1227) 2024-04-23 20:14:22 -04:00
catloversg
216500ed32
CORPORATION: Add a new API to sell a division (#1210)
Also refactoring around use of "player" variable (whether it is capitalized or not).
2024-04-15 21:19:47 -07:00
Snarling
6669c4da6a
BLADEBURNER: Typesafety / refactoring (#1154) 2024-03-28 21:52:37 -04:00
adeilt
08097aaf09
CORPORATION: more granular office size upgrades (#1179)
Allows corporation.upgradeOfficeSize to increase the size of a Corporation office by a non-multiple of 3 and also be charged a corresponding amount of corporate funds. See #1166 for details of current behavior.
2024-03-24 17:37:08 -07:00
catloversg
db226ce0b8
MISC: Remove isString utility function (#1185) 2024-03-23 02:46:52 -07:00
catloversg
733f2ccb5b
CORPORATION: Improve performance of cycle valuation (#1088)
This PR is an alternative for PR #1085. It includes these changes:

* Create a new property: numberOfOfficesAndWarehouses. It's used for calculating cycle valuation.
* Hardcode 1.0079741404289038 instead of calculating Math.pow(1.1, 1 / 12).
2024-02-15 05:43:37 -08:00
catloversg
65214c0322
Change the calculation of valuation (#1056) 2024-02-10 06:48:52 -05:00
Caldwell
8c2a23f2ba
MISC: change all nextUpdates to use one Promise (#1069) 2024-02-10 06:27:47 -05:00
catloversg
51ac4d009c
Fix wrong demandRange of Minerals (#1053) 2024-01-23 16:18:32 -05:00
Shockwave
63574bca0c
MISC: Several typo fix in corporation modals (#1029) 2024-01-14 16:12:28 -05:00
Jesse Clark
1dac133ef4
Align columns in warehouse storage breakdown (#970) 2023-12-28 00:25:57 -05:00
Jesse Clark
417671ecb8
CORPORATION: Account for CapEx and Cap Gains differently (#977) 2023-12-16 04:56:57 -05:00
Jesse Clark
902306530c
CORPORATION: Use accounting methods for all funds transactions (#949) 2023-12-07 21:22:21 -05:00
catloversg
4dd4f920c3
Remove unused code in OfficeSpace (#961) 2023-12-07 07:55:30 -05:00
Kelenius
aee353a54e
Fix warehouse not updating after product sale (#925) 2023-12-03 04:13:06 -05:00
Jesse Clark
34cc0441c2
Remove cooldown from "Sell corporation and start over" (#919) 2023-12-03 04:03:30 -05:00
Caldwell
0bdab7bec8
CORPORATION: move product productionCost into cityData (#887) 2023-10-30 03:10:45 -04:00
TheAimMan
ca12bddaf5
BUGFIX: Check Corp Research pre-reqs in research api call (#884) 2023-10-30 03:09:34 -04:00
TheAimMan
71e37823dd
BUGFIX: Update warehouseSizeUsed after bulk purchase (#871) 2023-10-23 04:54:43 -04:00
Caldwell
e992cb966a
CORPORATION: adding prevState and changed state display in the warehouse UI (#861) 2023-10-23 04:48:06 -04:00
Jesse Clark
61c311a126
API: Add nextUpdate() promise for systems with bonus time (#845) 2023-10-23 04:24:30 -04:00
Jesse Clark
62ab9f33be
UI: Clarify wording in Corporation (#866) 2023-10-17 09:59:52 -04:00
Caldwell
9c41995e59
increment employees the right way (#869)
move the incrementation of employees after the avg calc
2023-10-17 07:07:26 -04:00
Caldwell
6fa149ff08
CORPORATION: remove unneeded "state" property from Divisions (#857) 2023-10-07 23:25:46 -04:00
Jesse Clark
2f40b66789
CORPORATION: UI to display production and sales multipliers (#838) 2023-10-07 23:22:28 -04:00
Jesse Clark
7f575eb34c
UI: Clean up typesetting of Corp ingredient formulas (#819) 2023-10-02 20:13:41 -04:00
Jesse Clark
3ae3f947ac
CORPORATION: Rework share price calculation + UI improvements (#782) 2023-09-20 00:36:48 -04:00
Yichi Zhang
1b81fe8766
CORPORATION: Rework valuation calculation (#789) 2023-09-19 08:47:16 -04:00
Caldwell
d914040ae7
CORPORATION: Remove Market TA string in sell dialog text fields (#784) 2023-09-12 19:49:51 -04:00
omuretsu
fe0f8cad4d Import changes
Just some import changes in a couple files.
2023-09-12 05:38:25 -04:00
Caldwell
b6eafce563
CORPORATION: remove TA modals and integrate into sell modal (#796) 2023-09-12 05:30:45 -04:00
Caldwell
bf5e638891
CORPORATION: Fix "Use same 'Sell Amount' for all cities" toggle for products (#775) 2023-09-12 04:31:51 -04:00
aschmider
a6ff0d3e14
CORPORATION: Fix additive value in party result message (#793) (#794) 2023-09-12 03:56:59 -04:00
Caldwell
624a0a5b02
CORPORATION: improve State description (#778) 2023-09-12 01:25:51 -04:00
Caldwell
bba2ccd83a
CORPORATION: add issueNewSharesCooldown and makesMaterial (#774) 2023-09-12 01:23:36 -04:00
Caldwell
7c82221a13
CORP: Change some number formatting to look better (#764)
changed formatCorpStat to formatBigNumber to make big numbers readable
2023-08-31 20:29:04 -04:00
myCatsName
6b7cab6ac4
IssueNewShares Modal spacing typo fix (#715) 2023-08-05 20:58:26 -04:00
Snarling
312e3eb71f
Fix for invalid materials in warehouse (#660) 2023-07-05 19:36:22 -04:00
Aleksei Bezrodnov
1d5a735941
MISC: enforce eslint react checks (#640) 2023-06-26 22:29:44 -04:00
Snarling
9a0a843ffc
TYPESAFETY: FactionName (#644) 2023-06-25 22:53:35 -04:00
Snarling
a4b826683e
TYPESAFETY: Strict internal typing for AugmentationName (#608) 2023-06-16 17:52:42 -04:00
omuretsu
c7d05cae58 Add parens to replacement for IINV and EINV 2023-06-12 16:04:21 -04:00