Commit Graph

85 Commits

Author SHA1 Message Date
Snarling
83d357e758 commit1 2022-09-27 15:35:40 -04:00
Olivier Gagnon
bb8af88b77 prep v2 2022-07-19 14:21:12 -04:00
Olivier Gagnon
5b8eea66d4 rm some any 2022-07-15 23:34:27 -04:00
Olivier Gagnon
dd7ceeefdd rm a any 2022-07-14 19:02:59 -04:00
Olivier Gagnon
fac6633347 remove so many fields and values used by the old system 2022-07-12 23:13:40 -04:00
ilkecan
9f8c567d4c Add a keyboard shortcut to switch to Options page 2022-06-29 00:33:39 +00:00
Zoë Hoekstra
016a9a873f
Add keycode table and switch to event.code in select places 2022-05-03 15:59:46 +02:00
Undeemiss
001e8f6d06 Removed redPillFlag and minor refactors to MessageHelpers.ts
Removed redPillFlag, replacing its use with appropriate UI checks.
converted MessageFilenames to enum and removed unnecessary type checks.
2022-04-12 20:32:01 -05:00
hydroflame
0e89017794
Merge pull request #3246 from phyzical/refactor-more-key-codes
slice out event key constant refactors
2022-03-30 00:12:36 -04:00
phyzical
c681828ec1 few more event key. constant refactors 2022-03-24 23:09:24 +08:00
nickofolas
dfca624e35 Merge branch 'dev' of github.com:danielyxie/bitburner into feature/grafting 2022-03-21 11:08:48 -05:00
nickofolas
919f8480dd Grafting UI framework 2022-03-18 23:22:21 -05:00
Master-Guy
65832e72d2 Merge branch 'issues/2308' of https://github.com/Master-Guy/bitburner-1 into issues/2308 2022-03-18 10:49:23 +01:00
Master-Guy
9dd933ecee Changed .keyCode to .key for files in "src" 2022-03-18 10:43:56 +01:00
Master-Guy
edd60cff5c Changed .keyCode to .key for files in "src" 2022-03-17 15:29:14 +01:00
nickofolas
a93e2b670f Redesign Create Program UI 2022-03-12 10:59:55 -06: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
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
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
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
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
844d518684 Add achievements to base game
- Add a script to generate achievement data from Steamworks API
- Add achievements page with a link in sidebar
- Calculate achievements (1/min) with an engine counter
- Store achievements with a timestamp on unlocked in the PlayerObject
- Add a script to generate monochrome icons from Steam icons
- Add toast when unlocking an achievement
2022-01-08 05:45:32 -05:00
MageKing17
eb137455f5
Allow shortcuts to work while doing unfocused work.
A lot of people thought keyboard shortcuts weren't working because the code to make them stop working was only checking if the player was working without checking if the player was also focused. If doing unfocused work, there's no reason not to allow keyboard shortcuts to keep working.
2021-12-24 21:22:46 -08: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
Billy Vong
f4ea1ae970 Merge branch 'dev' into fix/prevent-ctrl-alt-j-navigation 2021-12-17 12:39:57 -05:00
Billy Vong
659211e1ff Prevent ctrl+alt+j from navigating to Jobs
This is a browser hot key to open the Chrome Developer Tools.
2021-12-17 12:35:47 -05:00
Olivier Gagnon
99f3566e52 bugfix 2021-12-16 20:09:19 -05:00
Martin Fournier
e8e2760c73 Fix #1880: Show git commit of bundled app 2021-12-16 15:25:59 -05:00
Olivier Gagnon
4460bf1613 fix shortcuts 2021-12-12 14:02:45 -05:00
Olivier Gagnon
faa9b87733 added new mechanic that allows the wd to be stronger 2021-11-20 01:30:45 -05:00
Olivier Gagnon
3ab3106634 build with dev 2021-11-20 00:26:01 -05:00
Olivier Gagnon
4730347330 revert dev meny thingy 2021-11-17 10:59:33 -05:00
Olivier Gagnon
ae9ad4430e Increase rep gains 2 2021-11-17 10:59:15 -05:00
Olivier Gagnon
56ddcd9a45 more work on bn13 2021-11-13 22:44:17 -05:00
Olivier Gagnon
0bee743b47 v1.0.0 migration guide 2021-11-02 22:49:46 -04:00
Olivier Gagnon
080b5a4a1f merge dev 2021-10-26 23:11:47 -04:00
Olivier Gagnon
f915ba61a9 fix some issues with badges 2021-10-25 11:17:41 -04:00
Olivier Gagnon
f044dc6603 no longer remove badges because apparently lmao everything is bugges 2021-10-24 11:14:21 -04:00
Olivier Gagnon
6d39fda3fa fix a few bugs 2021-10-23 15:22:58 -04:00
Olivier Gagnon
1b22fe4f3d revert dev meny 2021-10-17 19:01:10 -04:00
Olivier Gagnon
35a5e2f343 change the way charge works 2021-10-17 18:59:37 -04:00
Olivier Gagnon
a612352f32 revert sidebar 2021-10-17 00:52:13 -04:00
Olivier Gagnon
79dd27d22f change rep cost for stanek augments 2021-10-17 00:51:43 -04:00
Olivier Gagnon
a0a698e0af revert the dev tab 2021-10-16 21:01:05 -04:00
Olivier Gagnon
df6d156e8e Change a few fragment 2021-10-16 21:00:36 -04:00
Olivier Gagnon
f4ecbd9b48 merge dev 2021-10-08 00:26:35 -04:00
Olivier Gagnon
3ca7c49ce8 Fixed Script Editor last filename not keeping proper track 2021-10-08 00:21:30 -04:00
Olivier Gagnon
62bdfb1875 notes 2021-10-07 14:49:40 -04:00