Snarling
50f14b4f58
Commit1
2022-10-03 12:12:16 -04:00
Snarling
bc7c15ad77
corp: classes are types
2022-09-27 15:35:42 -04:00
Snarling
83d357e758
commit1
2022-09-27 15:35:40 -04:00
hydroflame
5101b345ec
Merge pull request #4069 from Mughur/corp
...
API: Corp functions now return copy of constant arrays instead of the original
2022-09-23 00:58:32 -03:00
hydroflame
ee67aa90f9
Merge pull request #4131 from Mughur/valuation
...
CORPORATION: Gave investors some economics classes
2022-09-23 00:58:06 -03:00
hydroflame
a8e640e309
Merge pull request #4084 from Rasmoh/expose_exports
...
CORPORATION API: FIX #3655 Expose exports from Material
2022-09-23 00:46:28 -03:00
Mughur
d4c06eba24
Change corporatio valuation calculations
2022-09-23 05:05:18 +03:00
Rasmoh
cc0fd197c5
Expose exports from Material
2022-09-05 17:25:32 -07:00
phyzical
2a8ddb8147
fix up param order to match docs
...
hotfix/4058
File List:
src/NetscriptFunctions/Corporation.ts
2022-09-02 11:58:12 +08:00
Mughur
c467a49a38
corp functions now return copy instead of original
2022-08-31 12:05:36 +03:00
Risenafis
b224321222
fix selfFund was reversed
2022-08-20 23:37:39 +09:00
Snarling
ea7c2c4981
fixing other commits after rebase
2022-08-09 18:25:02 -04:00
Snarling
931ea730a5
Move entire ns object to top-level
2022-08-09 18:09:26 -04:00
Snarling
208495e269
Initial commit
2022-08-09 18:09:24 -04: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
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
2442402af5
fix more anys
2022-07-19 16:46:03 -04:00
Olivier Gagnon
5629c16def
extract multipliers in its own type
2022-07-14 18:43:33 -04:00
Staszek Welsh
02b07bb332
Fix relevant linter errors and run formatter
2022-06-02 22:54:50 +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
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
7d3a43f7b5
Remove async from employee assignment functions
2022-06-01 18:18:53 +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
eb46e4d156
Rename getDividends to getCycleDividends for clarity
2022-06-01 12:59:45 +01:00
Staszek Welsh
4a3558098c
Fix error check in issueDividends expecting 0-100 when it actually takes 0-1
2022-05-30 22:31:51 +01:00
Staszek Welsh
c117b55df9
Expose dividend info through ns.corporation.getCorporation()
2022-05-30 22:21:27 +01:00
Undeemiss
f8f3c099e0
Formatted/linted (There are some errors, but they aren't mine afaik)
2022-05-28 21:35:20 -05:00
T.J. Eckman
cfb0967634
Unassigned Employees Boost
...
Speed up assigning of employees currently without a job.
2022-05-25 18:55:34 -04:00
Olivier Gagnon
76ccb0ba36
lint
2022-05-25 11:43:43 -04:00
hydroflame
b80e2d5fd1
Merge branch 'dev' into wrap-api
2022-05-19 01:37:06 -04: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
Olivier Gagnon
c6806caca2
Wrap most of the API
2022-05-07 19:08:07 -04:00
hydroflame
105ced26bf
Merge pull request #3570 from DavidGrinberg/dev
...
CORPORATIONS: Expose makeProducts on NSDivision interface
2022-05-04 12:01:33 -04:00
David Grinberg
b2abec7424
Expose sales cost on NSMaterial interface
2022-04-27 22:37:19 -04:00
DavidGrinberg
828629b713
Update src/NetscriptFunctions/Corporation.ts
...
Co-authored-by: Jack <phyzicaly@hotmail.com>
2022-04-27 09:37:02 -04:00
David Grinberg
d7ac7f8399
Expose makeProducts on NSDivision interface
2022-04-27 00:55:15 -04:00
TheMas3212
4cf0314766
Fix leak of real Employee object in hireEmployee
2022-04-17 05:16:42 +10:00
Olivier Gagnon
d8382ec762
Corp upgrades are now defined types
2022-04-14 00:21:33 -04:00
Jack
2f9ab67cd2
Merge branch 'dev' into bugfix/corp-updates
2022-04-13 16:35:18 +08:00
Olivier Gagnon
2b4b59b371
fmy
2022-04-12 19:10:58 -04:00
hydroflame
b017fd2300
Merge pull request #3000 from JonathanBeverley/corp-expose-things-in-ui
...
Expose product and material details in API match UI
2022-04-12 17:49:29 -04:00
hydroflame
a17b81dff3
Merge pull request #2925 from Ornedan/necro-script-fix
...
Necro script fix
2022-04-11 21:36:07 -04:00
phyzical
a66b5bfb69
fixes and pr comments
2022-04-11 21:54:50 +08:00
Heikki Aitakangas
a578763b89
Use a dedicated ScriptDeath type to signal script termination instead of WorkerScript
...
Problem with throwing WorkerScript is that the termination signal object can pass
through user code, which permits user to modify that object and all parts of the
game state accessible through it.
2022-04-02 23:28:21 +03:00
phyzical
b73570e2f7
added the ability to mass upgrade warehouse
2022-04-01 23:19:08 +08:00