Commit Graph

486 Commits

Author SHA1 Message Date
nickofolas d1edbe9a43 Save data sanitization
- Run in `Editor.beforeMount`, as well as when the
options modal is closed
- Recursively validates all token colors and
replaces them with bright red if they're invalid
2022-04-13 14:32:30 -05:00
nickofolas 739ca27ab9 Add Paper styling to modal 2022-04-13 14:32:30 -05:00
nickofolas 6f60589779 Tie up loose ends
- Ensure that customTheme is redefined whenever the options modal
is closed, regardless of saved or not
- Reset the pending value for the theme editor whenever modal is clsoed
2022-04-13 14:32:30 -05:00
nickofolas 10513ba5bc Update label for common.accent 2022-04-13 14:32:30 -05:00
nickofolas 16cf227498 Implement Monaco theme editor 2022-04-13 14:32:30 -05:00
nickofolas b3f37b2583 Add types token 2022-04-13 14:32:30 -05:00
nickofolas 881d4816cc Theme attribute cleanup 2022-04-13 14:32:30 -05:00
nickofolas ec0f20b14f Framework for custom theme 2022-04-13 14:32:30 -05:00
hydroflame cca8aa45d6 Merge pull request #3425 from Chris380/bugfix/3111_growthAnalyzeSecurity_thread_limit
Bugfix/3111 growthAnalyzeSecurity thread limit
2022-04-13 11:26:22 -04:00
Olivier Gagnon a029aee404 fmtlint 2022-04-13 11:18:22 -04:00
nickofolas 51e5d38c7b Add grafting API function to get graftable augs 2022-04-13 09:43:27 -05:00
Chris380 baa14f7b4d Update src/ScriptEditor/NetscriptDefinitions.d.ts
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:48:44 +02:00
Chris380 04abb60708 Update src/ScriptEditor/NetscriptDefinitions.d.ts
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:48:29 +02:00
chris380 4c113c19eb take into account max threads needed 2022-04-13 09:16:59 +02:00
Olivier Gagnon e1a56f9270 typos 2022-04-13 02:04:51 -04:00
Alexander Jarman dd6d4ec104 Merge branch 'dev' into htugboat/toast-part-deux 2022-04-13 01:55:13 -04:00
Heinous Tugboat 492c7012ea Renames SnackbarVariant to ToastVariant, adds enum to ns 2022-04-13 01:54:13 -04:00
Olivier Gagnon f555c4567b update doc 2022-04-13 01:35:35 -04:00
hydroflame 03b05f53fe Revert "[Feature] Script Editor Theme Customization" 2022-04-13 01:12:56 -04:00
hydroflame 413576100a Merge pull request #2876 from nickofolas/feature/monaco-theme-editor
[Feature] Script Editor Theme Customization
2022-04-13 01:12:15 -04:00
Olivier Gagnon 729fdf7510 fk it 2022-04-13 01:00:00 -04:00
hydroflame eee8d3e283 Merge pull request #3381 from HeinousTugboat/htugboat/toast-enum
Adds SnackbarVariant enum
2022-04-13 00:34:09 -04:00
Olivier Gagnon eaf0098cc7 move singularity to its own namespace but still support the old. 2022-04-12 20:55:28 -04:00
hydroflame b017fd2300 Merge pull request #3000 from JonathanBeverley/corp-expose-things-in-ui
Expose product and material details in API match UI
2022-04-12 17:49:29 -04:00
Olivier Gagnon 52e01fc026 fix a few things about getRecentScritps 2022-04-12 14:45:48 -04:00
hydroflame 68abd27d2c Merge branch 'dev' into add-ns-getRecentScripts 2022-04-12 14:21:18 -04:00
hydroflame aa1ab030a3 Merge pull request #3404 from Chris380/bugfix/3057_hashCost_example_code
Fixed hashCost() example code
2022-04-12 13:37:32 -04:00
chris380 fa29d2d9a8 take into account max thread needed 2022-04-12 17:42:49 +02:00
chris380 a49f68b0de Fixed hashCost() example code 2022-04-12 16:23:05 +02:00
hydroflame 674f3b0c9f Merge pull request #3318 from smmalis37/empjobs
Fix docs for employeeProd and add employeeJobs.
2022-04-11 20:48:17 -04:00
Heinous Tugboat 5b96cedd0c Adds SnackbarVariant enum 2022-04-08 23:46:19 -04:00
Olivier Gagnon 724c0669da sleep/asleep return promise true 2022-04-06 19:38:30 -04:00
Olivier Gagnon 48f80f25d6 fmt and lint 2022-04-06 19:30:08 -04:00
phyzical 8eccdf16e1 add logic to block working for gang faction 2022-04-04 18:10:21 +08:00
Olivier Gagnon cd09589f25 stanek-formula-rework 2022-04-01 15:45:12 -04:00
Steven Malis bb62973905 Fix docs for employeeProd and add employeeJobs. 2022-04-01 01:37:27 -04:00
Olivier Gagnon 4b867fea3e rename factions formulas to reputation 2022-03-31 15:52:03 -04:00
PSEUDOSTAGE ad9ff78533 Add calculateFavorToRep and calculateRepToFavor to Formulas.exe
The favorToRep and repToFavor formulas are shown to the player in the factions pages but were not available in Formulas.exe. This change adds a FactionsFormulas interface with the calculateFavorToRep and calculateRepToFavor functions.
2022-03-31 15:28:25 -04:00
Olivier Gagnon 12d5f55aec unknown-ify the rest of the basic API. 2022-03-29 22:14:56 -04:00
Olivier Gagnon aa0425a23d unknown-ify half the basic API. 2022-03-29 21:42:27 -04:00
Olivier Gagnon bbbaa89f74 unknown-ify singularity API 2022-03-29 20:05:40 -04:00
Olivier Gagnon 725c8234c9 unknown-ify the singularity API. 2022-03-29 19:49:37 -04:00
Olivier Gagnon a6e256ad5a Step 1 of moving singularity functions 2022-03-29 17:48:45 -04:00
Olivier Gagnon 24ede1c68d allbuild commit /usr/bin/git 2022-03-29 15:49:31 -04:00
Olivier Gagnon 443b0b6a89 rename functions in staneks gift 2022-03-29 14:20:40 -04:00
Olivier Gagnon 680081c548 post-grafting changes 2022-03-29 14:09:17 -04:00
hydroflame fb1bce579f Merge pull request #3170 from nickofolas/feature/grafting
[Feature] Grafting
2022-03-29 13:25:41 -04:00
nickofolas bd3f256536 Update doc for some grafting API funcs 2022-03-27 15:44:25 -04:00
nickofolas 3b32811f5e Grafting API RAM cost & doc update 2022-03-27 15:33:31 -04:00
DavidGrinberg 4497fbdda0 Update documentation for purchaseTor
Reflect the changes to the logic
2022-03-25 23:02:23 -04:00