Commit Graph

513 Commits

Author SHA1 Message Date
hydroflame
486ab7aad8
Merge branch 'dev' into contractFix 2022-08-23 12:44:21 -03:00
MageKing17
0a4c64a8fa Correct documentation for run() with 0 threads.
For consistency, the same phrasing has been applied to the documentation for `exec()` and `spawn()`.
2022-08-20 18:47:37 -07:00
Olivier Gagnon
a8bef50ef5 Added a few formulas to calculate work gains 2022-08-17 14:32:52 -04:00
Snarling
ea7c2c4981 fixing other commits after rebase 2022-08-09 18:25:02 -04:00
hydroflame
74f3d6507f
Merge pull request #3942 from Mughur/dev
API: add corp get<constant> functions, UI: fix coffee hover text
2022-08-09 12:04:03 -03:00
Snarling
9f6ccc94b1 format & lint 2022-08-02 11:32:04 -04:00
Snarling
47d51391e3 fix typechecking and documentation for attempt 2022-08-02 11:30:28 -04:00
phyzical
f441d390e1
left over code from old infil implementation
hotfix/3938

File List:
src/ScriptEditor/NetscriptDefinitions.d.ts
2022-08-01 16:09:47 +08:00
Mughur
a88f36e2f4 add corp get functions, fix coffee hover text 2022-07-30 18:57:33 +03:00
Olivier Gagnon
07c7f0641a allbuild commit c8440ef2 2022-07-28 14:35:55 -04:00
Olivier Gagnon
3b35b07860 remove unused fields on sleeves 2022-07-28 03:08:39 -04:00
Olivier Gagnon
4549b0d467 finish sleeve rework 2022-07-28 02:46:34 -04:00
Olivier Gagnon
32bd629317 lint 2022-07-27 00:08:07 -04:00
Olivier Gagnon
326d9fd7ef Move player skills and exp to their struct 2022-07-26 23:54:17 -04:00
Olivier Gagnon
3e4f26ac0a allbuild commit e6d14eff 2022-07-26 15:30:12 -04:00
Olivier Gagnon
18c3572423 removed the ability to bribe for shares 2022-07-26 08:20:22 -04:00
Olivier Gagnon
faa3e212f3 fix a bunch of small v2 related bugs 2022-07-26 08:08:51 -04:00
Olivier Gagnon
590bc37db0 Fix typo in net def 2022-07-21 15:33:50 -04:00
Olivier Gagnon
7f20dc2ee8 fix getPossibleInfiltrations not returning enough info and fix donation saying Invalid input before unlocking 2022-07-21 15:32:54 -04:00
Olivier Gagnon
2d522ea1e6 allbuild commit e9254edf 2022-07-21 15:09:55 -04:00
Olivier Gagnon
6498a720bb Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-07-21 02:42:52 -04:00
Olivier Gagnon
693baf26df add sleeve aug price and rep function 2022-07-21 02:42:48 -04:00
hydroflame
2fd3451780
Merge pull request #3724 from borisflagell/FIX#3661
API: Fix #3661 Add missing memory property to Sleeve API
2022-07-21 02:26:55 -04:00
Olivier Gagnon
43b8cfec5c fix test suite 2022-07-21 02:13:47 -04:00
hydroflame
0d95533470
Merge pull request #3810 from Undeemiss/multi-hash-sell
BLADEBURNER: Add batch functionality to NS spendHashes API
2022-07-21 01:39:02 -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
c9b9c2c55b merge dev 2022-07-20 12:16:42 -04:00
Olivier Gagnon
4518eabc29 Remove some any and add getAugmentationBasePrice 2022-07-20 01:20:11 -04:00
Olivier Gagnon
ce2ebf576e fix an any 2022-07-19 22:44:45 -04:00
Olivier Gagnon
0c07dddb36 fix a bunch of any in NetDef 2022-07-19 19:20:14 -04:00
Olivier Gagnon
70d5390e4d most anys in NetFunc 2022-07-19 19:04:06 -04:00
Olivier Gagnon
2442402af5 fix more anys 2022-07-19 16:46:03 -04:00
Olivier Gagnon
bb8af88b77 prep v2 2022-07-19 14:21:12 -04:00
Olivier Gagnon
e9788536ed yet another any 2022-07-18 02:36:51 -04:00
Olivier Gagnon
97105b8e76 rm another any 2022-07-18 02:31:09 -04:00
hydroflame
f339e49aa7
Merge pull request #3787 from Undeemiss/bladeburner-multi-upgrade
BLADEBURNER: Added bulk upgrades to upgradeSkill NS API
2022-07-15 23:40:55 -04:00
Olivier Gagnon
1d4d86719e rm any 2022-07-15 01:58:00 -04:00
Olivier Gagnon
5629c16def extract multipliers in its own type 2022-07-14 18:43:33 -04:00
Olivier Gagnon
fac6633347 remove so many fields and values used by the old system 2022-07-12 23:13:40 -04:00
Olivier Gagnon
f7805c4a51 convert faction work to new work system 2022-07-12 01:54:19 -04:00
Olivier Gagnon
606f1bf6c4 create program and grafting done 2022-07-10 01:37:36 -04:00
Olivier Gagnon
647392626e convert taking class ot new work system 2022-07-07 17:28:23 -04:00
Olivier Gagnon
3ee7d593d0 Convert crime to new work model 2022-07-07 02:00:23 -04:00
hydroflame
b067e05738
Merge pull request #3813 from stalefishies/doc-fix
DOCUMENTATION: FIX #2602 Remove incorrect info from getHackTime and friends
2022-07-06 14:33:40 -04:00
hydroflame
eeb01b77d6
Merge pull request #3834 from stalefishies/types-fix
MISC: FIX #3831 Fix NS declarations with incorrect script arg types
2022-07-06 14:31:44 -04:00
Douwe Schulte
d472c1239b
Missing link to used library in tprintf 2022-06-22 12:37:46 +02:00
Staszek Welsh
d2d76d40e0 npm run format 2022-06-10 20:03:43 +01:00
Staszek Welsh
ecc56213bc Fix function declarations with incorrect script arg types 2022-06-10 19:54:11 +01:00
Staszek Welsh
6c73ea44ef Remove potentially spoilery comments about Hacknet Servers from ns docs 2022-06-03 02:20:35 +01:00
Staszek Welsh
144a56e6e0 Remove incorrect doc comment about second arguments for getHackTime and friends 2022-06-03 02:18:06 +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
Undeemiss
f0dc532513 Add optional count parameter to hashCost and spendHashes 2022-05-31 21:13:03 -05: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
06acc423ae Added count to NS cost function, input checking, fixed documentation
Also changed upgradeSkill back to returning a bool instead of a
number.
2022-05-29 11:13:49 -05:00
Undeemiss
709fc3ab63 Began attempting to implement a multi-upgrade function for bb 2022-05-28 14:12:07 -05:00
borisflagell
eed6f355fb Update NetscriptDefinitions.d.ts
Fix two instance of in-game API doc referencing the wrong time unit.
2022-05-26 23:39:57 +02:00
borisflagell
ff75097149 API: Fix #3661 Add missing memory property to Sleeve API
fixes #3661

Add the missing memory stat to NS.SleeveSkills Interface.
Update ns.Sleeve.GetSleeveStats accordingly.
(fixing commit issue)
2022-05-24 15:09:22 +02:00
hydroflame
cb4fd4cf90
Merge pull request #3722 from borisflagell/FIX#2884
API: FIX#2884 Add the missing className property to Sleeve'sAPI
2022-05-24 08:48:35 -04:00
Olivier Gagnon
8159dad5fa allbuild commit de644247 2022-05-24 08:12:49 -04:00
borisflagell
051393fac9 API: FIX#2884 Add the missing className property to Sleeve'sAPI
fixes #2884.
2022-05-23 19:20:33 +02:00
borisflagell
c582e9c099 fix the new function description in in-game-doc 2022-05-23 13:31:34 +02:00
borisflagell
8e0af049d9 BLADEBURNER: FIX #3508 Add GetActionCurrentTime() to Bitburner API
Add GetActionCurrentTime() to Bitburner API.
Slightly tweak BItburner.resetAction() to also reset time counters.
2022-05-22 06:40:08 +02:00
Olivier Gagnon
7eb4494ac1 fix mc 2022-05-20 15:58:33 -04:00
Undeemiss
c01cf85d27 Formatted and linted 2022-05-17 15:25:27 -05:00
Undeemiss
b18c18e19a Updated documentation of closeTail to reflect last commit 2022-05-17 15:22:37 -05:00
Undeemiss
5526355a43 Set up the skeleton of an ns.closeTail function 2022-05-16 19:15:38 -05:00
hydroflame
88b7b141f7
Merge pull request #3618 from Hoekstraa/clearTerminal
API: Terminal screen can now be cleared from within scripts with ns.ui.clearTerminal()
2022-05-13 11:07:25 -04:00
Undeemiss
c2f381cc6e Fix compilation error
I must have missed this file in the commit while having it changed
in my working directory, because the game compiled fine when I was
testing initially but not when I switched branches and came back.
2022-05-09 16:15:11 -05:00
Alt
a6d578eb2e
Edit RAM cost in comment to equal actual RAM usage 2022-05-08 22:53:34 +02:00
rderfler
77073836cb Merge remote-tracking branch 'upstream/dev' into dev 2022-05-06 22:44:24 -04:00
Zoë Hoekstra
472c9778df
Add ns.ui.clearTerminal for 0.2 GB 2022-05-06 12:29:21 +02:00
hydroflame
105ced26bf
Merge pull request #3570 from DavidGrinberg/dev
CORPORATIONS: Expose makeProducts on NSDivision interface
2022-05-04 12:01:33 -04:00
hydroflame
b0c9475b57
Merge pull request #3574 from DavidGrinberg/expose-material-sell-cost
CORPORATIONS: Expose sales cost on NSMaterial interface
2022-05-04 11:58:12 -04:00
Olivier Gagnon
5e9b3b0c4f Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-05-04 11:57:44 -04:00
hydroflame
bffa166fc3
Merge pull request #3577 from phyzical/feature/WEB-3567
FEATURE: added logic to allow quitJob to be called from singularity
2022-05-04 11:57:39 -04:00
Olivier Gagnon
100e81c8ab Update documentation for employee 2022-05-04 11:56:04 -04:00
hydroflame
3f3e6a6261
Merge pull request #3590 from nzdjb/dev
MISC: Correct typos in getScriptRam docs.
2022-05-04 11:51:17 -04:00
Olivier Gagnon
4056956c2a fix documentation for getDarkwebPrograms 2022-05-04 11:51:03 -04:00
Zoë Hoekstra
5dee4980e0
Add safeguard toggle to ns.killall() 2022-05-04 17:11:08 +02:00
nzdjb
a3162eec0e
docs: Correct typos in getScriptRam docs. 2022-05-01 12:57:38 +12:00
rderfler
7cf21629a7 Address review
Add ns function setToBladeburnerAction
Formatting updates
fix sleeves using player stamina
Correct supporting sleeve causing error
2022-04-30 15:25:36 -04:00
phyzical
bd2d5396a6 prettier 2022-04-28 19:22:37 +08:00
phyzical
711955c112 added logic to allow quitJob to be called from singularity 2022-04-28 19:05:56 +08:00
David Grinberg
b2abec7424 Expose sales cost on NSMaterial interface 2022-04-27 22:37:19 -04:00
David Grinberg
d7ac7f8399 Expose makeProducts on NSDivision interface 2022-04-27 00:55:15 -04:00
PSEUDOSTAGE
ab388777b5
Clarify definition for installAugmentations()
Adds the sentence, "If you do not own uninstalled Augmentations then the game will not reset." to the description for installAugmentations().
2022-04-25 13:02:49 -04:00
Olivier Gagnon
f6e5f719d1 infiltration API fixes. 2022-04-22 17:12:14 -04:00
phyzical
8e1300d69d Merge branch 'dev' into feature/add-infiltration-faction
# Conflicts:
#	src/Netscript/RamCostGenerator.ts
2022-04-20 20:10:05 +08:00
Undeemiss
46a90e6271 Added ns function stanek.acceptGift
Added a new ns function stanek.acceptGift to the game, with a ram
cost of 2gb. The function attempts to join the CotMG and install
the gift, then returns true iff the player is in the CotMG and has
the gift installed.
2022-04-19 12:08:38 -05:00
phyzical
8db74f343a merge base 2022-04-15 14:25:13 +08:00
hydroflame
6ce1bab5fe
Merge pull request #3461 from Hoekstraa/3263
API: Add repFromDonation() to the Formula API
2022-04-14 18:26:38 -04:00
Zoë Hoekstra
accb9f7e23
Add repFromDonation formula to the API 2022-04-14 20:01:31 +02:00
phyzical
9c23fc89d1 merge base 2022-04-14 21:27:08 +08:00
Olivier Gagnon
a6ed2b9ed1 doc 2022-04-13 23:53:50 -04:00
Olivier Gagnon
9281cbe559 ns func to flume and destroy wd 2022-04-13 17:34:02 -04:00
hydroflame
244bb5737e
Merge branch 'dev' into bugfix/corp-updates 2022-04-13 16:20:22 -04:00
hydroflame
cca8aa45d6
Merge pull request #3425 from Chris380/bugfix/3111_growthAnalyzeSecurity_thread_limit
Bugfix/3111 growthAnalyzeSecurity thread limit
2022-04-13 11:26:22 -04:00
Olivier Gagnon
a029aee404 fmtlint 2022-04-13 11:18:22 -04:00
nickofolas
51e5d38c7b Add grafting API function to get graftable augs 2022-04-13 09:43:27 -05:00
Chris380
baa14f7b4d
Update src/ScriptEditor/NetscriptDefinitions.d.ts
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:48:44 +02:00
Chris380
04abb60708
Update src/ScriptEditor/NetscriptDefinitions.d.ts
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:48:29 +02:00
phyzical
6b48ff8f21 merge base 2022-04-13 18:50:42 +08:00
Jack
2f9ab67cd2
Merge branch 'dev' into bugfix/corp-updates 2022-04-13 16:35:18 +08:00
chris380
4c113c19eb take into account max threads needed 2022-04-13 09:16:59 +02:00
Olivier Gagnon
e1a56f9270 typos 2022-04-13 02:04:51 -04:00
Alexander Jarman
dd6d4ec104
Merge branch 'dev' into htugboat/toast-part-deux 2022-04-13 01:55:13 -04:00
Heinous Tugboat
492c7012ea Renames SnackbarVariant to ToastVariant, adds enum to ns 2022-04-13 01:54:13 -04:00
Olivier Gagnon
f555c4567b update doc 2022-04-13 01:35:35 -04:00
Olivier Gagnon
729fdf7510 fk it 2022-04-13 01:00:00 -04:00
hydroflame
eee8d3e283
Merge pull request #3381 from HeinousTugboat/htugboat/toast-enum
Adds SnackbarVariant enum
2022-04-13 00:34:09 -04:00
Olivier Gagnon
eaf0098cc7 move singularity to its own namespace but still support the old. 2022-04-12 20:55:28 -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
Olivier Gagnon
52e01fc026 fix a few things about getRecentScritps 2022-04-12 14:45:48 -04:00
hydroflame
68abd27d2c
Merge branch 'dev' into add-ns-getRecentScripts 2022-04-12 14:21:18 -04:00
hydroflame
aa1ab030a3
Merge pull request #3404 from Chris380/bugfix/3057_hashCost_example_code
Fixed hashCost() example code
2022-04-12 13:37:32 -04:00
chris380
fa29d2d9a8 take into account max thread needed 2022-04-12 17:42:49 +02:00
chris380
a49f68b0de Fixed hashCost() example code 2022-04-12 16:23:05 +02:00
hydroflame
674f3b0c9f
Merge pull request #3318 from smmalis37/empjobs
Fix docs for employeeProd and add employeeJobs.
2022-04-11 20:48:17 -04:00
phyzical
a66b5bfb69 fixes and pr comments 2022-04-11 21:54:50 +08:00
Heinous Tugboat
5b96cedd0c Adds SnackbarVariant enum 2022-04-08 23:46:19 -04:00
phyzical
c70f59ac54 merge dev 2022-04-07 16:27:23 +08:00
phyzical
43248bbc42 merge dev 2022-04-07 16:25:33 +08:00
Olivier Gagnon
724c0669da sleep/asleep return promise true 2022-04-06 19:38:30 -04:00
phyzical
8eccdf16e1 add logic to block working for gang faction 2022-04-04 18:10:21 +08:00
phyzical
a8689cb28b Merge branch 'dev' into bugfix/corp-updates 2022-04-02 20:12:19 +08:00
Olivier Gagnon
cd09589f25 stanek-formula-rework 2022-04-01 15:45:12 -04:00
phyzical
b73570e2f7 added the ability to mass upgrade warehouse 2022-04-01 23:19:08 +08:00
phyzical
e5bb695f6f expose material cost
closes #3173
2022-04-01 22:32:48 +08:00
phyzical
13c486d639 added logic to support material production limit
* added ns functions for limit production and limit material
closes #3180
2022-04-01 22:28:48 +08:00
Steven Malis
bb62973905 Fix docs for employeeProd and add employeeJobs. 2022-04-01 01:37:27 -04:00
Olivier Gagnon
4b867fea3e rename factions formulas to reputation 2022-03-31 15:52:03 -04:00
PSEUDOSTAGE
ad9ff78533
Add calculateFavorToRep and calculateRepToFavor to Formulas.exe
The favorToRep and repToFavor formulas are shown to the player in the factions pages but were not available in Formulas.exe. This change adds a FactionsFormulas interface with the calculateFavorToRep and calculateRepToFavor functions.
2022-03-31 15:28:25 -04:00
phyzical
64d095e911 change to any for ns location 2022-03-30 22:24:19 +08:00
phyzical
be24562d34 merge dev 2022-03-30 19:11:34 +08:00
phyzical
07c6051004 merge dev 2022-03-30 19:00:57 +08:00
Olivier Gagnon
12d5f55aec unknown-ify the rest of the basic API. 2022-03-29 22:14:56 -04:00
Olivier Gagnon
aa0425a23d unknown-ify half the basic API. 2022-03-29 21:42:27 -04:00
Olivier Gagnon
bbbaa89f74 unknown-ify singularity API 2022-03-29 20:05:40 -04:00
Olivier Gagnon
725c8234c9 unknown-ify the singularity API. 2022-03-29 19:49:37 -04:00
Olivier Gagnon
a6e256ad5a Step 1 of moving singularity functions 2022-03-29 17:48:45 -04:00
Olivier Gagnon
24ede1c68d allbuild commit /usr/bin/git 2022-03-29 15:49:31 -04:00
Olivier Gagnon
443b0b6a89 rename functions in staneks gift 2022-03-29 14:20:40 -04:00
Olivier Gagnon
680081c548 post-grafting changes 2022-03-29 14:09:17 -04:00
hydroflame
fb1bce579f
Merge pull request #3170 from nickofolas/feature/grafting
[Feature] Grafting
2022-03-29 13:25:41 -04:00
nickofolas
bd3f256536 Update doc for some grafting API funcs 2022-03-27 15:44:25 -04:00
nickofolas
3b32811f5e Grafting API RAM cost & doc update 2022-03-27 15:33:31 -04:00
phyzical
7c5097ee83 added ns functions
* refactored out logic to be reused by api
2022-03-27 15:53:13 +08:00
DavidGrinberg
4497fbdda0
Update documentation for purchaseTor
Reflect the changes to the logic
2022-03-25 23:02:23 -04:00
nickofolas
3476f0f0eb Grafting API (no RAM costs yet) 2022-03-23 12:35:15 -05:00
Olivier Gagnon
fb7c65957d Added dark web functions to ns api 2022-03-20 22:49:46 -04:00
Olivier Gagnon
00d1d294ed fix lint errors 2022-03-20 22:14:32 -04:00
hydroflame
7e3a5e76c3
Merge pull request #3193 from t-wolfeadam/feature/corp-api-bonustime
Implement getBonusTime in Corporation API
2022-03-20 14:13:35 -04:00
t.wolfeadam
5702cb04b6 Implement getBonusTime in Corporation
Used documentation from other 'getBonusTime' methods
2022-03-19 15:22:29 -05:00
parax
ac38e715aa Fixed Lint Errors 2022-03-18 22:52:09 -06:00
parax
e46c67a78a Added NS functions to buy WSE and TIX 2022-03-18 21:58:18 -06:00
Olivier Gagnon
3cdf0452a4 fix up the new prompt UI 2022-03-17 16:44:44 -04:00
hydroflame
83ef5a940b
Merge branch 'dev' into prompt-additions 2022-03-17 15:38:13 -04:00
Master-Guy
eb847d1580 Fix typo 2022-03-17 13:25:47 +01:00
phyzical
3cbb926fd8 expose the inBladeburner on the player object 2022-03-12 12:36:47 +08:00
hydroflame
b7ffdeb5e2
Merge pull request #3076 from ApamNapat/turned_two_eslint_rules_on
Trailing whitespace and files not ending with \n are now illegal
2022-03-10 22:12:17 -05:00
hydroflame
9d080c9901
Merge pull request #2934 from phyzical/bugfix/1955
added check for NS interface with user defined guard
2022-03-10 21:44:37 -05:00
BB
2f4d879c16 Trailing whitespace and files not ending with \n are now illegal 2022-03-08 22:51:02 +01:00
hydroflame
92909689b3
Merge pull request #2891 from tigercat2000/autocomplete_documentation
Terminal: There is now an interface definition for the autocomplete() 'data' argument.
2022-03-08 16:34:57 -05:00
hydroflame
1ceb8b24f6
Merge pull request #3067 from phyzical/hotfix/2951
added CorporationSoftCap to NetscriptDefinitions
2022-03-08 16:32:28 -05:00
hydroflame
4921cdea24
Merge branch 'dev' into phyzical/Corp-Api-Updates 2022-03-07 17:44:43 -05:00
phyzical
bdca45388d added CorporationSoftCap to NetscriptDefinitions 2022-03-05 12:49:32 +08:00
hydroflame
14fef142c5
Merge pull request #3047 from DJ-Laser/patch-1
Fix typo (await ed => awaited)
2022-03-01 10:49:40 -05:00
hydroflame
213b03523b
Merge pull request #2869 from SagePtr/patch-1
Fix ps documentation
2022-03-01 10:47:58 -05:00
hydroflame
6a1af43555
Merge pull request #2972 from factubsio/patch-2
Clarify units for RunningScript.*RunningTime
2022-03-01 10:38:26 -05:00
hydroflame
fe20a98763
Merge pull request #2983 from factubsio/patch-4
Clarify some of the fields in `GangMemberInfo`
2022-03-01 10:36:44 -05:00
hydroflame
c5c48a96b3
Merge pull request #3033 from ChrissiQ/fix-documentation-stopaction-add-gym
📝  (TSDoc Definitions) Add gym workout to stopAction actions.
2022-03-01 10:32:59 -05:00
DJ_Laser
f3f86ff102
Fix typo (await ed => awaited)
I fixed a typo.
2022-02-28 13:48:09 -05:00
ChrissiQ
8ab5ff9565 📝 (TSDoc Definitions) Add gym workout to stopAction actions. 2022-02-24 14:57:05 -07:00
ChrissiQ
a2fd6736f4 📝 (TSDoc Definitions) Inherits doc for overloaded NS methods.
The overloaded methods `NS.kill()`, `NS.getScriptExpGain()`,
`NS.getScriptIncome()`, and `NS.scp()` have broken documentation because the
overloaded function is not documented correctly. I've added `@inheritDoc` tags to
the declarations in order to associate the documentation to the overloaded method.

As shown in these files with broken documentation:
https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.kill_1.md
https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.scp_1.md
https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.getscriptexpgain_1.md
https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.getscriptincome_1.md
2022-02-22 18:36:30 -07:00
Jonathan Beverley
922aafb115 Expose product and material details in API match UI 2022-02-17 23:49:59 -05:00
phyzical
a2b4a63c2e merge latest dev 2022-02-15 20:24:24 +08:00
factubsio
5193ff3156
Clarify some of the fields in GangMemberInfo
The most misleading of these is `str_mult`, which is actually the multiplier from equipment.
2022-02-14 20:00:49 +00:00
factubsio
7902699f99
Clarify units for RunningScript.*RunningTime
Most other times are specified in milliseconds, rather than the seconds used for the running time - this should be made clear in the docs.
2022-02-13 22:22:03 +00:00
phyzical
e8954bc1ee added basic type check to tryWritePort 2022-02-07 22:14:48 +08:00
tigercat2000
f0557eadf7
Terminal: There is now an interface definition for the autocomplete() 'data' argument. 2022-01-31 20:47:15 -08:00
Phil
378f67097c Amending NetscriptDefinitions 2022-01-31 18:15:13 +00:00
Sage Pointer
ac054b0065
Fix ps documentation 2022-01-29 22:20:27 +02:00
smolgumball
d3ac29609d Merge branch 'dev' into add-ns-getRecentScripts 2022-01-29 10:11:55 -07:00
Matthew Thornton
48d4f698c2
Spelling fixes in comments
This just fixes some misspelling in the comments, doesn't change any code or variables.
2022-01-28 14:57:52 -06:00
smolgumball
2add4e9112 Merge branch 'dev' into add-ns-getRecentScripts 2022-01-26 19:07:02 -07:00
hydroflame
1a34d5e363
Merge pull request #2703 from lethern/patch-1
purchaseServer error message fix + small docs change
2022-01-26 00:50:42 -05:00
hydroflame
ae2c6a4c7c
Merge pull request #2737 from pd/crimestats-name
NetscriptDefinitions: Fix type of CrimeStats.name
2022-01-26 00:49:04 -05:00
hydroflame
77ba45df40
Merge pull request #2735 from Ninetailed/ns_printf
Add ns.printf function
2022-01-26 00:45:18 -05:00
hydroflame
2ecc71ba28
Merge pull request #2738 from pd/corp-jsdoc
NetscriptDefinitions: fix jsdoc for Corp research functions
2022-01-26 00:44:43 -05:00
hydroflame
bbef8452b3
Merge pull request #2771 from zeddrak/patch-3
Documentation edit in response to Issue #2678
2022-01-26 00:40:28 -05:00
hydroflame
13453e678f
Merge pull request #2809 from pd/corp-api-leftovers
Corp API: Add setSmartSupplyUseLeftovers
2022-01-26 00:31:58 -05:00
Alex Aubuchon
6342ccbad5 Indicate that getRunningScript can return null 2022-01-25 18:28:47 -05:00
Phil Despotos
65ffbcc27e Corp API: Add setSmartSupplyUseLeftovers
The API can already toggle smart supply on/off, but can't manage the
related controls for whether smart supply will draw from the existing
materials in the warehouse. Without it, we can't keep some resources in
storage to boost the production multiplier without disabling smart
supply entirely.
2022-01-25 12:51:07 -06:00
zeddrak
56fe63cdd5
In response to Issue #2678
Added some clarifications in response to Issue #2678.
Did not rebuild the md files (I didn't want to cause unnecessary file conflicts).
2022-01-22 21:41:53 -08:00