Commit Graph

664 Commits

Author SHA1 Message Date
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
Kyle Hargraves b7604709e5 NetscriptDefinitions: fix jsdoc for Corp research functions 2022-01-21 07:37:16 -06:00
Kyle Hargraves 267a7144cb Fix type of CrimeStats.name 2022-01-21 07:32:39 -06:00
Terrana f2c4109211 Add ns.printf function
Behaviour is consistent with that of tprintf versus tprint and
should be equivalent to ns.print(ns.sprintf(...))
2022-01-21 12:08:47 +00:00
smolgumball 1a6300b287 Cleanup @usage docs 2022-01-19 13:32:07 -07:00
smolgumball 74e2acfa6f Add ns.getRecentScripts() 2022-01-19 00:04:48 -07:00
phyzical 71ac4aacf1 updated buyback and sells functions docs 2022-01-19 08:25:12 +08:00
Olivier Gagnon 69cf98ff34 doc 2022-01-18 19:12:52 -05:00
hydroflame bb34d6b582 Merge pull request #2618 from pigalot/Corp-Api-Updates
Corp api updates
2022-01-18 18:05:23 -05:00
Olivier Gagnon 05cbc25a8f 1.4 2022-01-18 14:03:24 -05:00
lethern 1dcae1aeec Update NetscriptDefinitions.d.ts
grow/weaken/hack: removed threads part from example - confuses newbies
2022-01-18 16:15:40 +01:00
hydroflame 574c541b2e Merge pull request #2656 from SagePtr/patch-2
Minor fix to growth parameter description
2022-01-17 15:56:35 -05:00
hydroflame b5357ec04e Merge pull request #2665 from MartinFournier/feature/ns-ui-getgameinfo
Add ns.ui.getGameInfo() to retrieve game version
2022-01-17 15:53:43 -05:00
phyzical 6f2924dc0d generated docs 2022-01-17 18:24:42 +08:00
phyzical d50e199171 added buybackShares, sellShares and bulkPurchase 2022-01-17 18:03:29 +08:00
pigalot d34d720ab9 Office Size Upgrade Cost 2022-01-16 16:12:03 +00:00
pigalot 2246dd7fe6 Update src/ScriptEditor/NetscriptDefinitions.d.ts
Co-authored-by: Jack <phyzicaly@hotmail.com>
2022-01-16 16:12:00 +00:00
pigalot 4562102448 Fix for js docs 2022-01-16 16:11:32 +00:00
pigalot 62f40b3dc1 Add bribe 2022-01-16 16:11:32 +00:00
pigalot ea88f5f150 spelling mistake 2022-01-16 16:11:32 +00:00
pigalot 6533913b3b add docs for create corp self fund 2022-01-16 16:11:32 +00:00
pigalot 19ecda1607 Fix doc bug 2022-01-16 16:11:32 +00:00
pigalot 1384b86810 Added better job assignment function, and fix docs 2022-01-16 16:11:32 +00:00
pigalot 98e8910c3a Research func, gopublic function, and validation 2022-01-16 16:11:31 +00:00
pigalot 2269f79b15 Add investments to the api 2022-01-16 16:11:31 +00:00
pigalot 1b8c715a5e Add costs and count function for ads 2022-01-16 16:11:31 +00:00
pigalot 74019bc2be Make list of divisions accessable on the corp 2022-01-16 16:11:31 +00:00
pigalot 360b8d8d16 Add has corp to the api player object 2022-01-16 16:11:31 +00:00
pigalot e2bb76ae6d Add createCorp 2022-01-16 16:11:31 +00:00
Martin Fournier 739294da1d Remove duplicated 'cost' keyword for RAM cost.
Only some of the entries had this, so I assume they were introduced by a bad find & replace.
2022-01-16 10:51:34 -05:00
Martin Fournier 07403eaaaa Add ns.ui.getGameInfo() to retrieve game version
Returns { version, commit, platform }
2022-01-16 10:49:01 -05:00
Sage Pointer 32982f4ee8 Minor fix to growth parameter description 2022-01-16 04:44:50 +02:00
Olivier Gagnon 8b69fd7faa doc 2022-01-15 18:39:37 -05:00
hydroflame f1c2dc2693 Merge pull request #2650 from BuckAMayzing/update-hacknet-constant-typing
Fix `constants()` function typing for hacknet nodes/servers
2022-01-15 18:29:13 -05:00
hydroflame c0f6399a96 Merge pull request #2590 from deathly809/feature/ns_support_rm
Add support for the mv command in NS
2022-01-15 18:26:31 -05:00
hydroflame 7a84fa4d29 Merge pull request #2591 from nickofolas/improvement/singularity-focus-args
Add focus arg to Singularity functions
2022-01-15 18:25:56 -05:00
hydroflame 0b36c9a4b2 Merge pull request #2648 from SlyCedix/scp-def
Add function signature for scp(files, destination)
2022-01-15 18:23:56 -05:00
Olivier Gagnon 58fa091dd5 fix mc 2022-01-15 17:53:19 -05:00
Olivier Gagnon de64777c75 some chagens 2022-01-15 17:52:50 -05:00
hydroflame f621dd4a14 Merge branch 'dev' into documentation-updates 2022-01-15 17:47:17 -05:00
Buck Mayzes 71fa6dd2fd Fix constants() function typing for hacknet nodes/servers 2022-01-15 17:03:17 -05:00
Cyn 78fa85a24e Add function signature for scp(files, destination) 2022-01-15 16:28:58 -05:00
Olivier Gagnon 5126d72742 rm some stuff from netdef to make it work in-game 2022-01-13 14:26:05 -05:00
hydroflame d274e21a10 Merge pull request #2596 from MartinFournier/feature/ns-ui-styles
Add ns.ui.[getStyles, setStyles, resetStyles]
2022-01-12 19:18:54 -05:00
Martin Fournier 9b638b911f Add ns.ui.[getStyles, setStyles, resetStyles]
Adds three Netscript functions to manipulate the user's styles like the
player can with theme.
2022-01-12 18:34:05 -05:00
nickofolas 415f922a37 Add focus arg to Singularity functions 2022-01-12 12:03:49 -06:00
Jeffrey A. Robinson bedea0ac73 Add support for the mv command in NS 2022-01-12 09:53:54 -08:00
Andriy Mykhaylyk d2ea934c8e change defs 2022-01-12 13:51:21 +01:00
daan flore 66fbec5365 Cleanup of code 2022-01-10 22:33:50 +01:00
daan flore 51edac414e Adding IPort interface and correcting return value of getPortHandle in NetscriptDefinitions file 2022-01-10 22:31:30 +01:00