Commit Graph

3688 Commits

Author SHA1 Message Date
nickofolas
46e03b454d Only import what's needed from lodash 2022-03-12 11:03:33 -06:00
nickofolas
a93e2b670f Redesign Create Program UI 2022-03-12 10:59:55 -06:00
phyzical
3cbb926fd8 expose the inBladeburner on the player object 2022-03-12 12:36:47 +08:00
nickofolas
7dbb285f8a Simplify conditions 2022-03-11 17:56:34 -06:00
Olivier Gagnon
b265d7ba78 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-03-11 15:19:15 -05:00
Olivier Gagnon
30776e5aca added arcade 2022-03-11 15:19:10 -05:00
nickofolas
7220cab437 More robust augs left calculations
- Should fix all issues with incorrect amount remaining
2022-03-11 13:04:17 -06:00
nickofolas
a1b3dddf9e Add minHeight to editor tabs 2022-03-11 11:10:28 -06:00
hydroflame
e2af0aa41f
Merge pull request #3109 from nickofolas/fix/equip-minwidth
Properly expand gang equipment cards to fill entire screen
2022-03-11 12:08:08 -05:00
BB
5e2ccc71ec Mixing spaces and tabs, extra semicolons and lonely ifs are now forbidden 2022-03-11 16:32:48 +01:00
nickofolas
07a61c38a4 Clean up imports 2022-03-10 23:02:32 -06:00
nickofolas
7b309c2624 Refactor sleeve stats row to JSX element 2022-03-10 22:47:18 -06:00
nickofolas
62331af141 Properly expand gang equipment cards to fill entire screen 2022-03-10 22:43:01 -06:00
nickofolas
8ce1660f8a Fix missing newline at EOL 2022-03-10 22:21:02 -06:00
nickofolas
5d6952dbac First iteration of sleeves UI improvements 2022-03-10 22:14:11 -06:00
Olivier Gagnon
ca19e15168 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-03-10 23:05:40 -05:00
Olivier Gagnon
81d3246cb8 fix not being able to work on program 2022-03-10 23:05:35 -05:00
hydroflame
0e526853bd
Merge pull request #3108 from nickofolas/patch-1
Initialize `purchasingAugs` state to correct value
2022-03-10 22:45:11 -05:00
Olivier Gagnon
9c3c83dcd5 fix lint 2022-03-10 22:34:54 -05:00
nickofolas
beebcefb18
Initialize purchasingAugs state to correct value
Overwritten in merge commit, just fixing before I forget haha
2022-03-10 21:21:08 -06:00
Olivier Gagnon
dfb29626f3 fix mc 2022-03-10 22:17:01 -05:00
hydroflame
d955398a68
Merge pull request #2757 from ltoni90/bugfix/2719_Corporation_Expressions
Bug fix corporation expressions
2022-03-10 22:15:39 -05:00
hydroflame
f117cc8a74
Merge pull request #2912 from phyzical/bugfix/2899
Added a check for exisiting industry type before expanding
2022-03-10 22:14:18 -05:00
hydroflame
6a09cbd2ce
Merge pull request #2933 from phyzical/bugfix/1954
added filter for possibleFactions to filter factions without tasks
2022-03-10 22:13:24 -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
f802b95b30
Merge pull request #3054 from ApamNapat/simplified_redundant_regex
Removed redundant repetitions of | in alias regex
2022-03-10 22:11:35 -05:00
hydroflame
31a26a31ad
Merge pull request #3055 from ApamNapat/simplified_some_boolean_logic
Simplified some booleans and if elses
2022-03-10 22:11:26 -05:00
hydroflame
1ed27bb88a
Merge pull request #3104 from MartinFournier/fix/bladeburner-early-routing
Attempt to fix `bladeburner.process()` early routing issue
2022-03-10 22:10:06 -05:00
hydroflame
f5ca700476
Merge pull request #2864 from SagePtr/corp-material-fix
Don't hide irrelevant materials if their stock is not empty and hide irrelevant divisions from Export
2022-03-10 21:46:13 -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
459296c160
Merge pull request #3068 from phyzical/hotfix/2902
Fix for work in progress modal when augmenting
2022-03-10 21:41:48 -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
hydroflame
c13ff7ea52
Merge branch 'dev' into improvement/aug-page-link 2022-03-10 21:40:58 -05:00
hydroflame
fdcbc4c508
Merge pull request #3095 from phyzical/bugfix/add-charge-for-stanek-width-height
added ram charge for stanek width and height
2022-03-10 21:40:28 -05:00
hydroflame
2dfecc8ad0
Merge pull request #3093 from mbrannen/expr-remainder-fix
updated regex sanitization
2022-03-10 21:39:59 -05:00
hydroflame
64223d2f4e
Merge pull request #3100 from phyzical/bugfix/early-out-fix-for-play-faction-issue
added logic to show a sorry page when augmenting with faction screen open
2022-03-10 21:39:24 -05:00
hydroflame
1a9b3bd113
Merge pull request #3101 from phyzical/bugfix/work-in-progress-augment-fix
work in progress augment fix
2022-03-10 21:38:45 -05:00
nickofolas
e960fbfa28 Implement faction augs page shortcut 2022-03-10 18:39:54 -06:00
nickofolas
e39817cb57 Very slightly adjust router.toFaction
- Faction argument is now required
- Added augPage argument
2022-03-10 18:37:57 -06:00
Nikolai Korolev
20e3924c6a
Merge branch 'dev' into patch-3 2022-03-10 12:06:19 +03:00
Martin Fournier
6588bbb8b1 Attempt to fix bladeburner.process() issue
For a certain user, it appears that the engine attempts to route to the
bitverse screen before the router is properly initialized. I could not
reproduce the problem on my side and we were not able to extract his
save game, so this is a blind shot if it'll work or not.
2022-03-09 15:44:19 -05:00
phyzical
0ba66ad2f4 fix typo on ops page 2022-03-09 22:58:34 +08:00
Jack
a3555d101e
Update src/ui/WorkInProgressRoot.tsx 2022-03-09 22:50:41 +08:00
Jack
2f40906d4b
Update src/Faction/ui/FactionRoot.tsx
Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-03-09 22:49:50 +08:00
phyzical
e5acd10c86 moved to only apply when working for faction 2022-03-09 22:14:42 +08:00
phyzical
f7dcf5ca97 add early out to say "sorry not part of faction when working and augmenting" 2022-03-09 22:09:14 +08:00
phyzical
de0b0f9fa9 added logic to show a sorry page when augmenting with faction screen open 2022-03-09 22:02:34 +08:00
mbrannen
9602dbda2e
Update src/Terminal/commands/expr.ts
Updated to ApamNapat's suggestion

Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-03-08 18:02:54 -07:00
TheRealMaxion
02f231af2e
Fixes #3098 missing space in Smart Supply
Quick fix to stop this from erroring due to the missing space in the upgrade name.
2022-03-09 01:05:00 +01:00
BB
0eced1b9f2 Simplified some booleans and if elses 2022-03-08 22:52:26 +01:00
BB
6e9990aead Removed redundant repetitions of | in alias regex 2022-03-08 22:51:41 +01:00
BB
2f4d879c16 Trailing whitespace and files not ending with \n are now illegal 2022-03-08 22:51:02 +01:00
hydroflame
570b8caf78
Merge pull request #2873 from SagePtr/purchaseserver-args
Add user-friendly invalid argument number message to purchaseServer
2022-03-08 16:39:54 -05: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
1c1b696853
Merge pull request #3046 from jjayeon/nicer-factions-page
add box showing remaining augments per faction
2022-03-08 16:33:02 -05:00
hydroflame
1ceb8b24f6
Merge pull request #3067 from phyzical/hotfix/2951
added CorporationSoftCap to NetscriptDefinitions
2022-03-08 16:32:28 -05:00
hydroflame
4518b3a7cb
Merge pull request #3070 from phyzical/bugfix/2832-2
Sleeve fix for when faction isnt found
2022-03-08 16:32:10 -05:00
hydroflame
8136407b1d
Merge pull request #3091 from nickofolas/fix/editor-tab-width
Fix extra space on editor tabs
2022-03-08 16:31:47 -05:00
hydroflame
e06a3e6578
Merge pull request #3074 from DSteve595/offline-message-list
Present offline message as list
2022-03-08 16:31:32 -05:00
hydroflame
6ed4268173
Merge pull request #3075 from ApamNapat/simplified_imports
Simplified some relative imports
2022-03-08 16:30:37 -05:00
Jack
a2fae480f3
Update src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx 2022-03-08 17:32:03 +08:00
phyzical
ec927fe1f4 added ram charge for stanek width and height 2022-03-08 17:28:45 +08:00
mbrannen
bb6d90fb41 updated expression.
-removed escaping and reverted back for /
2022-03-07 23:50:05 -07:00
ChrissiQ
44c4529d90 🐛 (Bug: Corp) Fixes sufficient player money check to buy back shares.
`BuyBackShares()` checks the corp for sufficient funds, but since shares are purchased with player money, it should be checking the player's money instead.
2022-03-07 23:18:51 -07:00
mbrannen
31ea56084e updated regex sanitization
-allows %
-updated escape characters to \
2022-03-07 23:15:55 -07:00
nickofolas
472503814b Remove 200px min width of script editor tabs 2022-03-07 17:33:56 -06:00
Olivier Gagnon
192a037dfa allbuild commit git rev-parse --short HEAD 2022-03-07 18:07:21 -05:00
Olivier Gagnon
bc952147fd v1.5.0 2022-03-07 17:51:02 -05:00
hydroflame
4921cdea24
Merge branch 'dev' into phyzical/Corp-Api-Updates 2022-03-07 17:44:43 -05:00
hydroflame
e10571c0e8
Merge branch 'dev' into bugfix/corp-api-fixes 2022-03-07 17:43:29 -05:00
hydroflame
b226b3d872
Merge pull request #3087 from nickofolas/improvement/tabs
#2710 Addendum
2022-03-07 17:42:54 -05:00
nickofolas
e9033914e1 Update corp tabs to account for excessively long names 2022-03-07 16:40:22 -06:00
hydroflame
46628cb636
Merge pull request #3052 from ApamNapat/remove_unused_eslint_disable
Removed unnecessary eslint-disable lines
2022-03-07 17:31:59 -05:00
hydroflame
59aa0df456
Merge pull request #3078 from CrafterKolyan/patch-1
Fix error message for scp
2022-03-07 17:30:44 -05:00
hydroflame
5e558ffc5d
Merge pull request #3081 from CrafterKolyan/patch-2
Add closing quote in description of sanitize parentheses coding contract
2022-03-07 17:30:05 -05:00
hydroflame
3310928598
Merge pull request #2710 from nickofolas/improvement/tabs
Update `<Tabs>` sizing and style
2022-03-07 17:22:06 -05:00
Nikolai Korolev
25e28df42b
Fix Static Ram Circumventing for all NS functions 2022-03-07 16:18:58 +03:00
Nikolai Korolev
19750c6bba
Add closing quote in description of sanitize parentheses coding contract 2022-03-07 15:10:13 +03:00
Nikolai Korolev
b2ec5d1691
Fix error message for scp 2022-03-07 11:40:06 +03:00
Steven Schoen
19b45a7411
Show reputation unconditionally 2022-03-06 03:38:17 -05:00
Jack
d4f5f54fb6
Update src/ui/WorkInProgressRoot.tsx
Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-03-06 12:42:35 +08:00
BB
2c3e0985c4 Simplified some relative imports 2022-03-06 05:05:55 +01:00
Steven Schoen
7b95acefde Present offline message as list 2022-03-05 21:05:05 -05:00
phyzical
7a6e7ed992 added early out for when faction isnt found 2022-03-05 13:56:11 +08:00
phyzical
0e1929b561 added early out for when it goes wrong here too 2022-03-05 13:14:28 +08:00
phyzical
a389b515df fix for work in progress modal when augmenting
* added an early out to turns a basic error for the work modal when the current work faction to show the faction or faction not found
2022-03-05 13:05:37 +08: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
hydroflame
e80190e687
Merge pull request #3053 from waffleattack/patch-2
Made getBonusTime return miliseconds
2022-03-04 11:34:04 -05:00
hydroflame
b765266c23
Merge pull request #3056 from ApamNapat/new_god_book_fix
Fixed the text of The New God book
2022-03-04 11:33:49 -05:00
BB
b2959e71ca Fixed and improved wording in Stanek's gift description 2022-03-01 21:53:20 +01:00
BB
3d5c92fe65 Fixed the text of New God book 2022-03-01 21:02:41 +01:00
Thomas B
9636fda082
Made getBonusTime return miliseconds 2022-03-01 12:39:35 -05:00
BB
7212cc2f1c Removed unnecessary eslint-disable lines 2022-03-01 17:33:27 +01:00
hydroflame
76f965911d
Merge pull request #2938 from reacocard/fix-sleeve-augs
Don't check only gangs for sleeve augs
2022-03-01 11:19:06 -05: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
f11e7bac6a
Merge pull request #3005 from rhobes/patch-1
Fix https://github.com/danielyxie/bitburner/issues/2996: weakenAnalyze miscalculation
2022-03-01 11:16:31 -05:00
hydroflame
dd07ef3a88
Merge pull request #2886 from DrCuriosity/DrCuriosity/hacknet-name-colspans
QoI: Increase HacknetNodeElem name colSpan
2022-03-01 11:08:17 -05:00
hydroflame
d721c1e65a
Merge pull request #2968 from phyzical/bugfix/2520
added pre tags to support \n
2022-03-01 10:56:32 -05:00
hydroflame
46d37a89b0
Merge pull request #3045 from jjayeon/dev
sort player's joined factions for cleaner rendering
2022-03-01 10:53:06 -05:00
hydroflame
3d6d729b33
Merge pull request #3038 from Ornedan/fix-atexit-leak
Fix #3037: wrap user-supplied atExit function so that we can't accide…
2022-03-01 10:51:49 -05:00
hydroflame
94a6ba2c91
Merge pull request #3001 from ChrissiQ/bitnode-portal-button-a11y-fix
️  (Bitverse UI: Portal Button Accessibility) Makes clickable element into button.
2022-03-01 10:50:59 -05:00
hydroflame
fc3a7edf6d
Merge pull request #3044 from ChrissiQ/fix-ui-style-corp-spacing
️  (Corp Warehouse UI Accessibility) Stop warehouse UI jump at higher zoom.
2022-03-01 10:50:09 -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
763800570b
Merge pull request #2867 from SagePtr/corp-formula
Better readable production equation (rewording)
2022-03-01 10:48:39 -05:00
hydroflame
213b03523b
Merge pull request #2869 from SagePtr/patch-1
Fix ps documentation
2022-03-01 10:47:58 -05:00
hydroflame
7fd6d6859a
Merge pull request #2888 from BrianLDev/issue-2377
fixes #2377: No passive reputation gain on BN6, BN7
2022-03-01 10:46:36 -05:00
hydroflame
201e00cdd9
Merge pull request #2894 from manniL/fix/typo
fix: typo in corporate error message
2022-03-01 10:45:36 -05:00
hydroflame
e89a9e8f4c
Merge pull request #2897 from Jedimaster4559/patch-1
Fixing Broken Error Message
2022-03-01 10:44:40 -05:00
hydroflame
3a0eb8eca6
Merge pull request #2906 from waffleattack/patch-2
Reset Location Upon Reset
2022-03-01 10:44:15 -05:00
hydroflame
d2e05f6d2f
Merge pull request #2909 from Arrow2thekn33/typo-fix
Typo Fix (unprecendented -> unprecedented)
2022-03-01 10:43:01 -05:00
hydroflame
6f57c0e888
Merge pull request #2919 from fwolfst/2918_typo-fix
fix typo (UnforTunately) fix #2918
2022-03-01 10:42:52 -05:00
hydroflame
c8dd535d63
Merge pull request #2966 from MatthewTh0/dev
Grammar Fix
2022-03-01 10:39:02 -05:00
hydroflame
36e0177b0c
Merge pull request #2967 from AdamTReineke/AdamTReineke-patch-1
Fix log message in ns.bladeburner.startAction
2022-03-01 10:38:50 -05:00
hydroflame
4cf28b47ea
Merge pull request #2971 from citrusmunch/tutorial-typo
FIX: tutorial typo
2022-03-01 10:38:36 -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
5c6640dcde
Merge pull request #2977 from citrusmunch/scan-usage
FIX: old name netstat/scan to just scan
2022-03-01 10:38:10 -05:00
hydroflame
0dd7058830
Merge pull request #2978 from factubsio/patch-3
Clarify math expression operator precedence for coding contract
2022-03-01 10:38:00 -05:00
hydroflame
f3ecff2e93
Merge pull request #2980 from Risenafis/donate-threshold
Fix favor threshold for donateToFaction
2022-03-01 10:37:13 -05:00
hydroflame
c7127ed56f
Merge pull request #2982 from citrusmunch/augmentation-typo
FIX: typo in augmentation installation message
2022-03-01 10:36:52 -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
hydroflame
81c4a7f6cf
Merge pull request #3021 from ChrissiQ/tsdoc-inherit-overloaded-fns
📝  (TSDoc Definitions) Inherits doc for overloaded NS methods.
2022-03-01 10:32:48 -05:00
autumn
ef230b8265
Update FactionsRoot.tsx 2022-02-28 21:20:58 -05:00
DJ_Laser
f3f86ff102
Fix typo (await ed => awaited)
I fixed a typo.
2022-02-28 13:48:09 -05:00
jjayeon
e74d6107c9 add box showing remaining augments per faction 2022-02-28 07:04:47 -05:00
jjayeon
e0611a5aa3 sort player's joined factions for cleaner rendering 2022-02-28 06:47:37 -05:00
ChrissiQ
565a827f28 ️ (Corp Warehouse UI Accessibility) Stop warehouse UI jump at higher zoom 2022-02-26 14:03:12 -07:00
Heikki Aitakangas
66ceff4e33 Fix #3037: wrap user-supplied atExit function so that we can't accidentally leak game objects as 'this' 2022-02-26 01:00:02 +02:00
ChrissiQ
8ab5ff9565 📝 (TSDoc Definitions) Add gym workout to stopAction actions. 2022-02-24 14:57:05 -07:00
Olivier Gagnon
c26c9a0c3a fix lint 2022-02-23 02:50:38 -05:00
Olivier Gagnon
b810e523ee update patch notes 2022-02-23 02:01:48 -05: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
ChrissiQ
3cfbf0708b ️ (Bitverse UI: Portal Button Accessibility) Add aria-description, change labels, accomodate disabled ASCII art.
Adds aria-description and corrects labels to be more clear about the results of
pressing buttons.
2022-02-20 18:34:48 -07:00
ChrissiQ
cf0c4510c4 Merge remote-tracking branch 'TheMas3212/feat-improve-bitverse-accessibility' into bitnode-portal-button-a11y-fix 2022-02-20 18:03:57 -07:00
M
6d87d7b743
Fix https://github.com/danielyxie/bitburner/issues/2996
Trivial fix of https://github.com/danielyxie/bitburner/issues/2996 by adding the BN multiplier to analyze.
2022-02-19 14:21:39 -08:00
phyzical
887f3f1e49 use text friendly divison name 2022-02-19 16:06:52 +08:00
phyzical
6e21f16160 adjustments per review comments
* updated error message
* used correct price for bulk purchasing check
* moved onclose and rerenders outside try blocks
2022-02-19 16:05:55 +08:00
ChrissiQ
34b54ffc5a ️ (Bitverse UI: Portal Button Accessibility) Makes clickable element into button.
Clickable elements in a page which are not hyperlinks to other pages should be buttons for accessibility. This changes the clickable area into a button to more closely align with best practices.
2022-02-17 23:32:49 -07:00
TheMas3212
71ed2eafb8
Add A Simple Button menu to the Bitverse Screen if ascii art is disabled
this fixed the issue that was noticed that the current ascii art page is
not possible to navigate with a screen reader
2022-02-17 00:48:25 +11: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
citrusmunch
a534d27313 FIX: typo in augmentation installation message
"chosing" -> "choosing"
2022-02-14 10:14:54 -05:00
Risenafis
04cfdc76ae Fix favor threshold for donateToFaction 2022-02-14 23:25:30 +09:00
factubsio
a666fb888a
Add clarification to in-game text 2022-02-14 11:00:15 +00:00
citrusmunch
cc3452a766 FIX: old name netstat/scan to just scan
seems like an old/deprecated name not used anywhere else
2022-02-14 00:47:37 -05: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
citrusmunch
6e09241ff4 FIX: tutorial typo
"connect so it" -> "connect to it"
2022-02-13 16:46:13 -05:00
phyzical
1931734694 added pre tags to support \n 2022-02-13 18:49:24 +08:00