Commit Graph

3900 Commits

Author SHA1 Message Date
Martin Fournier
92e8b42d18 Fix renamed functions from 1.0 release in tests 2021-12-19 12:37:42 -05:00
Martin Fournier
d1696148c4 Fix tests syntax for jest
Most tests could not run with jest because of syntax difference between
the old test runner.
2021-12-19 12:37:42 -05:00
hydroflame
890b1df593
Merge pull request #2041 from hexnaught/job-shortcut-key-patch
Only run job shortcut if the player has a job
2021-12-19 10:28:42 -05:00
hydroflame
3ed5aa8045
Merge pull request #2038 from MartinFournier/fix/skill-progress
Fix skills tooltip edge cases
2021-12-19 10:22:43 -05:00
Dan
2f9eb324b4
fix(shortcut): job shortcut only run when have job
The shortcut was always allowed to run, meaning when the player doesn't
have a job, they were sent to the job screen with no job and lost the
view context/sidebar.

- Add utility method to check if the player 'hasJob', being at least 1
job.
- Check if player has job when the key combination is pressed

Resolves danielyxie/bitburner#2013
2021-12-19 15:20:02 +00:00
hydroflame
8c2b969026
Merge pull request #2036 from millennIumAMbiguity/patch-2
Improve the readability of text in the theme editor.
2021-12-19 10:13:57 -05:00
hydroflame
29f1bed823
Merge pull request #2037 from millennIumAMbiguity/patch-3
Fixed grammar issues in NS.purchaseServer()
2021-12-19 10:13:44 -05:00
Martin Fournier
05ed3f5461 Fix skills tooltip edge cases 2021-12-19 05:51:35 -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
millennIumAMbiguity
a9cf635a84
Improve the readability of text in the theme editor.
Copy the string above if you want to backup or share your theme with others. -> Backup your theme or share it with others by copying the string above.
Use the buttons below to replace the current theme with a pre-built template -> Replace the current theme with a pre-built template using the buttons below.
2021-12-19 11:14:16 +01:00
Olivier Gagnon
efc3992c78 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-19 00:44:03 -05:00
Olivier Gagnon
76890ad1b9 update doc 2021-12-19 00:43:58 -05:00
hydroflame
3a21beb708
Merge pull request #2003 from MartinFournier/feature/predetermined-themes
Add easily switchable predefined themes
2021-12-19 00:40:59 -05:00
hydroflame
a76f67ade5
Merge pull request #2010 from hexnaught/server-purchase-naming-patch
Fix issue of space in server name and server counting when made with same name
2021-12-19 00:35:24 -05:00
hydroflame
24f0c9e65d
Merge pull request #2007 from hexnaught/alias-hyphen-allowed-patch
Allow hyphens in command aliases
2021-12-19 00:28:11 -05:00
hydroflame
e6b84a73b2
Merge pull request #2031 from MageKing17/patch-1
Update ls.tsx
2021-12-19 00:24:58 -05:00
hydroflame
b6df183953
Merge pull request #2008 from hexnaught/lowercase-exe-call-patch
Allow `.exe` (programs) to be ran in a case-insensitive `run`
2021-12-19 00:23:52 -05:00
hydroflame
f5f206561c
Merge pull request #2009 from hexnaught/script-exists-command-errors-patch
Better feedback when looking for a running script.
2021-12-19 00:23:30 -05:00
hydroflame
1ea8c62d4f
Create check.ts 2021-12-19 00:23:10 -05:00
hydroflame
bc7f94ddda
Update check.ts 2021-12-19 00:23:01 -05:00
MageKing17
1dcc17c4fb
Update ls.tsx
`args[numArgs - 1]` is the last argument in the list, so correct usage was being flagged as incorrect, and incorrect usage wasn't working anyway because the filter was `"undefined"`.

Additionally, the function seemed confused as to whether or not `ls` counted as an argument (AFAICT, it isn't).

Fixes #1994.
2021-12-18 21:22:34 -08:00
Dan
6d79561859
fix(servers): fix issue of space in server name
Replace the space in a server name with a hyphen (-), also noticed some
interesting behaviour with the 'count up naming', so tweaked that.

Resolves danielyxie/bitburner#1999
2021-12-19 04:03:14 +00:00
Dan
b8b3897e64
fix(commands): tweak wording for consistency 2021-12-19 03:23:26 +00:00
Dan
b2add6c26b
fix(commands): error feedback, wording consistency
Found most (hopefully all) places where the error message wording
incorrectly was shown to the tune of 'no script exists', where it should
have been showing to the effect of 'script is not running'.
Also cleaned up some of the consistency in the wording and added a
'helper' export for knowing valid script extensions used in validation
of 'isScriptFilename', so we can have consistent error messaging.

Resolves danielyxie/bitburner#1966
2021-12-19 03:10:43 +00:00
Dan
24c7fb2b92
fix(cli:run) case insensitive calls to program run
Allow the user to run programs (.exe) in a case insensitive manor

Resolves danielyxie/bitburner#1958
2021-12-19 02:41:21 +00:00
Dan
1f6954b393
fix(command:alias) allow hyphen in aliases
- Allow hyphens in aliases
- Remove redundant underscore, covered by '\w'

Resolves danielyxie/bitburner#2000
2021-12-19 02:09:47 +00:00
Olivier Gagnon
790ffeb8a1 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-18 18:15:19 -05:00
Olivier Gagnon
555216a39b Add confirmation to installing 2021-12-18 18:13:49 -05:00
hydroflame
aad4024e0f
Merge branch 'master' into dev 2021-12-18 16:29:22 -05:00
Martin Fournier
db64d9869c Add easily switchable predefined themes
Includes the default theme and a Monokai-ish variant
2021-12-18 16:28:15 -05:00
Olivier Gagnon
02605090df v1.2.0 v1.2.0 2021-12-18 16:28:09 -05:00
hydroflame
853125009b
Merge pull request #1977 from Rez855/feature/multi-tab-script-editor
Added the ability to open multiple script files at a time
2021-12-18 14:53:35 -05:00
hydroflame
b739d60490
Merge pull request #1979 from MartinFournier/feature/skill-progress-bars
Fix #1889: Add skill progress to overview
2021-12-18 14:44:18 -05:00
hydroflame
d5201885aa
Merge pull request #1997 from pobiega/fix/nformat-return-type
ScriptEditor NetScriptDefinitions: nFormat should return string
2021-12-18 14:40:20 -05:00
hydroflame
0ff110492e
Merge pull request #1982 from wynro/add-ALL-to-enableLog
Add support for ALL argument in enableLog function
2021-12-18 14:39:44 -05:00
Olivier Gagnon
4eb1914c79 re-add n00dles in beginer guide 2021-12-18 14:37:52 -05:00
Olivier Gagnon
47f20c666e Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-18 14:36:30 -05:00
hydroflame
da58c1df9f
Merge pull request #1959 from cblte/patch-1
Update gettingstartedguideforbeginnerprogrammers.rst
2021-12-18 14:36:25 -05:00
hydroflame
c723c7ecd2
Merge pull request #1957 from billyvg/feat/add-ctrl-u-clear-line
feat: Add `ctrl+u/k/w` hotkeys
2021-12-18 14:35:12 -05:00
Olivier Gagnon
d45d6c8f3a Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-18 14:29:04 -05:00
Olivier Gagnon
cbb3563556 @millennIumAMbiguity doc typo 2021-12-18 14:28:57 -05:00
hydroflame
eec9fbf997
Merge pull request #1989 from Xynrati/patch-1
Incorrect threadcount for n00dles
2021-12-18 10:56:41 -05:00
hydroflame
a9b0dd0d3f
Merge pull request #1992 from 2PacIsAlive/dev
Fix typo in AutolinkProgram description
2021-12-18 10:56:33 -05:00
hydroflame
1dafa03a71
Merge pull request #1995 from Adraxas/dev
Fix NS.exec signature
2021-12-18 10:56:01 -05:00
hydroflame
7c1fa4e228
Merge pull request #1998 from MartinFournier/feature/suppress-save-toast
Add an option to suppress the 'Saved Game' toast
2021-12-18 10:55:07 -05:00
Olivier Gagnon
21191e0b8d re-add noscripts 2021-12-18 10:44:22 -05:00
Olivier Gagnon
1368e468bb Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-18 10:31:59 -05:00
BuildTools
59498f780a Small css tweaks 2021-12-18 07:11:59 -06:00
Martin Fournier
733f04c343 Add an option to suppress the 'Saved Game' toast 2021-12-18 08:01:15 -05:00
Robin Rexstedt
87d8f67df1 make nFormat return a string 2021-12-18 13:12:23 +01:00