Commit Graph

294 Commits

Author SHA1 Message Date
danielyxie
1d20d475f3 Fixed Infiltration exp display bug. Set cursor: pointer css styling for main menu 2018-09-29 13:58:32 -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
256f15418b Added css for a 'classic' main menu 2018-09-21 14:51:26 -05:00
danielyxie
a18a2e8e70 Fixed linting errors 2018-09-12 11:29:02 -05:00
danielyxie
93d2a09aab Migrating hydroflame's killall loading screen changes to new build files 2018-09-10 16:38:18 -05:00
Steven Evans
a85f956a9d [style] Cleaning up Stylelint violations 2018-09-10 10:41:48 -04:00
danielyxie
b36855fe52 Merged from dev. Fixed merge conflicts. Updated terminal documentation for wget 2018-09-07 21:21:23 -05:00
Mat Jaworski
f721e21622 More minor font colour and Infiltration details updates 2018-09-07 00:15:36 +10: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
Steven Evans
26b1c43435 [style] Sorting properties alphabetically 2018-08-29 22:45:47 -04:00
danielyxie
aa18420e0c
Merge pull request #441 from danielyxie/improve-interactive-tutorial
Updated Interactive Tutorial and added a few helpful links to the hac…
2018-08-29 14:11:13 -05:00
danielyxie
8b99e46d5e Updated Interactive Tutorial and added a few helpful links to the hackers-starting-handbook Literature file 2018-08-29 14:06:21 -05:00
Mat Jaworski
dbab0d73a7 UI Enhancements part 2
A bit more refactoring and cleaning up the code.
Updated the Augmentations accordion icons as they were barely visible.
2018-08-30 01:48:26 +10: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
danielyxie
58d48f19ef Added .fconf setting for enabline line wrap in terminal input. Began implementing wget 2018-08-28 22:24:38 -05:00
danielyxie
2bf6871ece V0.40.2 BUndle and minor bug/typo fixes 2018-08-25 23:26:42 -05:00
Daniel Xie
e4f02b298b Added Four Sigma (4S) Market Data feature, and its Netscript TIX API functions as well 2018-08-24 15:44:48 -05:00
Daniel Xie
815762bddd Attached Stock market Watchlist 2018-08-23 13:51:57 -05:00
Daniel Xie
d556af0fd8 Converted pop-up boxes to use css flex 2018-08-12 14:45:35 -05:00
Steven Evans
9a7fa5d12c
Merge branch 'dev' into refactor-out-circular-dependencies 2018-08-07 10:00:49 -04:00
Daniel Xie
b45d23facf Fixed typo with bladeburner-nav-button css 2018-08-06 12:09:04 -05:00
danielyxie
9b0db28d00
Merge pull request #415 from kopelli/active-scripts
Active Scripts list no longer jumps down on first update
2018-08-03 11:38:50 -04:00
Olivier Gagnon
ddca5ae987 character overview element reuse 2018-08-03 10:54:13 -04:00
Steven Evans
ba3f637eb1 [feat] Active Scripts list no longer jumps on first update 2018-08-02 15:53:53 -04:00
Steven Evans
56da0f9214 [refactor] Pulling out createStatusText from Engine 2018-08-02 14:33:06 -04:00
Steven Evans
97896cadef [style] Cleanup of Styleline violations
Allowing up to 4 decimal places in order to get 13px from the 16px
default size.

Having "@extend" come before "@include" and other rules to minimize its
use being overlooked. Extending classes and placeholders can lead to
some tricky rendered styles, so the use definitely needs to be done
judiciously.
2018-07-17 12:52:27 -04:00
Steven Evans
98d79d4d3c [refactor] small SCSS refactorings to "bladeburner" and "interactivetutorial" 2018-07-17 12:09:19 -04:00
Steven Evans
4bbd74eedf [refactor] Refactored "missions" SCSS 2018-07-17 12:09:19 -04:00
Steven Evans
681401b7b0 [refactor] Converting all font-size to be based on $defaultFontSize 2018-07-17 12:09:19 -04:00
Steven Evans
2afed92c82 [refactor] Moving global styling out of "loader" 2018-07-17 12:09:18 -04:00
Steven Evans
94e2c58d7f [refactor] Refactored the loader; inlined the customizations 2018-07-17 12:09:18 -04:00
Steven Evans
ec0a2f1903 [refactor] pulling the general font-family to a SCSS variable 2018-07-17 12:09:18 -04:00
Steven Evans
df881791d3 [refactor] Added 'box-shadow' mixin 2018-07-17 12:09:18 -04:00
Steven Evans
cab8c01833 [refactor] Introducing the "border-radius" SCSS mixin 2018-07-17 12:09:17 -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
420b6e9fb9 [style] Enabled Stylelint 'selector-combinator-space-*' rules 2018-07-10 09:49:45 -04:00
Steven Evans
2851424392 [style] Enabled Stylelint 'no-missing-end-of-source-newline' rule 2018-07-10 09:49:44 -04:00
Steven Evans
e74b31e313 [style] Enabled Stylelint "comment-whitespace-inside" rule 2018-07-10 09:49:44 -04:00
Steven Evans
f2b703d94c [style] Enabled Stylelint 'max-empty-lines' rule 2018-07-10 09:49:43 -04:00
Steven Evans
17c91b83d1 [style] Enabled Stylelint 'indentation' rule 2018-07-10 09:49:43 -04:00
Steven Evans
30de15efb7 [refactor] Enabled Stylelint 'function-comma-space-after' rule 2018-07-10 09:49:43 -04:00
Steven Evans
877a276542 [refactor] Enabled Stylelint 'length-zero-no-unit' rule 2018-07-10 09:49:42 -04:00
Steven Evans
bfa2c3d4f9 [refactor] Enabled Stylelint 'no-extra-semicolons' rule 2018-07-10 09:49:42 -04:00
Steven Evans
d563d9624a [refactor] Enabled Stylelint 'declaration-colon-space-after' rule 2018-07-10 09:49:41 -04:00
Steven Evans
71d80ae5a4 [refactor] Enabled Stylelint 'color-hex-length' 2018-07-10 09:49:41 -04:00
Steven Evans
1eee47dd3e [refactor] Enabled Stylelint "color-hex-case" rule 2018-07-10 09:49:41 -04:00
Steven Evans
9f3459a46f [refactor] Enabled Stylelint rule "color-named"
Going with no named colors for consistency.
2018-07-10 09:49:40 -04:00
Olivier Gagnon
83aeb50605 unify dropdown and text input accross the app 2018-06-13 16:20:27 -04:00
danielyxie
89016aeed9 Added devmode. Enabled using build flag. Added new npm build scripts 2018-06-13 12:38:22 -05:00
Olivier Gagnon
20b35ccfb5 user can no longer select button text (meaning they can spam) 2018-06-13 03:26:07 -04:00
Olivier Gagnon
a4ef94c0e0 styling dev menu 2018-06-12 17:16:25 -04:00
Olivier Gagnon
bc14a6a147 work on the dev menu 2018-06-12 15:27:37 -04:00
Steven Evans
2cbc728baf [fix] UI layout of hacknet nodes no longer overflows player info 2018-06-05 23:49:06 -04:00
Steven Evans
720478377f [feat] Shrunk the UI of Hacknet Nodes to view more at a time on screen.
The UI of a single Hacknet Node now only takes up ~50% of the screen.
This allows two nodes to be displayed per "row" when the screen is wide
enough.

Also repositioned the buttons for the nodes so they are inline with the
information each updates. This visual correlation lets us reduce the
text that needs to be in each button.

Also reduced the amount of DOM that needs to be continuously garbage
collected by updating specific text rather than throwing out entire HTML
elements.
2018-06-05 13:30:07 -04:00
Olivier Gagnon
f70d39f9e6 make the stock market accound and api button green when bought 2018-05-27 04:02:54 -04: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
779ce25ae5 v0.34.5. Also adding webpack config and package-lock.json 2018-02-24 16:55:06 -06:00
danielyxie
f82d216e10 v0.34.4 2018-02-14 22:26:43 -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
3f61ec1cab v0.34.0 changes 2017-12-06 21:45:47 -06:00
danielyxie
488d6043ec Adding companymanagement.css 2017-12-01 21:32:33 -06:00
danielyxie
bc6f0da677 Fixed Netscript interpreter memory issues by breaking promise chains in while and for loops. Improved Stock Market UI. Added a button to kill script from log display box. Added confirm() Netscript function 2017-11-02 16:47:09 -05:00
danielyxie
4dc87af132 v0.32.0 - Added BitNode-8: Ghost of Wall Street 2017-10-25 14:47:47 -05:00
danielyxie
4ccad83e5e Initial implementation of BitNode-8: Ghost of Wall Street. Added TextFile.js to git. Added design for company management 2017-10-20 16:59:54 -05:00
danielyxie
8f0dad0d10 Fixed issue in Hacking Missions where nodes weren't easily selectable 2017-10-13 10:19:42 -05:00
danielyxie
4186326771 Added new Text Files (downloadable) and their corresponding Terminal commands. Added sprintf and vsprintf. 2017-10-12 15:10:34 -05:00
danielyxie
04bfcc0f20 All v0.30.0 Changes 2017-10-09 23:56:48 -05:00
danielyxie
51c37176f1 Bugfixes and balance tweaks for Hacking missions 2017-10-01 22:27:42 -05:00
danielyxie
662f30cc38 Added :q, :x, :wq Vim Ex commands. Added ADR-v2 Pheromone new Augmentation. Fixed bugs and added improvements to Hacking missions. 2017-10-01 21:35:22 -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
eac664a3d0 Fixed background color on Infiltration selector 2017-09-01 16:23:57 -05:00
danielyxie
a8e28e3d71 Fixed black background for stock market qty input 2017-09-01 11:06:40 -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
faf19addee 0.27.3 Changes 2017-08-19 20:36:19 -05:00
danielyxie
3db6d9d007 0.27.0 2nd Tier Prestige + Gangs 2017-08-13 00:01:33 -05:00
danielyxie
8b6dba561c Crime and job balancing. Fixed some formatting bugs 2017-07-30 14:11:30 -05:00
danielyxie
cbb9f2b740 Merge branch 'dev' of https://github.com/danielyxie/netburner into dev 2017-07-29 11:26:28 -05:00
danielyxie
53d514d28e Decimal.js support for player's money. Buffed early game servers. 2017-07-29 11:25:40 -05:00
danielyxie
d26ec75ded Merge pull request #94 from desci/master
Account for negative money
2017-07-28 16:32:10 -04:00
danielyxie
2afb313a53 Added several configurable game settings. Added donate button. Added Hacknet Node API functions for getting cost of upgrades 2017-07-25 09:39:56 -05:00
Desobediente Civil
cd0ecb961f Account for negative money
This should guarantee that in the event the balance becomes negative,
there will be no scrolling bars.
2017-07-25 03:01:24 -03:00
danielyxie
d5be649bbd Added autocompletion for aliases. Added autocompletion for any number of arguments. Added getServerRam() function 2017-07-24 20:06:40 -05:00
danielyxie
e653b7b315 All v0.26.0 changes 2017-07-21 17:54:55 -05:00
Daniel Xie
222f75d55a Refactored Netscript with Acorns parser. Major rebalancing. Add TIX API. Add round(), purchaseServer(). 2017-07-13 11:54:29 -05:00
Daniel Xie
89c8407cbe MOre work on Red Pill stuff 2017-07-04 16:18:42 -05:00
Daniel Xie
03f7ce5fe5 Began implementing RedPill. Rebalancing for home computer RAM, company, university, server starting money. Updated tutorial and faction descriptions 2017-07-04 14:34:17 -05:00
Daniel Xie
36e3a3b5d2 StockMarket and Infiltration implementations 2017-07-03 14:42:11 -05:00
Daniel Xie
d63f17fa8d initAugmentations() now called applyAugmentations() at the end 2017-06-28 15:53:12 -05:00
Daniel Xie
38e1c77c5c Rebalancing for favor, Increase reputation cost, Fix bugs with purchasing multiple augmentations, balanced company positions. New netscript functions 2017-06-27 23:11:27 -05:00
Daniel Xie
6712d340fb Fixed bugs with new multiple Augmentations feature. Added getServerMaxMoney() netscript command 2017-06-25 18:39:17 -05:00
Daniel Xie
a6406e785a FIxed field work buff. Added AutoLink and ServerProfiler programs. PRogram work is now saved 2017-06-23 09:23:35 -05:00
Daniel Xie
0449460c4f Added favor system for companies and factions 2017-06-20 11:11:33 -05:00
Daniel Xie
e2fbca1ef0 More nerfs to combat augmentations. Randomized server parameters. Added Log and Kill button to Active SCripts panel 2017-06-19 09:54:11 -05:00
Daniel Xie
9a96f6b231 Esc can be used to close log box. Log box close button scrolls down in fixed position 2017-06-17 13:19:37 -05:00
Daniel Xie
6fe0ec1ea5 Added dynamic array functioanlity. Refactored tail so that it displays a dynamic popup with log contents 2017-06-14 20:19:52 -05:00
Daniel Xie
69d4af01ff Added Options button to top right overview. Script object optimization by deleting server maps when not active. Fixed issue with servers getting negative money 2017-06-13 10:58:31 -05:00
0x726564646974
7b69e10efc Merge branch 'dev' into themes 2017-06-08 20:27:34 -04:00
Daniel Xie
d09179cd4f Added beta functionality for export/import feature 2017-06-07 23:57:40 -05:00
Daniel Xie
f92556e754 Fixed bugs with new Netscript commands 2017-06-06 23:09:53 -05:00
0x726564646974
47e01ee2eb Adding basic theme command 2017-06-06 22:51:08 -04:00
Daniel Xie
570bba2dd1 Added new update text. Bugs with server max money. Updated to version 0.20.0 2017-06-06 19:28:20 -05:00
Daniel Xie
1a7a247b4d Re-designed Active Scripts tab. Re-designed growth mechanic to depend on server security. Server growth no longer occurss manually. Bug fixes 2017-06-06 16:22:57 -05:00
Daniel Xie
0d90479097 Fixed issue with Faction page formatting. Script.reset() now re-updated RAM usage 2017-06-03 23:56:18 -05:00
Daniel Xie
ce8257fb0c Fixed bug with autocompletion on capitalized leters. Updated to 0.19.7 2017-06-03 15:51:18 -05:00
Daniel Xie
a3d45b3cc2 Script editor now saves state when switching to other tabs. Updated to version 0.19.4 2017-06-02 12:18:53 -05:00
Daniel Xie
6ff028b5ea Slightly buffed hacknet nodes 2017-06-01 08:36:49 -05:00
Daniel Xie
b53abeb280 Refactored Dialog boxes so that an infinite amount can be opened 2017-05-31 23:17:50 -05:00
Daniel Xie
f4c90a1612 Fixed issue with Hacknet Node multipliers. Added total production cost display for Active Scripts 2017-05-30 19:00:24 -05:00
Daniel Xie
519e2ced66 Refactored pop up boxes 2017-05-30 09:55:58 -05:00
Daniel Xie
bfba6a3d5b Updated Netscript documentation for new Hacknet Node 'API'. Adde game options 2017-05-25 09:50:58 -05:00
Daniel Xie
6316cbae23 Minor UI changes 2017-05-25 03:09:51 -05:00
Daniel Xie
0fd5323d52 Added scan-analyze to Interactive Tutorial 2017-05-24 18:23:28 -05:00
Daniel Xie
5c16759908 Clicking outisde popup dialog box closes it. Grow() time is now based on hacking level 2017-05-24 08:49:52 -05:00
Daniel Xie
5d415a1a60 Fix bug with purchaseHacknetNode(). Improve nano interface 2017-05-23 21:55:24 -05:00
Daniel Xie
8338582ef7 Increased cost of university classes/Gym. You can now see the effects of an augmentation before unlocking it. Slightly increased cost of purchasing Hacknet Node upgrades 2017-05-23 14:26:52 -05:00
Daniel Xie
e1fb332251 Reduced prod multiplier for Hacknet Node RAM. Faction pages now scroll. Bug fix 2017-05-23 09:31:55 -05:00
Daniel Xie
75513aa59d Added a few more monospace fonts to font-family in css 2017-05-22 08:53:50 -05:00
Daniel Xie
be18f6150d Small UI improvement 2017-05-21 18:37:41 -05:00
Daniel Xie
eb71db3fad Buffed hacknet Nodes base prod by 25%. Updated tutorial documentation. Small UI changes 2017-05-21 16:04:57 -05:00
Daniel Xie
b2b1724885 Small UI changes 2017-05-21 00:39:18 -05:00
Daniel Xie
9e2344919f Small UI changes, adding RAM cost for new script commands. 2017-05-20 22:45:36 -05:00
Daniel Xie
4d0ee212be UI Improvements. Added two new Netscript functions to purchase Hacknet Nodes 2017-05-20 04:27:42 -05:00
Daniel Xie
c454e3729b Added option to donate money to faction 2017-05-20 03:19:13 -05:00
Daniel Xie
0054ab7222 Added a Character ovewview screen 2017-05-20 02:33:33 -05:00
Daniel Xie
9e1c7191f5 Fixed typos and improved text in Tutorial and Interactive Tutorial 2017-05-17 00:31:42 -05:00
Daniel Xie
2823a1ffa1 Purchase MAX hacknet nodes now works. Huge rebalancing of Augmentations, made most augmentations a little bit stronger 2017-05-16 22:50:32 -05:00
Daniel Xie
47e4f5b9dd Slight rebalancing on Hacknet Nodes. Added buttons for purchase multipliers. They don't work yet though 2017-05-16 16:22:54 -05:00
Daniel Xie
56a7ed66a5 Added status text for saving. Minor rebalancing for Hacknet Node RAM Cost 2017-05-15 11:54:23 -05:00
Daniel Xie
5039a03732 UI Improvement to script editor. FIxed some bugs in new Netscript commands 2017-05-15 10:13:21 -05:00
Daniel Xie
acf94ccc06 Fixed heigth of ITutorialBox 2017-05-15 00:13:47 -05:00
Daniel Xie
84a007960e Flashing tutorial buttons 2017-05-15 00:09:14 -05:00
Daniel Xie
708b800e36 Improved documentation for Netscript. Added a link to Netscript documentation in script editor 2017-05-14 20:43:10 -05:00
Daniel Xie
df057ccaab Minor UI improvements, bug fix in Crime.js 2017-05-14 19:14:13 -05:00
Daniel Xie
3808fe5a3f Minor UI improvements and bug fixes 2017-05-10 15:21:15 -05:00
Daniel Xie
f2287b5696 Lots of changes, didn't keep track ofthem all 2017-05-10 12:42:46 -05:00
Daniel Xie
c35e08b4d5 Small UI improvements, small bug fix with NeuroFlux cost, added tooltips to Crimes 2017-05-08 12:40:53 -05:00
Daniel Xie
20d8a40e17 Playtesting - Rebalancing, UI improvements, added tooltip for programs, home computer no longer reset on prestige 2017-05-08 09:33:26 -05:00
Daniel Xie
315940112c UI Improvements 2017-05-06 17:19:18 -05:00