Commit Graph

111 Commits

Author SHA1 Message Date
danielyxie 795f9f4955 Added 'Issue New Shares' feature for Corporations. Added cooldowns for issuing new shares and selling shares. Selling shares now dynamically updated stock price 2019-01-08 21:26:20 -08:00
danielyxie 7453a91cfe Began refactoring Corporation implementation into separate modules (and converted to TypeScript). Rebalanced material starting prices and market properties (demand, competition, market price) 2019-01-08 21:26:20 -08:00
danielyxie 4db697fd8e Fixed Corporation bugs with Product Sell Amt being negative and NSA Bladeburner button bug 2018-11-29 01:17:09 -08:00
danielyxie 34857e00f0 v0.41.2 Updated build and changelog 2018-11-23 17:39:01 -08:00
danielyxie 6f26408de7 Fixed bug with numeraljs displaying NaN for very small numbers. Cleaned up stock market argument validation code 2018-11-20 21:43:15 -08:00
danielyxie 074f8d9834 Fix Github Issue #508 and #506 2018-11-19 01:03:38 -08:00
danielyxie b242ca2f42 Fixed bugs with refactored Company/job code. Added 'expr' Terminal command 2018-11-17 16:23:48 -08:00
danielyxie 9b3ff6d2d3 Fixed merge conflicts with dev 2018-11-15 19:45:03 -08:00
danielyxie d6bdc9433a Initial commit for company code refactor. Split out all components into separate files and converted to typescript 2018-11-15 17:28:23 -08:00
danielyxie 5b06a0b800 v0.41.0 QOL changes and suggestions 2018-11-04 17:03:53 -06:00
danielyxie 4c3219bb9e Revert "Revert "Gang rework""
This reverts commit be0a08d70c.
2018-10-23 13:55:42 -05:00
danielyxie be0a08d70c Revert "Gang rework" 2018-10-23 13:47:00 -05:00
danielyxie a43f8bf1e6 Finished ironing out Gang ascension mechanic, including bugs. Refactored UI code to be part of the Gang class. 2018-10-14 19:28:44 -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
Mat Jaworski 0b0a3d366c More UI updates
- infiltration: added colours, updated spacing and fixed alignment
- terminal prompt: added colour for the previous lines as well
- Active Scripts and Hacknet Nodes: money values have a gold colour now; minor spacing updates
- minor code refactoring
2018-09-03 22:10:00 +10:00
Daniel Xie f3732b2d74 Preventing exploits by progrmaming DOM button clicks in code 2018-08-17 15:06:18 -05:00
Steven Evans 826a8799fa [refactor] Extracting Locations to its own file to remove circular dependency 2018-08-02 14:33:08 -04:00
danielyxie 2b21e93a14 Rebalancing Infiltration by decreasing starting Infiltration security b 10% 2018-07-18 16:11:44 -05: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 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
Olivier Gagnon 6bdf946790 remove all .js from all appplicable imports 2018-06-26 12:34:11 -04: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
danielyxie ca15e689ef More rebalancing of Infiltration. Updating version to v0.39.0 2018-06-25 12:29:51 -05:00
danielyxie 8c8574878c Rebalanced infiltration by making base difficulty lower, slightly decreasing the difficulty gain, and increasing money/exp rewards 2018-06-24 21:50:03 -05:00
Olivier Gagnon 53ddfbc9ec first conversion 2018-06-22 17:30:24 -04:00
Olivier Gagnon 8f30a2246c using classList instead of setAttributes 2018-06-21 13:52:34 -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
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 449df57edf Merge pull request #294 from hydroflame/suppress-travel-confirm
added options to suppress travel confirmation
2018-06-13 09:19:50 -05:00
danielyxie 9a0dd4b9ee Merge pull request #286 from hydroflame/tor-green
Tor green
2018-06-13 09:10:52 -05:00
Olivier Gagnon 7362ead364 added options to suppress travel confirmation 2018-06-13 03:37:21 -04:00
Olivier Gagnon 4fda9d1998 make tor router button green when bought like WSE buttons 2018-06-12 14:01:28 -04:00
Olivier Gagnon bea6ea5829 display company favor as integers 2018-06-12 13:54:12 -04:00
Olivier Gagnon 289a005fbb made upgrade home ram cost consistent and precision to 5 to display better in game 2018-06-07 14:54:34 -04:00
danielyxie f28ffcc49e Merge pull request #270 from hydroflame/fix-travelToCity
made travel cost a constant and prevent travelToCity from traveling i…
2018-06-04 09:09:39 -05:00
danielyxie e31c8a1fc0 Merge pull request #259 from hydroflame/streamline-crimes
streamline crimes code
2018-06-04 09:04:46 -05:00
Steven Evans 7ee964a66c Merge remote-tracking branch 'danielyxie/dev' into dev 2018-06-03 21:11:34 -04:00
Olivier Gagnon 4b6dbee628 made travel cost a constant and prevent travelToCity from traveling if the player doesn't have enough money 2018-06-03 21:09:12 -04:00
danielyxie 957ce44316 v0.37.2 2018-06-02 20:37:56 -05: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 cb0d70de85 streamline crimes 2018-05-29 16:36:52 -04: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 96b12f7f68 Added ENABLE_TIMESTAMPS Fconf Setting. Put a soft-cap on stock price. Cleaned up a number rounding display issue for Gang UI (100.03% territory, etc.). Refactored ActiveSCriptsUI code to use a queue to sequentially run 'tasks' that handle the adding/deleting of items and server panels 2018-05-07 12:25:44 -05:00
danielyxie 3147f9edeb Updated Server instantiation with new Server constructor. Minor rebalances to BN6 2018-05-06 16:20:00 -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 5f817c8016 V 0.34.2 Changes 2018-01-27 00:52:39 -06:00
danielyxie 1529552542 v0.33.0 Added BitNode-3:Corporatocracy 2017-12-01 21:50:08 -06:00