Commit Graph

278 Commits

Author SHA1 Message Date
danielyxie
f4391b19bc Fixed various Coding Contract bugs. Added getContractType() to coding contract API 2018-10-09 11:56:22 -05:00
danielyxie
561cdb1652 Update documentation. Hacknet Node API functions for getting costs now return Infinity if the specified Node is at max level 2018-10-01 19:51:32 -05:00
danielyxie
12bee24520 Beginning to refactor stylesheets. Convert main menu to use buttons instead of a elements 2018-10-01 19:51:32 -05:00
danielyxie
d624d2f86f Fixed bug with contract generation when player doesn't have a job. Added bladeburner.getActionRepGain() function 2018-10-01 19:51:32 -05:00
danielyxie
f78f0ec1a7 Implemented Coding Contracts 2018-10-01 19:51:32 -05:00
danielyxie
e714f1e6cd Rename ContractTypes -> CodingCOntractTypes. Begin Contract Generation code 2018-10-01 19:51:32 -05:00
danielyxie
4d2290bcb1 Update documentation. Hacknet Node API functions for getting costs now return Infinity if the specified Node is at max level 2018-09-26 00:00:28 -05:00
danielyxie
597f080d97 Beginning to refactor stylesheets. Convert main menu to use buttons instead of a elements 2018-09-25 12:18:06 -05:00
danielyxie
81c1655a30 Fixed bug with contract generation when player doesn't have a job. Added bladeburner.getActionRepGain() function 2018-09-23 23:27:31 -05:00
danielyxie
fd8bcf35ed Implemented Coding Contracts 2018-09-22 19:31:43 -05:00
danielyxie
a114904fd3 Rename ContractTypes -> CodingCOntractTypes. Begin Contract Generation code 2018-09-22 19:31:43 -05:00
danielyxie
d50c5abb66 Refactored all code that uses the numeral library to use a wrapper class. Implemented configurable locale setting through this wrapper class 2018-09-12 11:29:02 -05:00
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
danielyxie
c0ca464b5d Added a ?noScripts query string that can be used to start the game without loading any scripts. 2018-05-17 14:50:27 -05:00
danielyxie
c7e155d4bc Refactored NetscriptJS to take in the NS environment as a parameter to main 2018-05-17 12:10:12 -05:00
danielyxie
6902ece765 v0.36.1 2018-05-11 16:30:55 -05:00
danielyxie
024138eabd Rebalancing Gyms and training in Bladeburner. Updated Active Scripts UI page to update once per second. Updated changelog 2018-05-10 12:14:45 -05:00
danielyxie
4ea365da02 Refactored Active Scripts UI. Can no longer gain Bladeburner faction rep from infiltration. Added Disable Hotkeys setting 2018-05-06 15:27:47 -05:00
danielyxie
9acc422f05 v0.36.0 - Bladeburner BitNode (BN-6) 2018-05-02 12:38:11 -05:00
danielyxie
521b81aec0 v0.35.2 2018-03-26 19:46:21 -05:00
danielyxie
f33d81b1a5 v0.35.1 2018-03-12 14:39:04 -05:00
danielyxie
e3c435270b V0.35.0. Adding netscript_tests in game testbench. 2018-03-03 15:05:33 -06:00
danielyxie
5f817c8016 V 0.34.2 Changes 2018-01-27 00:52:39 -06:00
danielyxie
e88a3936f3 v0.34.1 2018-01-19 22:47:57 -06:00
danielyxie
1529552542 v0.33.0 Added BitNode-3:Corporatocracy 2017-12-01 21:50:08 -06:00
danielyxie
124292ef97 Fix mission UI 2017-11-08 20:53:40 -06:00
danielyxie
36696d04db Stock Market rebalancing. Change visibility to display for changing UI. More work on company management 2017-11-08 19:55:21 -06:00
danielyxie
4dc87af132 v0.32.0 - Added BitNode-8: Ghost of Wall Street 2017-10-25 14:47:47 -05:00
danielyxie
cf471acad6 Fixed save issue. Rebalancing 2017-10-14 20:55:41 -05:00
danielyxie
246acf5966 Game now uses indexedDb. Added new Bond Forgery crime. Added commitCrime() and getStats() Singularity functions. Removed getIntelligence(). Balance changes to crime/infiltration 2017-10-11 21:00:22 -05:00
danielyxie
0927c4251e v0.29.3 Changed - Bug fixes for new player-defined Netscript functions. Rebalancing/bug fixes for Infiltration and Hacking Mission. Added function name autocompletion in Script Editor 2017-10-03 20:50:13 -05:00
danielyxie
26fe9eb519 Added Callback function to installAugmentations(). Implemented Source-File 5. Added player-defined functions to Netscript (not thoroughly tested). Began working on Hacking Mission Enemy 'AI' 2017-09-29 10:02:33 -05:00
danielyxie
22a5d3b3cc Finished BETA version of Missions. All other changes for v0.29.1 2017-09-27 10:13:42 -05:00
danielyxie
2523222565 More work on Hacking mission 2017-09-25 21:44:33 -05:00
danielyxie
5e7d72d901 More work on Hacking Missions 2017-09-25 07:50:19 -05:00
danielyxie
c93a398fbf Continue statement, began work on missions 2017-09-21 16:27:31 -05:00
danielyxie
d1f4f8fd36 All v0.29.0 changes 2017-09-19 13:38:03 -05:00
danielyxie
c0369bc937 v0.28.5 changes 2017-09-13 09:22:22 -05:00
danielyxie
3296a817fd Adding script editor options and some bug fixes 2017-09-04 20:03:29 -05:00
danielyxie
965ad5c601 Open up menus when they are relevant 2017-09-03 12:44:20 -05:00
danielyxie
9614d6ee4f In the middle of work for simplifying UI 2017-09-01 15:35:14 -05:00
danielyxie
78ca383ee2 Refactored code that initializes main menu buttons/header/panels 2017-09-01 13:49:21 -05:00
danielyxie
9b96e2537d Fixed bug with creating gangs 2017-09-01 11:59:11 -05:00
danielyxie
b17f89eba7 v0.28.0 Changed - Integrate ACE editor 2017-09-01 09:12:40 -05:00
danielyxie
7a05d3585a All 0.28.0 Changes - Bitnodes 4 and 11 and webpack migration 2017-08-30 12:44:29 -05:00
danielyxie
cf99c4f10b Added literature (.lit files). Fixed bug with Gang Territory. Updated documentation 2017-08-18 12:20:51 -05:00
danielyxie
63da40689d Small improvements to Interactive Tutorial 2017-08-15 18:49:47 -05:00
danielyxie
f100e559af Gang bugfixes and rebalancing. Terminal ls | grep option. Added Netscript break statement. Used numeraljs to display some number values 2017-08-15 15:22:46 -05:00
danielyxie
3db6d9d007 0.27.0 2nd Tier Prestige + Gangs 2017-08-13 00:01:33 -05:00
danielyxie
4a99c04772 Refactored Server() to take old init args in constructor. Removed Server.init(). Faction reputation is now exponential. Increased infiltration exp gains. DOM now loads before scripts 2017-08-02 23:21:15 -05:00
danielyxie
53d514d28e Decimal.js support for player's money. Buffed early game servers. 2017-07-29 11:25:40 -05:00