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
f8f3c099e0
Formatted/linted (There are some errors, but they aren't mine afaik)
2022-05-28 21:35:20 -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
Olivier Gagnon
76ccb0ba36
lint
2022-05-25 11:43:43 -04: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
9818a397bc
Merge pull request #2989 from phyzical/bugfix/2958
...
UI: FIX #2228,#2958 Fix tab highlights and highlight files not on home.
2022-05-04 12:10:43 -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
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
hydroflame
55392a4db7
Merge pull request #3607 from Hoekstraa/killall-safeguard
...
API: Add safeguard to ns.killall(), preventing killing itself by default
2022-05-04 11:48:14 -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
Olivier Gagnon
f10de908d4
Make tutorial explain ns1 vs ns2 better
2022-04-29 17:54:59 -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
hydroflame
5e111df832
Merge pull request #3438 from nickofolas/feature/monaco-theme-editor
...
[Feature] Monaco Theme Editor
2022-04-13 17:43:59 -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
nickofolas
e69e45c283
Better imports
2022-04-13 14:52:30 -05:00
nickofolas
58c4861c56
lint
2022-04-13 14:45:26 -05:00
nickofolas
567fcf8fb6
prettier
2022-04-13 14:42:07 -05:00
nickofolas
1f9414fd0e
Resolve conflict
2022-04-13 14:32:30 -05:00
nickofolas
137539c1db
Add missing newline at end of file
2022-04-13 14:32:30 -05:00
nickofolas
d1edbe9a43
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-04-13 14:32:30 -05:00
nickofolas
739ca27ab9
Add Paper styling to modal
2022-04-13 14:32:30 -05:00
nickofolas
6f60589779
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-04-13 14:32:30 -05:00
nickofolas
10513ba5bc
Update label for common.accent
2022-04-13 14:32:30 -05:00
nickofolas
16cf227498
Implement Monaco theme editor
2022-04-13 14:32:30 -05:00
nickofolas
b3f37b2583
Add types token
2022-04-13 14:32:30 -05:00
nickofolas
881d4816cc
Theme attribute cleanup
2022-04-13 14:32:30 -05:00
nickofolas
ec0f20b14f
Framework for custom theme
2022-04-13 14:32:30 -05: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
hydroflame
03b05f53fe
Revert "[Feature] Script Editor Theme Customization"
2022-04-13 01:12:56 -04:00
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