hydroflame
413576100a
Merge pull request #2876 from nickofolas/feature/monaco-theme-editor
...
[Feature] Script Editor Theme Customization
2022-04-13 01:12:15 -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
d24a26a208
merge dev
2022-04-07 16:37:57 +08: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
Olivier Gagnon
48f80f25d6
fmt and lint
2022-04-06 19:30:08 -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
Jack
b79f466395
Merge branch 'dev' into bugfix/2958
2022-03-30 08:26:18 +08: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
BB
4eb59ac70c
Turned on no-useless-concat lint and fixed it in code
2022-03-16 20:44:52 +01:00
hydroflame
2ed342b8c2
Merge pull request #3124 from phyzical/feature/3122
...
expose the inBladeburner on the player object
2022-03-16 14:51:41 -04:00
hydroflame
f62c0c0cef
Merge pull request #3137 from phyzical/feature/filter-open-scripts
...
Add the ability to filter open scripts
2022-03-16 14:50:30 -04:00
phyzical
61ed4a4d43
Add the ability to filter open scripts
...
* icon that opens up on click and reset and closes on X
2022-03-15 20:37:11 +08:00
Jack
41974b042c
Merge branch 'dev' into bugfix/2958
2022-03-15 20:34:08 +08:00
phyzical
3cbb926fd8
expose the inBladeburner on the player object
2022-03-12 12:36:47 +08:00
Jack
2fa7aa6503
Update src/ScriptEditor/ui/ScriptEditorRoot.tsx
...
Co-authored-by: nickofolas <60761231+nickofolas@users.noreply.github.com>
2022-03-12 11:40:45 +08:00
nickofolas
a1b3dddf9e
Add minHeight to editor tabs
2022-03-11 11:10:28 -06:00
Jack
6f10d5f8bf
Merge branch 'dev' into bugfix/2958
2022-03-11 17:49:35 +08:00
nickofolas
0236bdc73d
Merge branch 'dev' into feature/monaco-theme-editor
2022-03-10 23:16:44 -06:00
nickofolas
c7e228807b
Resolve conflict
2022-03-10 23:11:09 -06:00
Olivier Gagnon
9c3c83dcd5
fix lint
2022-03-10 22:34:54 -05: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
9372eef691
Merge pull request #2930 from JParisFerrer/vim_tab_switching
...
Add tab switching support to vim mode
2022-03-10 21:45:14 -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
hydroflame
e5c488e533
Merge pull request #3066 from phyzical/hotfix/2961-2
...
Fix editor "close" naming
2022-03-10 21:41:22 -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
nickofolas
472503814b
Remove 200px min width of script editor tabs
2022-03-07 17:33:56 -06: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
phyzical
c5fc009d91
renamed close to Terminal
...
* evened out spacing of buttons
2022-03-05 12:23:10 +08:00
BB
7212cc2f1c
Removed unnecessary eslint-disable lines
2022-03-01 17:33:27 +01:00
hydroflame
c24bab2cae
Merge pull request #2940 from phyzical/bugfix/2088
...
fixes for editor and tabs when names too long
2022-03-01 11:18:19 -05: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
nickofolas
67382f0ac9
Add missing newline at end of file
2022-02-20 09:03:16 -06:00
Jonathan Beverley
922aafb115
Expose product and material details in API match UI
2022-02-17 23:49:59 -05:00
phyzical
7dd8deb1ed
missed a change
2022-02-16 20:16:27 +08:00
phyzical
26002e0429
added logic to display server on save dialog
...
*added logic to display external servers as red
2022-02-16 20:11:37 +08:00
phyzical
ca28582265
added logic to also check hostname for "current script"
2022-02-16 18:41:22 +08: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
d586743bf6
fixes for editor and tabs when names too long
...
* coupled some of the styles to avoid breaking this later on
* added tooltip incase its too long/ too small
* changes to use elipsis and RTL to read the end of file name
2022-02-09 00:12:37 +08:00
phyzical
e8954bc1ee
added basic type check to tryWritePort
2022-02-07 22:14:48 +08:00
Jordi Paris Ferrer
419d585694
add tab switching support to vim mode
2022-02-06 16:34:14 -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
nickofolas
21e27dfab6
Save data sanitization
...
- Run in `Editor.beforeMount`, as well as when the
options modal is closed
- Recursively validates all token colors and
replaces them with bright red if they're invalid
2022-01-30 10:38:58 -06:00
Phil
08d0b4cbae
Adding support for text/select options in Prompt command
2022-01-30 14:06:18 +00:00
nickofolas
dd77deca7b
Add Paper styling to modal
2022-01-29 23:54:36 -06:00
nickofolas
e800886d42
Tie up loose ends
...
- Ensure that customTheme is redefined whenever the options modal
is closed, regardless of saved or not
- Reset the pending value for the theme editor whenever modal is clsoed
2022-01-29 23:44:31 -06:00
nickofolas
7ad0c53234
Update label for common.accent
2022-01-29 23:19:24 -06:00
nickofolas
83e5b46f3e
Implement Monaco theme editor
2022-01-29 23:17:57 -06:00
nickofolas
5a476178fa
Add types token
2022-01-29 23:11:21 -06:00
nickofolas
4ba6926e01
Theme attribute cleanup
2022-01-29 22:39:13 -06:00
nickofolas
20d3115e4a
Framework for custom theme
2022-01-29 19:27:49 -06: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
a05ecc76c2
Merge pull request #2727 from nickofolas/feature/editor-tab-actions
...
Script Editor Tab Actions
2022-01-26 00:50:23 -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
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
nickofolas
1a8a24587f
Ensure that the proper editor is updated by syncing
2022-01-20 17:45:54 -06:00
nickofolas
a5ad97f47d
Remove unnecessary editor code
2022-01-20 17:28:19 -06:00
nickofolas
99ef71de4a
Update prompt message content
2022-01-20 17:14:38 -06:00
nickofolas
bc50f5180a
Refactor
2022-01-20 15:48:17 -06:00
nickofolas
b4a78c26f3
Implement editor tab actions
2022-01-20 15:48:16 -06: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
hydroflame
7bebc86b11
Merge pull request #2684 from nickofolas/improvement/script-editor
...
Script Editor Improvements
2022-01-18 17:49:07 -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
nickofolas
258a1b262e
Update options button
2022-01-17 17:20:38 -06:00
nickofolas
a9314f2447
Show N/A when editing a txt file
2022-01-17 16:44:55 -06:00
nickofolas
c41cd68a8d
Add modal to editor with RAM details
2022-01-17 16:32:45 -06:00
nickofolas
c1b777733f
Improve clarity of editor tabs
2022-01-17 15:14:07 -06: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
hydroflame
ba2e2e191c
Merge pull request #2623 from MartinFournier/fix/editor-asterisk
...
Ignore trailing whitespace for dirty file asterisk
2022-01-14 13:48:35 -05:00
Martin Fournier
aec2763b27
Ignore trailing whitespace for dirty file asterisk
...
Saved scripts is stored on servers with its starting & trailing whitespace removed, so
comparison would fail and show the file as dirty when there was a
trailing newline in the script.
2022-01-14 05:34:33 -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
ea2f2bd92b
Merge pull request #2592 from nickofolas/fix/empty-editor-formatting
...
Fix formatting for empty editor splash
2022-01-13 11:34:36 -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
e7983552dc
Fix formatting for empty editor splash
2022-01-12 12:15:03 -06: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
Russell Stringer
a16fad7f01
Add documentation about using PID for some ns functions
...
Fixes #2219
2022-01-10 16:23:06 -05:00
Russell Stringer
3276cf3c32
Add documentation for NetscriptPort to NetscriptDefinitions
2022-01-10 16:23:06 -05:00
Russell Stringer
26ae4345cf
Try to clear up confusing documentation for TIX.getOrders()
...
api-documenter won't generate property lists for [key: string]: type
interfaces, so I tried to put explanations and @links in the appropriate
remarks sections.
Since the list of stock symbols is known, this could also be fixed by
setting each symbol as an optional property of the StockOrder interface
Fixes #2269
2022-01-10 16:23:06 -05:00
Russell Stringer
2989306ac8
Add (in GB) note to params/return values documentation where missing
...
fixes #2403
2022-01-10 16:23:06 -05:00
Russell Stringer
cfa1b9e236
adds missing bitnode mults to definitions file
...
fixes #2424
2022-01-10 16:23:06 -05:00
zeddrak
02e9ae6e8e
Commit Crime Returns updated
...
Updated the text for the return value of commitCrime to match the description (and not the create programs hold-over)
2022-01-10 02:58:16 -08:00
Olivier Gagnon
d8a5f5b03c
many fixes
2022-01-09 15:24:32 -05:00
nickofolas
357258261a
Use codeblocks for null
2022-01-08 14:59:28 -06:00
nickofolas
a971921417
Document null duration for toasts
2022-01-08 14:56:29 -06:00
hydroflame
7633f271db
Merge pull request #2265 from TheMas3212/fix-2119
...
Fix 2119
2022-01-08 13:56:05 -05:00
hydroflame
ff15d2d730
Merge pull request #2451 from neuralsim/fixSyntaxHighlighting
...
fixed syntax highlighting (don't highlight partial tokens/keywords)
2022-01-08 13:30:35 -05:00
Olivier Gagnon
fb90e21a31
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-08 13:19:44 -05:00
Olivier Gagnon
5a1cabdb34
typo
2022-01-08 13:19:35 -05:00
Christopher
ad0b73aaee
fixed syntax highlighting (don't highlight partial tokens/keywords)
2022-01-07 19:19:03 -06:00
Jens
ede37767ac
Doc formatting updates & fixing a few spelling errors.
2022-01-06 20:52:15 -08:00
hydroflame
c722ff5982
Merge pull request #2373 from MartinFournier/feature/mem-verbose
...
Add detailed ram cost to mem command
2022-01-06 11:25:41 -05:00
tigercat2000
6e96428643
Update print and tprint signatures to match code
...
In https://github.com/danielyxie/bitburner/pull/1380 , print() and
tprint() were both changed to allow for variadic arguments, but this
wasn't documented in NetscriptDefinitions.d.ts.
2022-01-06 04:13:36 -08:00
Martin Fournier
4b06bdd89c
Add detailed ram cost to mem command
2022-01-05 16:41:48 -05:00
Martin Fournier
c9ca1e9d37
Add ns.ui.setTheme() and ns.ui.resetTheme()
2022-01-04 20:33:18 -05:00
Olivier Gagnon
4860d6dc83
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-04 19:09:38 -05:00
Olivier Gagnon
c59a267437
change sf4
2022-01-04 19:09:34 -05:00
Woody Lam
d7cd5b0d96
Fix #2230 typo (again)
2022-01-04 22:40:41 +00:00
hydroflame
0d02ce6308
Merge pull request #2326 from MartinFournier/feature/editor-wordwrap-option
...
Add wordWrap option to Monaco
2022-01-04 12:54:50 -05:00
Martin Fournier
f0161367af
Add wordWrap option to Monaco
2022-01-04 09:41:44 -05:00
Dexalt142
914b06ec88
feat (editor theme): atom one dark theme
2022-01-04 18:39:09 +07:00
Olivier Gagnon
dfae337d26
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-03 15:49:05 -05:00
hydroflame
69ed320b93
Merge pull request #2287 from daanflore/dev
...
Saw in vscode that some typedefenitions where not the same as how they work in the game
2022-01-03 15:44:08 -05:00
hydroflame
8e0b5e3ecd
Merge pull request #2288 from pan-kuleczka/dev
...
ns.hackAnalyze definition fix to match markdown
2022-01-03 15:43:48 -05:00
Andriy Mykhaylyk
38923af436
fix ns.run args type definition
2022-01-03 16:10:22 +01:00
daan flore
8c851b577a
Adding correct types at run args command
2022-01-02 20:40:57 +01:00
daan flore
74ee7f371d
String value should also be possible to write
2022-01-02 19:24:16 +01:00
pan-kuleczka
62c19c9078
hackAnalyze definition fix to match markdown
2022-01-02 18:56:52 +01:00
daan flore
f8607ce73e
Adding dorgotten typescript defenitions to file
2022-01-02 18:54:11 +01:00
Olivier Gagnon
1e0e9f7bd7
change button text
2022-01-02 11:55:06 -05:00
hydroflame
a1ec54ff90
Merge pull request #2241 from billyvg/fix/vim-save
...
fix(editor): Fix vim mode quit and add `wq`
2022-01-02 11:40:40 -05:00
hydroflame
a6be7ecc3e
Merge pull request #2243 from TheMas3212/dev
...
Add Function Call signatures to ns.kill so typescript is able to call ns.kill correctly
2022-01-02 11:39:56 -05:00
Brandon Bothell
dd4b548917
docs: comma for good measure
2022-01-02 02:40:03 -05:00
TheMas3212
6251678532
clear currentScript to null not undefined
2022-01-02 02:16:32 +11:00
TheMas3212
a20dd47ec6
fixes #2119 close open scripts that exist on deleted servers
...
this prevents a crash by trying to open the script editor with a script
open that exists on a server that has been deleted
this is achieved by filtering the list of open scripts whenever the
editor is opened and removing any that exist on a server that has been
deleted
it also handles the case of the selected script being one that was
removed in which case it defaults to selecting the first script
2022-01-02 02:10:10 +11:00
TheMas3212
8707dc7079
remove extra function signature for ns.kill()
2021-12-31 23:33:23 +11:00
TheMas3212
e3e1770439
Fix Typedef for getScriptIncome/getScriptExpGain
...
Current Typedef does not allow using the run with no arguments for
totals versions
2021-12-31 23:31:46 +11:00
TheMas3212
31ed5d8f64
Add Function Call signatures to ns.kill so typescript is able to call
...
ns.kill(pid)
previously it will fail to compile due to not providing a host argument
2021-12-31 10:58:56 +11:00
Billy Vong
38366e45db
fix(editor): Fix vim mode quit and add "wq"
...
This changes `:q` to be quit (w/o saving) and added `:wq` to save *and* close.
2021-12-30 13:14:54 -05:00
Olivier Gagnon
04f2cfe522
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-12-29 02:04:28 -05:00
Olivier Gagnon
0fc95e6215
text editor improvements
2021-12-29 02:04:24 -05: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
Alexander Morland
aaf1ad4ae5
Fixed typo
...
needed to fix docs
2021-12-28 17:27:21 +01:00
Xynrati
26ab62eea6
More comments to be removed
2021-12-28 08:04:50 -08:00
hydroflame
9f9ce40ef0
Merge pull request #2179 from antonvmironov/fix-CorporationInfo.state
...
Fix CorporationInfo.state
2021-12-28 10:37:42 -05:00
ReeseJones
1087db9f33
changed setting to selling in getSaleGain
2021-12-26 14:35:46 -08:00
Anton Mironov
3dd818cb7b
Updating doc for CorporationInfo.state
...
Now includes a list of possible values.
2021-12-24 17:35:23 +01:00
Hedrauta
3eedd9df88
empty host = current host
2021-12-24 00:23:38 +01:00
hydroflame
b33af9df20
Merge pull request #2150 from Hedrauta/new-Editor-theme_dracula
...
New Editor Theme: Dracula ( from VSCode )
2021-12-23 13:36:16 -05:00
Hedrauta
693c6480a0
as close as possible
...
Sadly, i can't color specific variables, because of monaco itself.
Did my best for this. 😉
2021-12-23 07:27:58 +01:00
TheMas3212
e0aaa383a4
modify BasicHGWOptions definition to mark threads parameter as optional
...
this is used by hack, grow and weaken all of which dont require it to be defined
2021-12-23 14:42:06 +11:00
hydroflame
bfdfee2a68
Merge branch 'dev' into mychanges
2021-12-22 16:16:24 -05:00
Olivier Gagnon
d2d6c33fc8
mychanges
2021-12-22 16:15:56 -05:00
hydroflame
fba2265cce
Merge pull request #2118 from Icehawk78/feat/add-ns2-examples-docs
...
Add ns2 examples to the netscript docs
2021-12-22 15:21:06 -05:00
Nicholas Galauxy
35cfa9492e
Fix unintended spacing change
2021-12-22 13:38:32 -06:00
Nicholas Galauxy
ed4d4d091c
Update docs to include NS2 examples
2021-12-22 13:36:44 -06:00
hydroflame
dbf8c788e0
Merge pull request #2111 from mikomyazaki/2027-documentation-updates
...
Documentation updates
2021-12-22 14:30:14 -05:00
Xynrati
21ac94dbb3
Add ns2 example for scp
2021-12-22 09:38:21 -08:00
Andrew Cooper
c2e5c9f371
Documentation updates to getgrowtime, gethacktime, getweakentime, hack, hackanalyze and weaken.
2021-12-22 17:25:09 +00:00
hydroflame
7260d5fe35
Merge pull request #2100 from mikomyazaki/empty-editor-to-terminal
...
Closing the final script in your editor will take you to the terminal
2021-12-22 12:17:32 -05:00