Commit Graph

334 Commits

Author SHA1 Message Date
Snarling 2ae3ac52f1 CORPORATION: Corp changes prior to 2.3 finalization (#503) 2023-05-15 18:06:57 -04:00
Snarling ebae35b1fb CODEBASE: Expand lint rules, and Aliases are stored as maps (#501) 2023-05-05 03:55:59 -04:00
Snarling e0272ad4af FILES: Path rework & typesafety (#479)
* Added new types for various file paths, all in the Paths folder.
* TypeSafety and other helper functions related to these types
* Added basic globbing support with * and ?. Currently only implemented for Script/Text, on nano and download terminal commands
* Enforcing the new types throughout the codebase, plus whatever rewrites happened along the way
* Server.textFiles is now a map
* TextFile no longer uses a fn property, now it is filename
* Added a shared ContentFile interface for shared functionality between TextFile and Script.
* related to ContentFile change above, the player is now allowed to move a text file to a script file and vice versa.
* File paths no longer conditionally start with slashes, and all directory names other than root have ending slashes. The player is still able to provide paths starting with / but this now indicates that the player is specifying an absolute path instead of one relative to root.
* Singularized the MessageFilename and LiteratureName enums
* Because they now only accept correct types, server.writeToXFile functions now always succeed (the only reasons they could fail before were invalid filepath).
* Fix several issues with tab completion, which included pretty much a complete rewrite
* Changed the autocomplete display options so there's less chance it clips outside the display area.
* Turned CompletedProgramName into an enum.
* Got rid of programsMetadata, and programs and DarkWebItems are now initialized immediately instead of relying on initializers called from the engine.
* For any executable (program, cct, or script file) pathing can be used directly to execute without using the run command (previously the command had to start with ./ and it wasn't actually using pathing).
2023-04-24 10:26:57 -04:00
Snarling 0df984eea0 CODEBASE: Add Jsonable Map and Set types, move player.sourceFiles to a map (#473) 2023-04-18 03:19:45 -04:00
Snarling 04d49e3a6d SCRIPTS: Script modules are reused when they are imported (#461)
Also corrects some compile race conditions.
2023-04-07 00:33:51 -04:00
Zelow79 5ffefcca80 Show on tooltip that bladeburner augs can be grafted (#427) 2023-03-17 07:57:38 -04:00
Snarling 6a6043c509 CODEBASE: Add custom useRerender hook (#359) 2023-02-11 13:22:55 -05:00
Snarling b4074328ec UI: Added new locale-aware and configurable number formatting (#354) 2023-02-11 13:18:50 -05:00
omuretsu 07b1eefe33 Run prettier 2023-02-07 21:16:18 -05:00
Mughur 23199ee705 fix previous commit, improve argument page on docs 2023-01-30 21:42:46 +02:00
David Walker 0c2d402f0b INFRA: Update everything except React (#312) 2023-01-08 02:36:55 -05:00
Snarling fb1f95c26e VARIOUS: Various changes prior to release 2.2 (#271)
See PR #271 description
2022-12-29 20:28:53 -05:00
David Walker 8d793ea271 Internal refactoring of Router (#241) 2022-12-04 03:14:06 -05:00
hydroflame aa39728f67 Merge pull request #4230 from borisflagell/SoA_RepCost
SOA: Fix #3884 Implement unused SoARepMult constant to SoA's augmentations price + linked UI modification
2022-10-12 23:52:14 -04:00
borisflagell b3f2fe5e02 Update PlayerMultipliers.tsx 2022-10-11 19:22:06 +03:00
borisflagell 125cd04383 Fix #3884
Fix #3884
2022-10-11 18:12:06 +03:00
Olivier Gagnon cbb7f58231 Make the main player object an alias, makes it easier to import 2022-10-09 18:42:14 -04:00
Olivier Gagnon f6f023eeb4 Fix tons of typos 2022-10-09 01:25:31 -04:00
Snarling aa80cf6451 See description
Reverted ToastVariant back to an enum internally. Still exposed to player as just possible strings.
Changed all 1-line documentation comments to actually be 1-line. Moved some because they were not providing documentation for the thing they were trying to.
2022-10-04 06:40:10 -04:00
Snarling 50f14b4f58 Commit1 2022-10-03 12:12:16 -04:00
Olivier Gagnon 444c74ccd9 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-09-27 17:37:36 -04:00
Olivier Gagnon fbf5009cdb comment out unnamedaug2 2022-09-27 17:37:32 -04:00
Snarling 3d4d02a573 remove unnecessary function 2022-09-27 16:15:11 -04:00
Snarling 38063f62a7 build fix, lint, remove some instanceof checks 2022-09-27 16:09:32 -04:00
Snarling 88505e9378 stray lint fix 2022-09-27 15:35:42 -04:00
Snarling 91a69d7d8f format & lint 2022-09-27 15:35:40 -04:00
Snarling a21b1029d7 No more player/router context 2022-09-27 15:35:40 -04:00
Snarling 83d357e758 commit1 2022-09-27 15:35:40 -04:00
Snarling 5798c4c7d3 Unify error handling 2022-09-27 15:32:09 -04:00
Olivier Gagnon a3c92dd04d Wrap up v2.1.0 2022-09-23 15:00:20 -04:00
Olivier Gagnon 6390f3618e Added few augs 2022-09-23 12:05:16 -04:00
Olivier Gagnon fb197be206 Fix hostname generation being weird about dash 0 added 2022-09-23 12:04:21 -04:00
Olivier Gagnon 66e80b2efa Added more info about blood program, change some aug descriptions 2022-09-23 01:13:37 -04:00
Kelenius 5350e1c3e9 Unhardcoded BN8 BB check; show if corp/BB are disabled in BN stats 2022-09-12 17:48:52 +03:00
Olivier Gagnon a9d5ff9bc9 lint 2022-07-18 03:31:17 -04:00
Olivier Gagnon 4bee746576 rm any 2022-07-15 01:51:30 -04:00
Olivier Gagnon 6b630753f0 nuke some use of any 2022-07-14 19:00:10 -04:00
Olivier Gagnon 5629c16def extract multipliers in its own type 2022-07-14 18:43:33 -04:00
hydroflame d5f3d2fbf4 Merge pull request #3705 from nickofolas/improvement/address-feedback
AUGMENTATIONS: Address some feedback regarding the new UI
2022-05-23 12:19:17 -04:00
nickofolas d1656c0567 Color reqs and increase density 2022-05-22 11:12:30 -05:00
SebassNoob 774eced317 grammar 2022-05-23 00:05:40 +08:00
SebassNoob cd8f0cdbda more ss fixes 2022-05-23 00:03:51 +08:00
SebassNoob 0bc486afcd fix typos, grammar and sentence structure 2022-05-22 23:51:12 +08:00
nickofolas ea2f412ef1 Initial densification of Augments list 2022-05-21 19:40:27 -05:00
nickofolas 5f9fb117b0 Remove info icon, show stats on name hover 2022-05-21 18:37:27 -05:00
nickofolas 38c1388735 Use disabled color for non-buyable augs 2022-05-20 19:39:19 -05:00
Olivier Gagnon 3574f5df3f re-merge 3576 2022-05-20 15:44:49 -04:00
nickofolas 2a73c27a2c Fix AugmentationRepCost BN mult not being applied 2022-05-13 19:02:32 -05:00
nickofolas 1147df8c75 Format 2022-05-07 17:34:50 -05:00
nickofolas 6d1a3bb47a Fix naming inconsistencies 2022-05-07 16:54:55 -05:00