gmcew
df6c507369
MISC: Fix typos and duplicating ms per cycle constant ( #2436 )
2025-12-28 16:09:35 -08:00
Ante
f9a6cc841e
CORPORATION: Expose production limit of material and product ( #2330 )
2025-10-01 01:04:39 -07:00
catloversg
477d01652b
CORPORATION: Remove Spring Water industry ( #2240 )
2025-07-16 01:07:55 -07:00
catloversg
f182030385
CORPORATION: Use different term for dividend modifier instead of tax ( #2237 )
2025-07-11 12:55:46 -07:00
catloversg
6c7783aa85
CORPORATION: Remove DreamSense upgrade ( #2232 )
2025-07-10 01:40:36 -07:00
catloversg
9824166dbf
CORPORATION: Rename division.type to division.industry ( #2152 )
2025-05-28 04:47:26 -07:00
catloversg
4e5044124c
CORPORATION: Rename setAutoJobAssignment API to setJobAssignment ( #2146 )
2025-05-22 12:42:16 -07:00
David Walker
f4e70720a6
Revert "API: Renamed Division.type to Division.industry ( #2079 )" ( #2138 )
...
This reverts commit 7a3c18fcf2 .
2025-05-17 22:58:02 -07:00
whiskeyfur
7a3c18fcf2
API: Renamed Division.type to Division.industry ( #2079 )
2025-05-17 22:31:25 -07:00
catloversg
b53180ff1e
MISC: Remove APIs that were deprecated a long time ago ( #2088 )
2025-05-10 22:10:48 -07:00
catloversg
22ee7fca2c
MISC: Change how enums are exposed in NetscriptDefinitions.d.ts ( #1998 )
2025-05-10 02:28:48 -07:00
catloversg
13990fbe4c
MISC: Do not round return value of getBonusTime APIs ( #1961 )
2025-02-16 01:42:11 -08:00
catloversg
933ec964cf
CORPORATION: Print error message when player cannot create corporation ( #1820 )
2024-12-01 13:50:32 -08:00
catloversg
6e1848dd79
CORPORATION: Add new API to check if player can create corporation ( #1598 )
...
* CORPORATION: Add new API to check if player can create corporation
* Update description of createCorporation API
* Return enum instead of true/false
* Use throwIfReachable
* Fix typo in comment
2024-11-30 21:49:19 -08:00
catloversg
40651a757d
CORPORATION: Clarify ns.corporation.bribe() ( #1766 )
2024-11-10 22:53:27 -08:00
catloversg
e825492319
CORPORATION: Expose valuation via ns.corporation.getCorporation() ( #1765 )
2024-11-10 16:32:25 -08:00
catloversg
36c143b687
CODEBASE: Fix lint errors 2 ( #1756 )
2024-11-06 23:09:11 -08:00
catloversg
dbeaef94a2
CORPORATION: Fix NaN Total Assets caused by bug in bulkPurchase API ( #1573 )
2024-08-14 22:09:41 -07:00
Yichi Zhang
93eb9b0cef
Add buyAmount and importAmount to Corporation Material API ( #1553 )
2024-08-08 18:13:03 -07:00
ilkecan
bf8c15332e
CORPORATION: Don't check access for getConstants ( #1430 )
2024-06-24 22:18:57 -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
dc4a85e591
CORPORATION: Fix wrong error message in buyMaterial API ( #1234 )
2024-04-27 02:10:58 -07: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
catloversg
524714601e
CORPORATION: Add missing checks for Export API ( #1202 )
2024-03-31 13:53:02 -07: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
Snarling
373ced2efe
GO: Various changes before 2.6.0 ( #1120 )
2024-02-26 08:05:10 -05:00
Caldwell
8c2a23f2ba
MISC: change all nextUpdates to use one Promise ( #1069 )
2024-02-10 06:27:47 -05:00
LJ
fd5b0f8241
MISC: Use structuredClone() for deep cloning ( #1077 )
2024-02-10 04:10:19 -05:00
Jesse Clark
902306530c
CORPORATION: Use accounting methods for all funds transactions ( #949 )
2023-12-07 21:22:21 -05:00
Caldwell
009622069f
add size property to getProduct ( #893 )
2023-10-30 03:56:54 -04:00
Caldwell
0bdab7bec8
CORPORATION: move product productionCost into cityData ( #887 )
2023-10-30 03:10:45 -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
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
bba2ccd83a
CORPORATION: add issueNewSharesCooldown and makesMaterial ( #774 )
2023-09-12 01:23:36 -04:00
Snarling
4ca598defb
API: Fix removed functions ( #720 )
2023-08-07 02:38:38 -04:00
omuretsu
61a27fb9c7
Fix default value for hireEmployee
...
Not providing a position now hires unassigned just like the documentation says
2023-07-11 11:50:55 -04:00
Snarling
3981f72149
Add investment info to API representation of product ( #661 )
2023-07-05 19:50:29 -04:00
Snarling
312e3eb71f
Fix for invalid materials in warehouse ( #660 )
2023-07-05 19:36:22 -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
Snarling
6732549196
ENUMS: Initial Enum Helper rework + Reorganization ( #596 )
2023-06-12 00:34:20 -04:00
Aleksei Bezrodnov
174f10d1f5
MISC: tiny corp code style improvement ( #586 )
2023-06-09 19:34:35 -04:00
Snarling
cbff2a420b
CORP: Robotics industry NaN fix + better exports validation ( #578 )
2023-06-06 23:50:23 -04:00
Kateract
10215a924c
CORP: Add maxProducts property to division, consolidate maxProducts logic ( #551 )
2023-06-01 15:20:54 -04:00
omuretsu
c1f842e5c7
More corporation renaming
...
Just renaming files / functions. Industries are the static categories that divisions can operate within, divisions are the actual branches of the company. A lot of stuff was still written as if Industries are the actual branches of the company, which is even less accurate now that a corporation is allowed to have multiple divisions operating in the same industry.
Also removed the incorrect tooltip description of what tea does (it's now just a flat +2 increase)
2023-05-17 17:28:24 -04:00
Snarling
2ae3ac52f1
CORPORATION: Corp changes prior to 2.3 finalization ( #503 )
2023-05-15 18:06:57 -04:00
Snarling
ebae35b1fb
CODEBASE: Expand lint rules, and Aliases are stored as maps ( #501 )
2023-05-05 03:55:59 -04:00