hydroflame
e704843d91
Merge pull request #3117 from nickofolas/fix/editor-tabs-height
...
Add minHeight to editor tabs
2022-03-14 14:36:25 -04:00
BB
1c7c4c29bd
Added missing apostrophe
2022-03-13 13:06:20 +01:00
nickofolas
230d68aab2
Implement common stats row element
2022-03-12 15:49:07 -06:00
InDieTasten
17cba1d853
Fix unique ip generation
...
The previous implementation had a bug in it, where the generated IP
wouldn't be unique, if the generated IP wouldn't be unique two times in
a row.
2022-03-12 18:29:01 +01:00
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
phyzical
da955a4774
refector of setEmployeeToJob
2022-02-13 17:57:13 +08:00
phyzical
66ec3f4964
fix function name in error for better trace
2022-02-13 17:10:11 +08:00
phyzical
9770853e29
removed the isNs interface guard as its redunant
2022-02-13 17:08:55 +08:00
Adam Reineke
41fe4e5813
Fix log message in ns.bladeburner.startAction
2022-02-12 21:26:06 -08:00
Matthew Thornton
fe0262eda1
Grammar Fix
...
Product is the noun, while the correct part of speech here is the verb "produce".
Also of note, the limit doesn't change unless data is entered and then removed (otherwise the previous limit is kept) even if the button is clicked (which isn't the expected behavior based on the text). However, I'm not sure how to convey this succintly though and I'm not familiar enough with React to change the value when only the button is clicked (especially since it is probably the intended behavior to not change the value when the modal is closed by clicking outside of it).
2022-02-12 15:40:17 -06:00
phyzical
3e36e6a80b
few more adjustments
...
* fixed the export material fix
* changed teh dev menu fund adjuster for more granular control
* added checks for smartSupply and setSmartSupply
* few random autolints
2022-02-12 11:31:50 +08:00
phyzical
51d10290d2
added early out for redundant assignment
2022-02-12 00:13:56 +08:00
phyzical
8b55b0293c
corp api fixes
...
* added early out in UpgradeWarehouse when not enough cash
* added checks to enforce maxProducts
* added checks to enforce export material is valid for location
* added checks for market ti reasearches
2022-02-11 23:48:19 +08: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
Ayla Ounce
5fbe4b0f26
Don't check only gangs for sleeve augs
...
It is possible for a player to qualify for an aug through a faction and
not the gang, e.g. when the gang is newly formed and still getting up to
speed. So, we need to consider both gang qualifications and faction
qualifications when constructing the sleeve augmentation list.
2022-02-07 14:40:44 -08:00
ltoni90
b4cce9b57f
typo fix
...
Co-authored-by: ChrissiQ <1127719+ChrissiQ@users.noreply.github.com>
2022-02-07 16:00:08 +01:00
phyzical
e8954bc1ee
added basic type check to tryWritePort
2022-02-07 22:14:48 +08:00
phyzical
6ed5a445a8
added check for NS interface with user defined guard
2022-02-07 21:56:04 +08:00
phyzical
4af4634ada
added filter for possibleFactions to filter factions without tasks
2022-02-07 19:48:28 +08:00
Jordi Paris Ferrer
419d585694
add tab switching support to vim mode
2022-02-06 16:34:14 -08:00
qcorradi
5a39a92270
Merge branch 'patch-8' of github.com:zeddrak/bitburner into reverse_grow_newton
2022-02-06 14:00:05 +01:00
phyzical
26df6fd39c
doc updates
2022-02-06 00:12:28 +08:00
phyzical
d41b19bced
added support for ls -l
2022-02-06 00:05:48 +08:00
phyzical
9a3731cf18
updated grep for ls
...
* implemented flags logic for grep
* added --grep and -g
* updated docs
2022-02-05 23:27:08 +08:00
Felix Wolfsteller
a755af8176
fix typo (UnforTunately) fix #2918
2022-02-05 11:04:23 +01:00
Phil Despotos
16655349f5
Fix research tree of product industries post-prestige
...
After destroying a BitNode, the `resetIndustryResearchTrees` reset all
industries to the _base_ research tree, leaving the product industries
without the `uPgrade` researches in the graph. So corporations started
in the next BitNode were unable to expand product capacity.
This fixes that reset function to use the correct product industry tree.
2022-02-04 19:40:49 -06:00
phyzical
105ea19eae
add the industry name to assist with debugging when error occurs
2022-02-04 17:46:08 +08:00
phyzical
608cc089b2
Added a check for exisiting industry type before expanding
2022-02-04 17:34:16 +08:00
Justin Wade
0e4affdf0e
fix typo in FactionInfo.tsx
2022-02-03 22:31:39 -05:00
Thomas B
c6573fb19d
Reset Location Upon Reset
2022-02-03 08:50:08 -05:00
zeddrak
bfaecc644d
startMoney check should be >= moneyMax, not ==
...
Just realized that I checked for exactly equal (as would be likely when operating internally), but really, it should treat anything greater than or equal to as a zero growth scenario (just better protection from a wider range of potential issues)
2022-02-01 14:34:27 -08:00
Nathan Solomon
df30a45388
Fixing Broken Error Message
2022-02-01 15:45:50 -06:00
Alexander Lichter
5564f82b44
fix typo
2022-02-01 12:43:14 +01:00
tigercat2000
f0557eadf7
Terminal: There is now an interface definition for the autocomplete() 'data' argument.
2022-01-31 20:47:15 -08:00
zeddrak
5cc7a6a0a2
added numCycleForGrowthByMultiplier (ie old growthAnalyze parameters)
...
implemented numCycleForGrowthByMultiplier (fully compatible with old growthAnalyze - though still slightly wrong, it does so in a way that could be seen as beneficial and is compatible with existing scripts)
Also some fixes to numCycleForGrowthByHackAmt (wrong parameter order)
2022-01-31 20:41:42 -08:00
zeddrak
76cc1532a7
Added note to numCycleForGrowthByHackAmt
...
* NOTE: the prehackMoney parameter can be removed and server.moneyMax used in its place. The return value would then give a thread count
* that would slowly grow the server more than it is hacked until reaching moneyMax where it would return the correct number of threads.
2022-01-31 20:15:55 -08:00
zeddrak
63e833317b
more otpys
...
fuinction => function
2022-01-31 20:06:13 -08:00
zeddrak
94bcd0484a
Small comment change
...
had an "a the" and the point was redundant, so removed it
2022-01-31 20:04:39 -08:00
zeddrak
28a32ed3a0
Ytpo fix
...
Missed one
2022-01-31 19:56:02 -08:00
zeddrak
7bb3a8169e
Comment Ytop fixes
...
Sigh, my fingers are soo old and don't work right any more... :)
Thanks for the info.
2022-01-31 19:54:38 -08:00
Brian Leip
1a414358cc
Fixed issue-2377: No passive reputation gain on BN6, BN7
2022-01-31 15:21:01 -08:00
Phil
378f67097c
Amending NetscriptDefinitions
2022-01-31 18:15:13 +00:00
David Thompson
37bf1aac81
QoI: Increase HacknetNodeElem name colSpan
...
Spanning {node.name} across all three table columns in the Hacknet Node UI uses a bit less screen real estate, so that on larger font sizes you don't end up with e.g. "hacknet- " on one line and "node-11" on the next.
2022-01-31 21:46:47 +13:00
qcorradi
b09b7fa346
numCycleForGrowth using Newton-Raphson's method
2022-01-31 00:22:59 +01:00
Chris Rabe
3e61780fad
fix: fixed hackAnalyzeThreads returning infinity
2022-01-31 08:14:10 +10:00
Phil
af43e63415
Blanking Prompt value on close
2022-01-30 14:21:46 +00:00
Phil
08d0b4cbae
Adding support for text/select options in Prompt command
2022-01-30 14:06:18 +00:00
phyzical
f2ba3e0ac7
gang member current task disconnect fix
...
* Added check to manually update interal state of dropdown on change of a members task via api
2022-01-30 18:33:04 +08:00
SagePtr
db5476ebd0
Add user-friendly invalid argument number message to purchaseServer
2022-01-30 00:04:45 +02:00
SagePtr
4483c2bbce
Add hasOwnProperty check to GetServer
2022-01-29 23:30:13 +02:00
Sage Pointer
ac054b0065
Fix ps documentation
2022-01-29 22:20:27 +02:00
SagePtr
622ba0a2bd
Better readable production equation
2022-01-29 20:59:18 +02:00
SagePtr
f22f0ed50a
Hide irrelevant divisions in Export modal
2022-01-29 20:02:07 +02:00
SagePtr
a5f82e96ed
Don't hide irrelevant materials if their stock is not empty
2022-01-29 18:58:21 +02:00
SagePtr
40f2d16f44
Show "Can run scripts" to "NO" for zero-RAM servers in "analyze" command
2022-01-29 18:10:59 +02:00
zeddrak
ecdde9c96c
learning ts
...
forgot a return type, all better now, we hope....
2022-01-28 15:34:39 -08:00
zeddrak
1b81aa2533
moar fixes
...
just tidying up some more parameters left over from copy/paste
2022-01-28 15:30:28 -08:00
zeddrak
f8c4d07cc2
quick fix
...
forgot to remove a line used for notes
2022-01-28 15:25:03 -08:00
zeddrak
9af0ed7dba
(WIP) intermediate save 2
...
Have all the functions in, but need to setup the repercussions.
2022-01-28 15:21:05 -08:00
zeddrak
744cecb058
minor fix
...
Better to leave off with a commit that at least passes checks ;)
2022-01-28 13:45:12 -08:00
zeddrak
3401f7d0d0
(WIP) Incremental save
...
Just saving my progress so far before pressing on after lunch.
2022-01-28 13:36:28 -08: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
zeddrak
3e9728f4c4
more fix
...
really can't count...
2022-01-28 10:08:20 -08:00
zeddrak
db2369a669
more fix
...
can't count...
2022-01-28 10:03:40 -08:00
zeddrak
33ed170e29
more fix
...
two missing ( is better than one...
2022-01-28 10:00:28 -08:00
zeddrak
dc8b051bde
Fix for Dev not building
...
It's the little things, like a missing "(", that make programmers happy all day long... >.<
2022-01-28 09:54:35 -08:00
hydroflame
47c2f9762c
Merge pull request #2850 from HeinousTugboat/htugboat/replace-stanek-anys
...
Replaces anys in Stanek with unknown
2022-01-28 00:19:12 -05:00
hydroflame
a4b8a9ffd5
Update CrimeHelpers.ts
2022-01-27 20:51:48 -05:00
Heinous Tugboat
c7a3ac216f
Replaces anys in Stanek with unknown
2022-01-27 20:48:37 -05:00
SagePtr
1726a0f930
Add CalculateShareMult to Field Work and Security Work
2022-01-27 22:46:29 +02:00
zeddrak
09da6ac63f
Make crimes detection a little more friendly
...
Initially just wanted to change "traffick" to "traffic" (as that supports both the American and British spelling), but then noticed there were a couple of other ones that could be made slightly less restrictive to improve detection. All changes make detection LESS RESTRICTIVE for the player (ie, they have more ways to provide the parameter), none are MORE RESTRICTIVE (ie, won't break any existing code, etc.
Anything that worked before will still work, but now a few things that may not have worked before - like "traffic arms" (without the k), "illegal arms", and "assassin" will work. (Also allowed for the common misspelling of "forgary")
2022-01-27 11:36:06 -08:00
Jack Stupple
2942ca500b
2734: Fix regex to enable alpha transparency hex codes (8 digits)
2022-01-27 18:21:17 +00:00
zeddrak
5a46aeb26d
(WIP) Show current task on gang management screen
...
First draft of a fix for #2718
I haven't been able to test it, so please have someone test before implementing.
2022-01-26 15:57:54 -08:00
hydroflame
cef0f30993
Merge pull request #2820 from MartinFournier/chore/declutter
...
Declutter repository root
2022-01-26 12:56:37 -05:00
Martin Fournier
bf6366cef4
Move markdown doc & quotes to ./docs subfolder
2022-01-26 05:35:21 -05:00
Martin Fournier
a47eae8b25
Add function to enable/disable routing
...
Wraps the toX() functions of the Router to add a check to only run the
function when it is allowed.
The check is used in the import page to prevent user scripts from
redirecting away to a crime or something else.
2022-01-26 03:56:19 -05:00
Martin Fournier
855a4e622d
Add Electron preload script to allow communication
...
Adds a channel to communicate between the main process & the renderer
process, so that the game can easily ship data back to the main process.
It uses the Electron contextBridge & ipcRenderer/ipcMain.
Connects those events to various save functions. Adds triggered events
on game save, game load, and imported game. Adds way for the Electron
app to ask for certain actions or data.
Hook handlers to disable automatic restore
Allows to temporarily disable restore when the game just did an import
or deleted a save game. Prevents looping screens.
2022-01-26 03:56:19 -05:00
Martin Fournier
26432082e2
Add an import save comparison page
...
This adds a new page reachable from the import save file
options menu. It shows the difference between the current save
and the data that is being imported, for confirmation.
Includes an "automatic" variant, which has different wording for when
Electron decides it has access to a newer version of the game.
While in this screen, the autosave is disabled.
This also adds a new BypassWrapper component around the game's tree.
It allows for content to be displayed without rendering the nested
pages (import, recovery). This prevents player scripts from messing
with the screen.
2022-01-26 03:56:17 -05:00
Martin Fournier
974344545d
Move import save functionality into SaveObject
...
Adds a lot of metadata to be able to easily compare the new save to the
current player.
- Adds lastSaved & identifier to the PlayerObject
- Includes a hash method used to generate an identifier
2022-01-26 03:42:52 -05:00
Martin Fournier
588c3e42d7
Refactor download.ts (export "download *" command)
...
Export the "download *" helper to be able to be called from Electron.
2022-01-26 03:40:22 -05:00
nickofolas
41eac2e775
Adjust sizing for corp and gang tabs
2022-01-26 00:53:17 -06:00
nickofolas
c0a27e7d66
Active scripts tab sizing
2022-01-26 00:53:16 -06:00
nickofolas
e81bd48ca6
Update Tab(s) design
2022-01-26 00:53:16 -06:00
Olivier Gagnon
022dd5d7d7
fix compile error
2022-01-26 00:58:02 -05:00
hydroflame
d27bac9be6
Merge pull request #2716 from lordducky/enhance-api-server
...
Enhance api server
2022-01-26 00:53:17 -05:00
hydroflame
2f36fb107f
Merge pull request #2803 from MartinFournier/feat/github-actions
...
Adds GitHub workflows to fetch a changelog & to bump the app's version
2022-01-26 00:52:06 -05:00
hydroflame
9fa706073f
Merge pull request #2745 from jamie-mac/fix/roulette-result
...
Fix incorrect result being detected on the roulette table
2022-01-26 00:51:03 -05: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
3654a238ae
Merge pull request #2726 from SagePtr/recheck-achievements
...
Force achievements recalculation on bitnode completion
2022-01-26 00:50:06 -05:00
hydroflame
6e33417399
Merge pull request #2736 from MartinFournier/feature/sleeve-bonus-time
...
Display bonus time in sleeve detailed stats panel
2022-01-26 00:49:20 -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
4a1e3e75ec
Merge pull request #2760 from jamie-mac/fix/slots
...
Fixes issue with incorrect result in slots, and corrects the direction of the reel spin
2022-01-26 00:48:54 -05:00
hydroflame
ac9381e30d
Merge pull request #2784 from dwRchyngqxs/blackjack_precise_decks
...
Add the deck count for blackjack
2022-01-26 00:48:42 -05:00
hydroflame
7e81575cb5
Merge pull request #2782 from dwRchyngqxs/hacking_exp_mult
...
Fixed player hacking exp multiplier application
2022-01-26 00:48:09 -05:00
hydroflame
ea9871fef0
Merge pull request #2641 from MartinFournier/feature/save-command-history
...
Copy terminal command history into game save
2022-01-26 00:47:02 -05:00
hydroflame
acee3c2994
Merge pull request #2705 from pigalot/bug-corp-product-cost
...
BUG: Fix for corp product cost
2022-01-26 00:46:39 -05:00
hydroflame
7a5dfd0e72
Merge pull request #2707 from MartinFournier/feature/theme-browser
...
Add Theme Browser accessible from GameOptions
2022-01-26 00:46:17 -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
2fe8a334ef
Merge pull request #2747 from smolgumball/improve-faction-root
...
ui: cleanup styles + presentation in FactionsRoot.tsx
2022-01-26 00:44:55 -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
85a8036ecf
Merge pull request #2751 from nickofolas/improvement/ui-pass
...
UI Improvements Pass
2022-01-26 00:44:20 -05:00
hydroflame
6c3ad48ef5
Merge pull request #2763 from Ornedan/formulas-access-checks
...
Fix formulas access checks
2022-01-26 00:42:51 -05:00
hydroflame
44a6f1b5a8
Merge pull request #2775 from dwRchyngqxs/script_nan_fix
...
Fixed array comparison handling of NaN
2022-01-26 00:42:29 -05:00
hydroflame
64662df91e
Merge pull request #2764 from zeddrak/patch-1
...
HacknetServer Grow/Weaken error messages
2022-01-26 00:42:11 -05:00
hydroflame
80396a3416
Merge pull request #2769 from zeddrak/patch-2
...
In response to Issue #2732
2022-01-26 00:41:51 -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
5e10f7df1f
Revert "Use min server.moneyAvailable
of 1$ when growing server money"
2022-01-26 00:35:42 -05:00
hydroflame
0a0b7db06f
Merge pull request #2785 from davidpa9708/improve-server-grow-low-money
...
Use min `server.moneyAvailable` of 1$ when growing server money
2022-01-26 00:34:52 -05:00
hydroflame
939136a32a
Merge pull request #2807 from dowinter/dev
...
Fix augmentation order when set to alphabetically
2022-01-26 00:32:59 -05:00
hydroflame
0dd339bb4d
Merge pull request #2790 from SlyCedix/travelToCity-money-fix
...
Make travelToCity throw on invalid city name and return false on no money
2022-01-26 00:32:25 -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
hydroflame
a6fb6df04f
Merge pull request #2811 from reasonablytall/dev
...
Indicate that getRunningScript can return null
2022-01-26 00:31:26 -05:00
hydroflame
0f2dd23eba
Merge pull request #2813 from jamie-mac/fix/cypress-tests
...
Fix: Cypress tests for dev (updates to match UI changes)
2022-01-26 00:31:00 -05:00
Sage Pointer
98f40ca092
Add rounding to getPurchaseServerCost
2022-01-26 06:02:05 +02:00
jamie-mac
1b1206c95d
Fix: Cypress tests for dev (updates to match UI changes)
2022-01-25 23:57:36 +00: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
Dominik Winter
e29eceb2bd
fix augmentation order when set to alphabetically
2022-01-25 18:21:09 +01:00
Martin Fournier
8a2cad6c4a
Reset styles for html changelogs in getUpdateText
...
Adds an optional sxProps to the DialogBox component.
2022-01-25 10:20:36 -05:00
David Perez Alvarez
6de6fa092f
"improve" server money grow when 0
...
min `server.moneyAvailable` of 1$ when growing
unify displayed growth
2022-01-24 09:51:36 -05:00
Cyn
cdeae4ef68
Make travelToCity throw on invalid city name and return false on no money
2022-01-23 22:08:07 -05:00
Martin Fournier
e7aa977eb0
Persist terminal command history in game save
...
Copy the terminal commands into the player object so that they are saved
between game reloads.
Adds a 'history' command to display history, and a 'history -c' command
to clear it from both the current terminal & the player's save.
2022-01-23 17:09:54 -05:00
qcorradi
23cd53aad4
Add the deck count for blackjack
2022-01-23 22:08:23 +01:00
qcorradi
08314ed33e
Fixed array comparison handling of NaN
...
Issue #2033 is fixed, not using Object.is as recommended by https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness#when_to_use_object.is_versus_triple_equals
2022-01-23 20:33:32 +01:00
qcorradi
341975ee09
Fixed player hacking exp multiplier application
...
Fixing the application of player's exp multiplier as indicated in #2260 ,
the game balance will need to get re-adjusted in consequence.
2022-01-23 20:30:36 +01: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
zeddrak
3fa580cb93
Update codingcontracttypes.ts
2022-01-22 21:06:20 -08:00
zeddrak
57a1bef967
In response to Issue #2732 (Optional)
...
This simply clarifies the description for the find all valid math expressions in response to issue #2732
https://github.com/danielyxie/bitburner/issues/2732
2022-01-22 21:00:28 -08:00
zeddrak
4ffe5508dc
HacknetServer Grow/Weaken error messages
...
It may be intentional to use hack for all 3 (ie, assume the player makes the connection that can't hack, also means can't grow or weaken), in which case, disregard.
On the other hand, it could've easily been a copy/paste artifact, and this would be more explicitly clear, so thought it was worth bringing up.
2022-01-22 14:47:33 -08:00
Heikki Aitakangas
621df103cf
Fix formulas access checks
2022-01-23 00:31:59 +02:00
nickofolas
f6bb4e0138
Fix console warning on ascension modal
2022-01-22 11:37:27 -06:00
nickofolas
3921457ee6
Update Gang equip. page UI
2022-01-22 11:16:51 -06:00
jamie-mac
ef95ec2e90
Fix: slots result matches against a previous state of the reels
...
Fix: reels spin the wrong way
2022-01-22 16:05:27 +00:00
nickofolas
310374dc56
Fix console complaints with gang cards
2022-01-22 09:36:36 -06:00
Luca Montagna
bd775f167e
fixed temp evaluation of MAX and PROD for products
2022-01-22 13:58:51 +01:00
Luca Montagna
bfa271881b
fixed temporary evaluation of MAX and PROD
2022-01-22 13:32:35 +01:00
Xi-Lin Yeh
cf8908fbc8
Add metadata (hash, ramUsage) to be returns
...
Allows for better dirty checking and integrations
2022-01-21 20:49:12 -08:00
nickofolas
c6ddba9f5f
Redesign Gang management page
2022-01-21 20:02:29 -06:00
smolgumball
1c856bf7ef
Resort imports
2022-01-21 15:57:44 -07:00
smolgumball
f28c5b3b45
Improve row spacing
2022-01-21 15:55:10 -07:00
nickofolas
259071e3d5
Align slider endpoints in settings
2022-01-21 16:32:32 -06:00
smolgumball
275e8c8756
Cleanup styles + presentation in FactionsRoot.tsx
2022-01-21 15:29:24 -07:00
nickofolas
a954095519
Prevent FactionRoot options from extending beyond the window
2022-01-21 16:15:41 -06:00
nickofolas
6018f2280d
Research modal UI pass
2022-01-21 16:08:02 -06:00
jamie-mac
8963842276
Fixes black matching 0 on the roulette table
2022-01-21 21:28:25 +00:00
jamie-mac
60c354622d
Fixes incorrect result being detected on the roulette table
...
Resolves #2382
Resolves #2086
2022-01-21 20:42:09 +00:00
nickofolas
844b228596
Align overview page
2022-01-21 14:32:02 -06:00
nickofolas
a904c362d9
Office UI alignment
2022-01-21 14:32:02 -06:00
nickofolas
542f164930
Align warehouse buttons
2022-01-21 14:32:02 -06:00
lethern
a96053a82b
Aug info: fixed typo
2022-01-21 15:51:31 +01: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
Martin Fournier
6dba1db3c9
Display bonus time in sleeve detailed stats panel
...
Also adds a field to modify the stored cycles in the dev menu.
2022-01-21 07:50:41 -05: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
Olivier Gagnon
07fe3c1906
update scam msg
2022-01-20 23:53:33 -05:00
Olivier Gagnon
a3c599e6c5
update to prevent scam
2022-01-20 23:43:19 -05:00
nickofolas
1a8a24587f
Ensure that the proper editor is updated by syncing
2022-01-20 17:45:54 -06:00
Martin Fournier
5c0d76828f
Add ID to ThemeEditorButton
2022-01-20 18:43:36 -05:00
Martin Fournier
a26b9c8dcf
Add theme browser page accessible from game options
...
Removed the themes buttons that were in the ThemeEditorModal and only
left a "Revert to Default" button along with a link to the ThemeBrowser
page.
Split off the buttons into reusable components since they are now used
in two pages.
Display the themes in big cards with a zoomable screenshot. Applying the
theme now shows a toast with an option to undo the action.
The snackbar now allows ReactNode instead of only strings.
- Add link with details on how to create a new theme in the game.
- Add link to the theme-sharing discord channel.
- Add icons to the theme & style buttons in GameOptions
- Add "Theme Editor" button to ThemeBrowser
- Add "Style Editor" button to ThemeBrowser
- Move Styles related files into Themes folder
- Includes a modal that shows a bigger version of the screenshot.
- Change Snackbar to allow for ReactNode as the message
2022-01-20 18:41:49 -05:00
Martin Fournier
61d6e43b37
Add theme screenshots & make some fields required
...
- Description, Name & Author is now mandatory
- Add screenshots
- Add dist/images to electron build
2022-01-20 18:41:49 -05:00
Martin Fournier
a9e2e35446
Move theme related things into its own subfolder
...
This will make contributions easier and less prone to conflicts.
2022-01-20 18:41:48 -05:00
Martin Fournier
aae3851d59
Add webpack file-loader to handle images
...
It lets us bundle static files such as images.
Allows us to `imports img from "./img.png"` to retrieve an image's path.
Note that we'll have to add other entries in the global.d.ts file if we
want to handle other extensions than .png.
Adds mocks to Jest tests so that we don't fail tests when loading static
assets.
2022-01-20 18:41:48 -05: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
SagePtr
32ba81883f
Force achievements recalculation on bitnode completion
2022-01-21 00:04:47 +02: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
Olivier Gagnon
f7d18efaf6
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-20 16:14:35 -05:00
Olivier Gagnon
77f525c98c
rm blob caching
2022-01-20 16:11:48 -05:00
hydroflame
ca7b8068ea
Merge pull request #2713 from JohnnyUrosevic/dev
...
Change "import" to "important" in hackers-starting-handbook.lit
2022-01-20 12:24:45 -05:00
Martin Fournier
6e908814db
Add game version in document.title
...
Also add [dev] prefix when in development mode.
2022-01-20 09:26:07 -05:00
Xi-Lin Yeh
4a3ee95b63
Enhanced API Server interface
...
- Used restful patterns for handling server calls (GET/PUT/DELETE)
- Utilized Server interface for saves rather than reimplementing code
- Exposed operations for getting codebase of scripts on the home server and deleting files.
- Added a common response structure
2022-01-20 00:03:07 -08:00
Johnny Urosevic
81db1b0a97
Change "import" to "important"
2022-01-19 13:00:59 -08:00
pigalot
5c7ac9ab8e
Fix for corp product cost
2022-01-19 18:44:48 +00:00
lethern
61cea12ca2
purchaseServer: improved error message for ram > maxRam
2022-01-19 19:09:33 +01:00
Sage Pointer
5fc7993dff
Remove console spamming from CalculateShareMult
2022-01-19 02:47:51 +02:00
phyzical
71ac4aacf1
updated buyback and sells functions docs
2022-01-19 08:25:12 +08:00
Olivier Gagnon
53727f6222
typo
2022-01-18 19:20:16 -05:00
Olivier Gagnon
69cf98ff34
doc
2022-01-18 19:12:52 -05:00
Olivier Gagnon
d2ec38753b
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-18 18:59:17 -05:00
Olivier Gagnon
d0a44a6088
change asleep
2022-01-18 18:57:43 -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
b6f514dd4d
Merge pull request #2693 from nickofolas/fix/body-background
...
Use background primary for `<body>`
2022-01-18 17:50:49 -05:00
hydroflame
7bebc86b11
Merge pull request #2684 from nickofolas/improvement/script-editor
...
Script Editor Improvements
2022-01-18 17:49:07 -05:00
nickofolas
eb7a0ebace
Use background primary before #000000 for body
2022-01-18 16:15:36 -06:00
hydroflame
ae83eeacb7
Merge pull request #2689 from nickofolas/fix/singularity-focus
...
Fix Singularity focus arg issues
2022-01-18 17:00:12 -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
2d38ce8f72
Fix focus arg for sing functions
2022-01-18 08:49:06 -06:00
nickofolas
89fd54698b
Fix ns.setFocus
2022-01-18 08:20:58 -06:00
nickofolas
258a1b262e
Update options button
2022-01-17 17:20:38 -06:00
lethern
bb6c2cd79e
Update NetscriptFunctions.ts
2022-01-17 23:53:44 +01: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
c5089ab82a
Merge pull request #2664 from MartinFournier/feature/recovery
...
Add information to the recovery page
2022-01-17 16:05:00 -05:00
hydroflame
1d83247f8d
Merge pull request #2671 from gianfun/fix_ns_tail_behavior
...
Fix ns.tail() behaviour for multiple calls
2022-01-17 16:01:34 -05:00
hydroflame
25112acefb
Merge pull request #2654 from SlyCedix/bounded-logs
...
Bound log windows to screen
2022-01-17 16:01:16 -05:00
hydroflame
27a54217eb
Merge pull request #2653 from nickofolas/fix/refactor-loops
...
Refactor `for ... in` loops
2022-01-17 16:01:04 -05:00
hydroflame
f591935757
Merge pull request #2655 from SagePtr/patch-1
...
Fix "travel" achievement icon
2022-01-17 15:56:44 -05: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
8df950721c
Merge pull request #2657 from theit8514/grandparent-script-cache
...
Remove dependents from cache when dependency updated
2022-01-17 15:56:06 -05:00
hydroflame
ef89c2eb1d
Merge pull request #2660 from nickofolas/fix/extraneous-br
...
Remove extraneous line breaks from buttons
2022-01-17 15:55:51 -05:00
hydroflame
247c02856a
Merge pull request #2658 from smolgumball/clickable-ls-style-tweak
...
Fix issues with timestamps on same line as clickable script rows in `ls`
2022-01-17 15:55:22 -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
hydroflame
abef252547
Merge pull request #2666 from MartinFournier/fix/dupe-cost
...
Remove duplicated 'cost' keyword for RAM cost.
2022-01-17 15:53:31 -05:00
hydroflame
5344548740
Merge pull request #2668 from MartinFournier/fix/locked-shortcuts
...
Shortcuts now check to see if feature is unlocked
2022-01-17 15:53:18 -05:00
hydroflame
4e5f05d269
Merge pull request #2667 from MartinFournier/fix/hash-cache-achievement
...
Add check for hash capacity > 0 for MAX_CACHE
2022-01-17 15:52:42 -05:00
hydroflame
b58a2c3cd5
Merge pull request #2674 from nickofolas/fix/help-format-fix-merge
...
Fix formatting lost in merge commit
2022-01-17 15:52:28 -05:00
hydroflame
2a8a958a7a
Merge pull request #2673 from MartinFournier/feature/sidebar-collapsed-tooltip
...
Add tooltips on sidebar icons when collapsed
2022-01-17 15:52:13 -05:00
hydroflame
a9a2764d62
Merge pull request #2672 from MartinFournier/fix/sidebar-stays-collapsed
...
Keep the sidebar opened or closed on reload
2022-01-17 15:52:01 -05:00
hydroflame
cd372c7a55
Merge pull request #2676 from TheMas3212/fix-2675
...
Add Formulas.exe on start of bitnode 5
2022-01-17 15:51:27 -05:00
hydroflame
cdb73319b2
Merge pull request #2679 from MartinFournier/fix/job-shortcut
...
Change job shortcut test to match sidebar item
2022-01-17 15:50:58 -05:00
hydroflame
facca0c2e3
Merge pull request #2680 from attrib/patch-2
...
Fix formatting of respect needed on gang UI
2022-01-17 15:50:24 -05:00
theit8514
31ebdbb139
Handle 'export default' in static RAM calculation
2022-01-17 13:16:03 -05:00
theit8514
423efe19e1
Remove dependents from cache when dependency updated
2022-01-17 12:02:00 -05:00
Karl Fritsche
c638b51e50
Fix formatting of respect needed on gang UI
2022-01-17 15:18:19 +01:00
Martin Fournier
82fe86820f
Change job shortcut test to match sidebar item
...
I switched it to match the same condition as the sidebar menu item,
which checks for player.companyName, which should be set to the latest
company the player worked at. This can prevent a crash loading the jobs
page with an invalid companyName.
This fixes a problem a user had where the player.companyName was empty
while actually items in player.jobs, but I could not figure out how
to replicate. It may have had something to do with part-time jobs.
2022-01-17 08:08:33 -05:00
phyzical
dd47a8baa0
throw error without bulk purchase reasearch
2022-01-17 20:00:19 +08: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
phyzical
b742fae1c6
Bugfix for creating products in invalid industries
2022-01-17 17:58:09 +08:00
TheMas3212
0ba4f07a34
Add Formulas.exe on start of bitnode 5
...
fixes #2675
2022-01-17 17:30:50 +11:00
nickofolas
7a31b19c88
Fix formatting lost in merge commit
2022-01-16 20:40:11 -06:00
Martin Fournier
490da6d374
Add tooltips on sidebar icons when collapsed
2022-01-16 17:11:12 -05:00
Martin Fournier
f9daf5df64
Keep the sidebar opened or closed on reload
...
Previously, going to a full-width page and heading back to the terminal would default the sidebar to its opened state regardless of what it was before.
Now it stores it in the GameRoot's state and also in the Settings so
that it persists over reloads.
2022-01-16 17:00:06 -05:00
Gian P
e38010a9a4
Revert "Logs button reopens log window"
...
This reverts commit 01efd372e95628d419575ade0e6536a458fd61d2.
2022-01-16 18:21:02 -03:00
Martin Fournier
a03e47593f
Shortcuts now check to see if feature is unlocked
...
The sidebar now checks if the Player has unlocked the features before using the router to head to the new page.
- Check added for Bladeburner
- Check added for Gangs
2022-01-16 11:31:52 -05:00
Martin Fournier
da7f161e45
Add check for hash capacity > 0 for MAX_CACHE
...
Achievement would trigger as soon as you entered the node as the
capacity was 0.
It looks like this fix was lost in a merge resolution (see PR #2459 )
2022-01-16 11:20:15 -05: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
416c4ad619
swap if for Math.min
2022-01-16 16:12:00 +00:00
pigalot
4f391682b7
Fix for unneeded extra =
2022-01-16 16:12:00 +00:00
pigalot
bd20f16a2d
Fix for AI Cores in smart supply
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
1b1dc20c16
fix error message
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
abdc786403
prevent DreamSense from pushing over max
2022-01-16 16:11:32 +00:00
pigalot
e245cc471a
Prevent awareness and pop going over max
2022-01-16 16:11:31 +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
42d767b443
Fix Bug with smart supply leftovers
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
2cfa589da6
Prevent seed money outside of 3
2022-01-16 16:11:31 +00:00