Commit Graph

46 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 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
Snarling b4074328ec UI: Added new locale-aware and configurable number formatting (#354) 2023-02-11 13:18:50 -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
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 83d357e758 commit1 2022-09-27 15:35:40 -04:00
Olivier Gagnon 66e80b2efa Added more info about blood program, change some aug descriptions 2022-09-23 01:13:37 -04:00
Olivier Gagnon a9d5ff9bc9 lint 2022-07-18 03:31:17 -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
nickofolas 2a73c27a2c Fix AugmentationRepCost BN mult not being applied 2022-05-13 19:02:32 -05:00
phyzical 15dca70afd one more conflict with hydros changes to SOA 2022-04-23 10:47:19 +08:00
phyzical 00bb387036 few regressions from hydros changes 2022-04-23 10:34:41 +08:00
phyzical cdfbda1379 merge dev 2022-04-23 10:26:51 +08:00
Olivier Gagnon 9fdfb77dd4 Update infiltrators 2022-04-22 15:30:49 -04:00
phyzical ec8437cadd freeze the cost to stop sneeky sneekers 2022-04-15 11:17:27 +08:00
phyzical 0bff9be8a7 missed one reference to making baseCost static 2022-04-15 11:14:16 +08:00
phyzical db97125d22 remove level, base cost and rep requirment from base augmentation obj
* added in place calculations for cost and level of augmentations given player context
* removed redundant logic for dynamically calculating cost,rep and level against the augmentation object
* replaced references to startingCost to baseCost as it is now always whatever it started at
2022-04-15 01:39:38 +08:00
phyzical 9c23fc89d1 merge base 2022-04-14 21:27:08 +08:00
Olivier Gagnon c76602a5df rm aug woned 2022-04-13 12:24:01 -04:00
phyzical 90d1c22aca changes all references to "heath reduction to damage reduction" 2022-04-13 18:54:13 +08:00
phyzical 6b48ff8f21 merge base 2022-04-13 18:50:42 +08:00
BB 29c1593263 Charisma is now spelled consistently with other mults 2022-04-09 01:45:38 +02:00
Olivier Gagnon 589e61c5d1 fix lint 2022-04-08 00:07:48 -04:00
Olivier Gagnon dca1ceaf20 fix aug cost 2022-04-07 10:39:13 -04:00
phyzical fd64746ff8 various fixes and adjustments 2022-03-29 22:43:28 +08:00
phyzical 7f28158005 moved over to player stats
* added new augmentations
2022-03-27 12:26:43 +08:00
phyzical 7d647c0b1b added startinRepRequirement for multiplying
added logic to increase ost based on amount of infiltators augmentations purchased
removed some copyright issues
2022-03-21 23:17:36 +08:00
Olivier Gagnon a0cf44ad6a add info to augs 2022-03-19 00:15:24 -04:00
nickofolas ab841f7530 Refactor for ... in loops 2022-01-15 18:45:03 -06:00
Olivier Gagnon ae33a23db4 remove Neuroflux from specila factions 2021-10-11 18:56:51 -04:00
Olivier Gagnon 06f716c0fa moved a bunch of files 2021-09-25 14:42:57 -04:00
Olivier Gagnon 5c6c472b64 Augmentations in mui 2021-09-25 01:06:17 -04:00
Olivier Gagnon 47f54a11c3 ts convertion 2021-09-24 16:02:38 -04:00
Olivier Gagnon 2a13db39c7 fix sleeve memory bug 2021-09-08 23:47:34 -04:00
Olivier Gagnon b4c9655782 reword hacking skill aug effect 2021-09-05 01:56:37 -04:00
Olivier Gagnon a18bdd6afc prettify, sorry for the big ass commit 2021-09-04 19:09:30 -04:00
Olivier Gagnon 6e013e4e6a Change money to automatically color grey when something cannot be bought. 2021-09-04 03:27:31 -04:00
Olivier Gagnon 1a1a43c1ce v0.52.4 2021-08-19 01:45:26 -04:00
Olivier Gagnon 99d4f17cdb work on blade to react 2021-08-17 23:28:40 -04:00
Olivier Gagnon 796d91835c Simplify all the augmentation effects. 2021-08-15 00:49:19 -04:00
Olivier Gagnon be8d56ced9 rewrite augmentation stats description so it's autogenerated and consistent with the actual effects. 2021-08-15 00:24:31 -04:00