Commit Graph

216 Commits

Author SHA1 Message Date
danielyxie 053bb9fcaf Merge branch 'dev' of https://github.com/danielyxie/bitburner into stock-market-and-bladeburner-rebalancing 2018-09-06 11:54:21 -05:00
danielyxie 26fa9cfe82 Rebalanced Stock Market and Bladeburner. Refactored Stock class to Typescript 2018-09-06 11:07:59 -05:00
Mat Jaworski f721e21622 More minor font colour and Infiltration details updates 2018-09-07 00:15:36 +10:00
danielyxie 5ede6be8e5 Refactored functions that calculate hacking time/exp gain/chance/ etc into a separate file 2018-08-30 12:00:38 -05:00
Mat Jaworski 5f13bc6336 UI Enhancements
Updates:
– Character Overview box (top right corner) – redesigned and added colours to the attributes.
– Added prompt colour in the terminal.
– Minor copy fixes (grammar and typos).
– Code formatting cleanup.
– Character > Stats – Fixed spacing issue when Intelligence is not yet available
– Main Menu – Adjusted the spacing and changed the border to outline to improve the readability.
– Tooltip boxes (Firefox only) – fixed the issue when tooltips were generating additional spacing around the <br> tags.
– Multiple general updates to UI to improve accessibility and readability. Aimed to improve the user experience when playing the game on a smaller screen resolutions.
– Accordion/Dropdown buttons – improved the readability of the plus/minus icons.
– Added .editorconfig with the most basic settings.
2018-08-30 01:12:33 +10:00
Daniel Xie de0f891d52 Various rebalances to Bladeburner: Buffed Augmentations. Simulacrum costs less rep but more money. Slightly more money gained from contracts. Operations give more rank. More Synthoid communities. Added getBonusTime() and getSkillUpgradeCost() to Bladeburner API. Operation count increases faster and is more randomized. Decreased rate at which contracts/ops level up 2018-08-11 20:05:32 -05:00
Steven Evans 9a7fa5d12c Merge branch 'dev' into refactor-out-circular-dependencies 2018-08-07 10:00:49 -04:00
Daniel Xie a1a69b8042 Prevent dev menu from being shown in produ 2018-08-06 21:15:31 -04:00
Olivier Gagnon ddca5ae987 character overview element reuse 2018-08-03 10:54:13 -04:00
Steven Evans 974bc3c002 [refactor] Moved Settings to TypeScript
Moved the UI binding to a separate file as there is still a circular
dependency with 'engine'. But every other file that depends on Settings
is no longer part of a larger dependency cycle.
2018-08-02 14:33:08 -04:00
Steven Evans 826a8799fa [refactor] Extracting Locations to its own file to remove circular dependency 2018-08-02 14:33:08 -04:00
Steven Evans 26b0840f26 [refactor] Breaking out page tracking from 'engine' 2018-08-02 14:33:07 -04:00
Steven Evans 56da0f9214 [refactor] Pulling out createStatusText from Engine 2018-08-02 14:33:06 -04:00
Steven Evans 0bea4e0430 [refactor] Breaking out key codes
Trying to start breaking apart the large circular dependencies between
modules. Most of the dependencies are similar to this pattern where
there is one stand-alone member that is needed, so the entire module
gets brought along with.
2018-08-02 14:23:50 -04:00
danielyxie c2be5df1f5 Merge pull request #406 from kopelli/fix-dev-programs
Fixing Program list in dev menu
2018-08-02 10:55:27 -04:00
danielyxie 4ea6c4840c Merge pull request #360 from kopelli/scss
Incorporate SCSS for styling/bundling
2018-08-02 10:18:36 -04:00
Steven Evans 977d8b7d71 [bug] Fixing Program list in dev menu 2018-07-31 00:14:37 -04:00
Olivier Gagnon a465db4e74 save game now glows red if you dont have autosave enabled 2018-07-25 00:56:52 -04:00
Steven Evans 9b5b997b6d [chore] Introducing SCSS, renaming existing files.
Not utilizing any functionality yet, just setting up for refactorings.
2018-07-17 11:55:04 -04:00
Steven Evans 3faed7caf2 [refactor, chore] "Compile" CSS via Webpack
This may seem unnecessary (and odd to import CSS files into JS...), but
this sets up the project for being able to keep the distributed
(release) resources all together, as well as setting the stage for
introducing something like SCSS.
2018-07-16 23:22:24 -04:00
Steven Evans bd814446d5 [refactor] Pulled 'removeLoadingScreen' out of Engine 2018-07-16 14:20:01 -04:00
Olivier Gagnon 6514632b43 added shortcuts to corp, gang and blade under the world tab 2018-07-12 22:22:28 -04:00
Steven Evans 9e26ee7858 [refactor] Moved 'removeChildrenFromElements' to its own TS file 2018-07-08 21:18:44 -04:00
Steven Evans 8016321bfb [refactor] Moved 'clearEventListeners' to its own TS file 2018-07-08 21:18:10 -04:00
Steven Evans 107f1de18d [refactor] Moved createElement into its own TS file
This is the start at separating out UI related work from potentially backend
related work. This distinction will help when Web Workers can be
introduced to get around the background tab limitation for scripts.
2018-07-08 20:17:49 -04:00
Steven Evans 15e3b751da [refactor] Moved "exceptionAlert" to its own TS file
Since this is a UI only function, when Web Workers are introduced this
call chain will not be allowed on the backend.
2018-07-08 20:15:07 -04:00
danielyxie 3213032427 Fixed incompatibility issues with Edge (due to spread syntax). Fixed issue with Terminal autocomplete and capitalized commands. Script ram is now rounded to 2 decimal places 2018-07-02 22:35:12 -05:00
Olivier Gagnon 6bdf946790 remove all .js from all appplicable imports 2018-06-26 12:34:11 -04:00
danielyxie 13dbd9f26c Merge PRs and fix issues 2018-06-26 09:49:28 -05:00
danielyxie 89ecb15b6f Merge pull request #324 from hydroflame/hydroflame-convert-ts
first conversion
2018-06-25 20:02:40 -05:00
danielyxie d2a1443960 Merge pull request #320 from hydroflame/move-tor-html
[SMALL] moved all tor-html related code to one place, hurray for decoupling
2018-06-25 19:40:59 -05:00
Olivier Gagnon 3af76f50ab Merge branch 'dev' into streamline-create-programs 2018-06-22 20:48:26 -04:00
Olivier Gagnon 53ddfbc9ec first conversion 2018-06-22 17:30:24 -04:00
Olivier Gagnon 4f9ae82b4b added time since last bitnode timer 2018-06-22 15:38:25 -04:00
Olivier Gagnon 9dc96c51cb moved all tor-html related code to one place, hurray for decoupling 2018-06-21 13:00:33 -04:00
Olivier Gagnon 0ea6312d49 Merge branch 'dev' into streamline-create-programs 2018-06-20 18:50:08 -04:00
danielyxie 8620a4d30c Fix issue with 'Object.prototye' functions throwing errors during NetscriptJS RAM calculation. Fixed type with new Travel Confirmation setting loading to the correct initial value. Fixed Competition/Demand display for Products. Changed RAM for window/document access to be 100 2018-06-14 14:51:06 -05:00
danielyxie d6620da22e Removed import of DevModeEnabled in engine.js. Removed JSON.stringify in webpack.config.js for build mode 2018-06-13 14:26:15 -05:00
danielyxie 89016aeed9 Added devmode. Enabled using build flag. Added new npm build scripts 2018-06-13 12:38:22 -05:00
Olivier Gagnon cc5731baae enable/disable dev mode with a global var 2018-06-12 17:24:53 -04:00
Olivier Gagnon ad90a0bb6f added home ram upgrade button, enable+disable intelligence, source file modifications 2018-06-12 16:44:21 -04:00
Olivier Gagnon c2f2829e75 added stats related dev options 2018-06-12 16:06:05 -04:00
Olivier Gagnon bc14a6a147 work on the dev menu 2018-06-12 15:27:37 -04:00
Olivier Gagnon 2e3254877f some work on dev menu 2018-06-11 13:41:02 -04:00
Steven Evans 7ee964a66c Merge remote-tracking branch 'danielyxie/dev' into dev 2018-06-03 21:11:34 -04:00
danielyxie 957ce44316 v0.37.2 2018-06-02 20:37:56 -05:00
Olivier Gagnon aa56227851 streamline programs 2018-06-01 19:31:34 -04:00
Steven Evans 7362d1809f [refactor] Remove numeral from utils folder; use npm reference
In order to shave off ~0.02MiB of the bundle size, needed to continue
referencing the minified file. Ideally future changes can utilize
code splitting, tree shaking, and minification in WebPack to use normal
references.
2018-05-30 22:46:52 -04:00
Olivier Gagnon b0d78dc532 fixed a bug that allowed players to join all factiosn as long as they got invited first 2018-05-27 02:02:19 -04:00
danielyxie 565f0dd517 v0.37.1 2018-05-22 19:09:04 -05:00