Commit Graph

239 Commits

Author SHA1 Message Date
missymae#2783
ad9bde40e0
DOCS: Improve documentation for ns.bladeburner.getActionRepGain (#760) 2023-08-30 16:28:21 -04:00
missymae#2783
4b627cde1e
DOCS: ns.getScriptLog update to use "FilenameOrPID" and related ns.tail change (#753) 2023-08-28 14:49:37 -04:00
Zelow79
b7ad3395ae
API: Added CompanyName to NetscriptDefinitions (#731) 2023-08-16 17:31:41 -04:00
missymae#2783
7500ef0da2
DOCUMENTATION: ns.share and getSharePower definition updates (#734) 2023-08-16 17:08:55 -04:00
myCatsName
aed01b0979
NETSCRIPT: added ns.singularity.getAugmentationFactions (#706) 2023-08-06 00:04:36 -04:00
omuretsu
3ced0575a4 Generate doc 2023-08-01 01:53:10 -04:00
Snarling
1c6369ffa4
NETSCRIPT: Add ns.stock.getConstants (#692) 2023-07-31 23:08:42 -04:00
Snarling
006fbd528f
DOCS: Add printRaw and tprintRaw docs (#663) 2023-07-07 18:23:26 -04:00
Snarling
3981f72149
Add investment info to API representation of product (#661) 2023-07-05 19:50:29 -04:00
Snarling
91bfb154b6
Better docs for ascension result (#649) 2023-06-26 04:56:58 -04:00
omuretsu
21b04bdec0 Regenerate docs 2023-06-20 18:25:27 -04:00
Kateract
cc5247ac89
Update exportMaterial amount to number | string (#583) 2023-06-07 13:48:23 -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
8bf13b6fd3 fileExists no longer case sensitive for programs 2023-05-27 08:39:29 -04:00
David Walker
4503da6226
UI: LogBox overhaul (#508) 2023-05-26 08:07:37 -04:00
G4mingJon4s
113af6e711
Add ns.getFunctionRamCost (#526) 2023-05-26 07:46:08 -04:00
Nikolai Korolev
2e9dc32deb
DOC: Specify optional parameters in hacknet functions (#515) 2023-05-18 01:28:56 -04:00
Snarling
2ae3ac52f1
CORPORATION: Corp changes prior to 2.3 finalization (#503) 2023-05-15 18:06:57 -04:00
Snarling
8f684fa74c Changelog and markdown update 2023-04-28 14:45:55 -04:00
David Walker
aa7facd4ba
NETSCRIPT: Greatly speed up script launching, and remove the limitation unique args per script (#440)
* Remove the limitation unique args per script
* Internal changes to how runningScripts are stored on the server, to make common usage faster.
2023-04-27 18:21:06 -04:00
Snarling
6024c81113
NETSCRIPT: add ns.getResetInfo(#490)
* Move lastAugReset and lastNodeReset back to main API under getResetInfo, also included currentNode.
* The associated properties are deprecated on getPlayer()
2023-04-25 05:22:36 -04:00
G4mingJon4s
d01ba91654
SINGULARITY: Added aug and node identifiers (timestamps of last resets) (#472) 2023-04-12 13:13:42 -04:00
Snarling
f761eed377
NETSCRIPT: Type correctness for getServer (#476) 2023-04-11 15:12:55 -04:00
omuretsu
f74002cce0 Fix and rebuild doc 2023-04-07 07:49:11 -04:00
omuretsu
798da75d83 renameServer changes
* Update doc error, regenerate docs
* Update a bad error message in renamePurchasedServer@serverPurchases.ts
* restore true/false return (removed in #450 due to miscommunication)
2023-03-28 16:10:24 -04:00
David Walker
2b54c6c9b9
NETSCRIPT: Add ramOverride as a RunOption (#441)
Allows overriding the static ram calculation. Dynamic ram limit still applies.
2023-03-22 10:09:12 -04:00
David Walker
98f7f473b4
NETSCRIPT: Add "temporary" as a RunOption to run/exec/spawn (#432) 2023-03-21 18:54:49 -04:00
Mughur
1f98eecb57
CORP: rework (#428)
* corp overhaul: Corp production quality now depends on materials

* corp overhaul: Product price can be set separately for each city

* corp overhaul: export uses relatives

* corp overhaul: ignore energy in quality

* corp overhaul: getProduct() is city dependant

* corp overhaul: bulkbuy available from start

* corp overhaul: add multibuy for leveled upgrads

* corp overhaul: changes to UI

* corp overhaul: base quality 1, reqmat changes

* corp overhaul: puchased material quality is 1

* corp overhaul: get rid of the text box from ta2

* corp overhaul: sold shares limitations

* corp overhaul: coffee -> tea, training -> intern

* corp overhaul: smartsupply has multiple options

* corp overhaul: restart, literature, investore, ui

* corp overhaul: nerf advertising

* corp overhaul: bunch of stuff
2023-03-18 03:12:43 +02:00
omuretsu
057aeaea83 Doc update
* Added notes about whether ns API layers contain spoilers.
* Add some more info to checkFactionInvitation doc
2023-03-08 01:39:05 -05:00
omuretsu
c2cd5845b2 Refactor ls 2023-03-07 08:04:08 -05:00
Snarling
e74dfe9b79
NETSCRIPTSLEEVE: Add cyclesWorked to ns.sleeve.getTask return (#409) 2023-03-07 05:30:15 -05:00
omuretsu
75481aa195 Fix growthAnalyzeSecurity doc
Also a format fix from a previous sloppy commit
2023-02-28 09:57:02 -05:00
T.J. Eckman
33f0150d25
BUGFIX: Memory Leak in NetscriptPorts (#399)
Co-authored-by: Snarling <84951833+Snarling@users.noreply.github.com>
2023-02-27 19:54:04 -05:00
Snarling
d3f9554a6e
2.2.2 Release (#378) 2023-02-21 09:44:18 -05:00
omuretsu
6b8ae1b351 Change high% display to mult form
Also includes some documentation updates from a previous PR (sleeve.setToIdle)
2023-02-19 15:24:27 -05:00
David Walker
dc9b1050bf Result of npm run doc
Includes my change and a bunch of prior changes
2023-02-17 00:14:20 -08:00
Snarling
08e71c732b
Threads are a positive integer (#366)
* Added new positive integer ns validation helper
* `run`, `exec`, and `spawn` verify threads as a positive integer.
* `run` terminal command also fails if the provided threadcount is not a positive integer.
* Removed some references to .script files in various documentation, and removed some of the NS1 example blocks
2023-02-14 01:32:01 -05:00
Snarling
b0bdf0c7ad
DOC: Improve ns.kill documentation (#365) 2023-02-13 21:50:38 -05:00
Snarling
b4074328ec
UI: Added new locale-aware and configurable number formatting (#354) 2023-02-11 13:18:50 -05:00
omuretsu
4ab29e9c60 Fix minimum corp employee stat
* minEmployeeDecay is now part of CorpConstants and has a value of 10. This replaces Office.minEne/minMor/minHap
* Also removed some unnecessary files in dist/ext for MathJax
* Rebuilt documentation to remove minHap/minMor/minEne from getOffice, and add minEmployeeDecay to corporation.getConstants
2023-01-03 11:55:50 -05:00
omuretsu
0ec4ef31ab 2.2 2023-01-02 13:20:25 -05:00
Snarling
fb1f95c26e
VARIOUS: Various changes prior to release 2.2 (#271)
See PR #271 description
2022-12-29 20:28:53 -05:00
omuretsu
6a4d40ce2b Update docs 2022-11-28 10:44:04 -05:00
Snarling
837c6bd1c2
CONTRACT: codingcontract.attempt always returns a string (#231)
* ns.codingcontract always returns a string (reward on success, empty on fail), simplifying usage and documentation of function.
* Because of the above, return value still works when used as a boolean, as long as no direct equality comparison to true/false.
* Documentation expanded and examples added.
Co-authored by @quacksouls
2022-11-28 09:15:09 -05:00
Snarling
e7fc0fbb03
Fix documentation for ns.sleeve (#227) 2022-11-24 08:19:51 -05:00
Snarling
65cd14e33b
DOC: Add ns documentation for possible sleeve tasks (#217)
* Add specific types for sleeve tasks
* Moved LocationName enum to overall enums file
* Add LocationName enum to those provided to player
* remove trailing s on CompanyPosNames enum (now CompanyPosName, in line with LocationName)
* Also regenerated all ns documentation. This leads to an expected error when checking for generated files, because PRs should not normally touch markdown files. Also leads to a lint failure in generated file bitburner.d.ts
* also removed some exporting from NetscriptDefinitions.d.ts for anything that wasn't imported somewhere else.
2022-11-20 12:07:22 -05:00
omuretsu
06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00
Snarling
bbb6e3f309
Remove markdown from git tracking (#139)
* Will attempt to add as build artifacts using workflow.
2022-10-21 10:46:21 -04:00
Olivier Gagnon
af1a1ac58d Rename lots of reference from old to new repo 2022-10-20 03:56:59 +11:00
Olivier Gagnon
73bcf0870f doc 2022-10-11 01:06:26 -04:00
Olivier Gagnon
f803355335 fix doc 2022-10-09 18:48:58 -04:00
Olivier Gagnon
7a89c0a1bb regen doc 2022-10-09 18:46:13 -04:00
Olivier Gagnon
c6da513eea allbuild commit a3c92dd0 2022-09-23 15:03:38 -04:00
hydroflame
8170fa09a9
Merge pull request #3792 from borisflagell/patch-1
DOC: Update bitburner.sleeve.settobladeburneraction.md
2022-09-23 12:59:37 -03:00
Olivier Gagnon
f825cc0bfd regen doc 2022-08-23 12:46:38 -04:00
Olivier Gagnon
23342f6dcc regen doc 2022-08-23 11:33:29 -04:00
hydroflame
d6f4b3c8a5
Merge branch 'dev' into hotfix/test-fixes 2022-08-23 12:31:28 -03:00
Olivier Gagnon
a8bef50ef5 Added a few formulas to calculate work gains 2022-08-17 14:32:52 -04:00
Olivier Gagnon
3217f53717 doc 2022-08-17 08:50:05 -04:00
phyzical
2be7029b50
update mds, add missing deprecation notice
hotfix/test-fixes

File List:
dist/bitburner.d.ts
markdown/bitburner.singularity.md
2022-08-01 16:44:19 +08:00
phyzical
46c7cef25f
remove redundant mds
hotfix/test-fixes

File List:
markdown/bitburner.singularity.getcharacterinformation.md
markdown/bitburner.singularity.getstats.md
markdown/bitburner.tix.short.md
2022-08-01 16:43:38 +08:00
Olivier Gagnon
6b18bfb145 doc 2022-07-15 23:47:19 -04:00
borisflagell
e5b372438c
Update bitburner.sleeve.settobladeburneraction.md
Slight correction to the sleeveNumber description. Was referencing Gym Workout -> Now reference performing Action
2022-05-29 13:50:08 +02:00
Olivier Gagnon
8159dad5fa allbuild commit de644247 2022-05-24 08:12:49 -04:00
Olivier Gagnon
b5e4d706b2 🔖 Build v1.6.4 2022-04-13 12:32:26 -04:00
Olivier Gagnon
e1a56f9270 typos 2022-04-13 02:04:51 -04:00
Olivier Gagnon
f555c4567b update doc 2022-04-13 01:35:35 -04:00
Olivier Gagnon
24ede1c68d allbuild commit /usr/bin/git 2022-03-29 15:49:31 -04:00
Olivier Gagnon
ceb2a48d9f update doc 2022-03-17 16:50:46 -04:00
phyzical
a2b4a63c2e merge latest dev 2022-02-15 20:24:24 +08:00
Meowdoleon
c5bf58a3eb
Declaring the script variable in the NS2 example
Small change to declares the script variable in the NS2 example.
2022-01-19 13:58:15 -05: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
phyzical
6f2924dc0d generated docs 2022-01-17 18:24:42 +08:00
pigalot
8b52607113 Update docs after rebase 2022-01-16 16:13:45 +00:00
pigalot
d34d720ab9 Office Size Upgrade Cost 2022-01-16 16:12:03 +00:00
pigalot
4e099a935e Update markdown/bitburner.product.md
Co-authored-by: Jack <phyzicaly@hotmail.com>
2022-01-16 16:12:00 +00:00
pigalot
9ad4193270 Update markdown/bitburner.product.developmentprogress.md
Co-authored-by: Jack <phyzicaly@hotmail.com>
2022-01-16 16:12:00 +00:00
pigalot
6ee291e0b3 Update md docs 2022-01-16 16:12:00 +00:00
pigalot
dc5e9f5269 More changes to docs 2022-01-16 16:11:56 +00:00
pigalot
3476fc8218 Update Docs 2022-01-16 16:11:52 +00:00
Olivier Gagnon
8b69fd7faa doc 2022-01-15 18:39:37 -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
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
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
Olivier Gagnon
f4ac7344c4 doc 2022-01-08 13:25:06 -05:00
Martin Fournier
c9ca1e9d37 Add ns.ui.setTheme() and ns.ui.resetTheme() 2022-01-04 20:33:18 -05:00
Kebap
53e3547d87
move sentence around 2022-01-04 03:09:20 +01:00
Kebap
501cabfdc5
Update bitburner.ns.getweakentime.md 2022-01-04 02:46:47 +01:00
Andriy Mykhaylyk
38923af436
fix ns.run args type definition 2022-01-03 16:10:22 +01:00
hydroflame
7f812f56d9
Merge pull request #2277 from pan-kuleczka/dev
Fixed ambiguous NS.hackAnalyze description
2022-01-02 11:36:14 -05:00
Brandon Bothell
5aa08f4123
docs: commitCrime() return millseconds, not seconds 2022-01-02 02:37:25 -05:00
pan-kuleczka
8428264f05 Fixed ambiguous NS.hackAnalyze() description 2022-01-02 01:09:44 +01:00
hydroflame
cc4f07d037
Merge pull request #2175 from Xynrati/patch-3
Removing old comment about removed parameter
2021-12-28 11:59:41 -05:00
Xynrati
ab5a2a8297
Update bitburner.ns.getweakentime.md 2021-12-28 08:07:56 -08:00
Xynrati
f98968f8b2
Update bitburner.ns.getgrowtime.md 2021-12-28 08:07:35 -08:00
Alexander Morland
8b33f72703
Fixed typo 2021-12-28 11:01:22 +01:00
Xynrati
072653674e
Removing old comment about removed parameter
Because "no it don't"
2021-12-24 06:11:45 -08:00
Martin Fournier
65d0877edc Add ns.ui.getTheme() api function 2021-12-20 14:37:10 -05:00
millennIumAMbiguity
69fda94808
Fixed grammar issues in NS.purchaseServer()
Removed the article: the it will -> it will
Changed the quantifier: the amount of servers -> the number of servers
2021-12-19 11:30:44 +01:00
Martin Fournier
217b94d0a0 Fix #1863: Add getHashUpgrades hacknet function
Adds a new functions ofr hacknet servers that returns the list of
available hash upgrades.
2021-12-17 05:35:17 -05:00
Olivier Gagnon
33e918fc49 doc 2021-12-16 15:28:53 -05:00
Olivier Gagnon
e16fba2418 scan doc 2021-12-16 15:21:00 -05:00
Olivier Gagnon
1b680431b6 regen doc 2021-12-16 12:59:11 -05:00
Jordan Turner
89bc702ef2 . 2021-12-15 22:18:47 -07:00
Jordan Turner
53a8cbe9bd have to re commit for some reason sry same as before semi colons 2021-12-15 22:17:54 -07:00
Jordan Turner
e1e032b61f added semi colons they were missing at the end of some examples 2021-12-15 22:15:29 -07:00
Jordan Turner
db9b0a8ec8 added await before the ns2 method calls 2021-12-15 22:01:44 -07:00
Jordan Turner
3926913790 updated appearach of example sections based on alainbryden suggestion 2021-12-15 21:47:18 -07:00
Jordan Turner
632e1f70f3 added rs to backricks to color code syntax 2021-12-15 10:25:54 -07:00
Jordan Turner
687682fcbd added syntax useage to github ns page 2021-12-15 10:10:32 -07:00
Jordan Turner
ab24e4865e reverted back to orginal 2021-12-15 08:34:20 -07:00
Jordan Turner
a48d91b4cd added syntax useage to github ns main page 2021-12-15 08:24:05 -07:00
Eric Wright
f2708e6772
Update bitburner.ns.getweakentime.md
There is a reference to the grow function on line 25. Update to reference weaken.
2021-12-11 19:22:18 -06:00
Olivier Gagnon
d5e47a7180 regen doc 2021-12-09 12:59:46 -05:00
Olivier Gagnon
c915cd06d8 corp doc 2021-12-08 20:03:22 -05:00
Olivier Gagnon
14317628e6 formulas doc 2021-12-08 19:19:07 -05:00
Olivier Gagnon
6eba92b36c rename the functions I created 2 minutes ago. 2021-12-08 18:41:49 -05:00
Olivier Gagnon
2af57cb01e formulas for gang stuff 2021-12-08 18:19:30 -05:00
Olivier Gagnon
25aa5d3afe corp api 2021-12-03 23:08:11 -05:00
Olivier Gagnon
3c27893aa3 v1.1.0 2021-12-03 16:14:13 -05:00
Olivier Gagnon
49a545f00e many bugfix 2021-12-03 14:12:32 -05:00
Olivier Gagnon
773f50ba67 doc n steam copypaste 2021-12-02 18:42:30 -05:00
Olivier Gagnon
f0a004e75b Fix a bunch of scripting related stuff. 2021-11-25 11:47:31 -05:00
Olivier Gagnon
42518c3caa fix few bugs 2021-11-22 11:36:13 -05:00
Olivier Gagnon
3cbf2e8e7d fix doc 2021-11-13 09:35:13 -05:00
Olivier Gagnon
6bd6b3061e rename some stuff and close some exploits 2021-11-12 15:42:57 -05:00
Olivier Gagnon
14150d3e33 work on making the netscript api tighter 2021-11-03 20:19:52 -04:00
Olivier Gagnon
c5fb5155f3 work on making sure all the functions are accounted for 2021-11-03 18:16:10 -04:00
Olivier Gagnon
d82f3e7ad7 more doc 2021-11-03 00:33:14 -04:00
Olivier Gagnon
2b79871c02 doc 2021-11-03 00:27:21 -04:00
Olivier Gagnon
9b0726ca9a documentation 2021-10-30 16:03:34 -04:00
Olivier Gagnon
feb0430aff work on doc 2021-10-30 15:46:34 -04:00
Olivier Gagnon
43fc5dfd48 work on doc 2021-10-30 12:34:14 -04:00