nickofolas
1f9414fd0e
Resolve conflict
2022-04-13 14:32:30 -05:00
nickofolas
137539c1db
Add missing newline at end of file
2022-04-13 14:32:30 -05:00
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
a66ed00998
Change global theme import rows to 10 and format
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
Undeemiss
87936598e2
Create program action no longer creates duplicates
2022-04-13 13:03:10 -05:00
Olivier Gagnon
3336a6ff61
added openDevMeny
2022-04-13 13:47:48 -04:00
Undeemiss
80b61ea17e
Reran npm format and lint to fix formatting
2022-04-13 12:19:58 -05:00
Olivier Gagnon
b5e4d706b2
🔖 Build v1.6.4
2022-04-13 12:32:26 -04:00
Olivier Gagnon
fbb99c1712
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-04-13 12:24:04 -04:00
Olivier Gagnon
c76602a5df
rm aug woned
2022-04-13 12:24:01 -04:00
hydroflame
96d76a84ba
Merge pull request #3431 from Undeemiss/sing-connect-backdoor
...
Allowed ns.singularity.connect to connect to backdoored servers directly
2022-04-13 12:22:17 -04:00
Undeemiss
dfc2ca6669
Allowed ns.singularity.connect to connect to backdoored servers directly
...
Added some small comments for readability and added a new case to
ns.singularity.connect that allows connecting to backdoored servers
directly regardless of if the current server is adjacent to them.
2022-04-13 11:03:17 -05:00
hydroflame
0d11a18ca9
Merge pull request #3428 from Chris380/bugfix/2367_reject_cd_to_invalid_folders
...
Reject cd to invalid folders
2022-04-13 11:27:35 -04: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
hydroflame
e1405a1dd2
Merge pull request #3429 from nickofolas/feature/ns-grafting-get-augs
...
[Feature] Add `ns.grafting.getGraftableAugmentations` function
2022-04-13 11:17:31 -04:00
Olivier Gagnon
501b69bbc2
tighten messages types wth enums
2022-04-13 11:10:56 -04:00
Olivier Gagnon
c21223ca40
Added type declaration to Messages
2022-04-13 11:06:49 -04:00
hydroflame
3b5e877801
Merge pull request #3424 from Undeemiss/smarter-icarus
...
Reduced icarus.msg spam and added new truthgazer.msg
2022-04-13 11:06:26 -04:00
nickofolas
51e5d38c7b
Add grafting API function to get graftable augs
2022-04-13 09:43:27 -05:00
chris380
d93ab92f69
Reject cd to invalid folders
2022-04-13 16:07:41 +02:00
Chris380
99923e0f62
Update src/NetscriptFunctions.ts
...
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:58:43 +02:00
chris380
1dac3fea31
fixed formatting + import
2022-04-13 15:54:48 +02: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
e0f4ec6594
Update src/NetscriptFunctions.ts
...
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:47:31 +02:00
phyzical
7bb23f9a97
lint
2022-04-13 18:56:35 +08:00
phyzical
90d1c22aca
changes all references to "heath reduction to damage reduction"
2022-04-13 18:54:13 +08:00
phyzical
7f288665d3
linting
2022-04-13 18:52:32 +08:00
phyzical
3eb9c4a2e2
regression fix
2022-04-13 18:52:01 +08:00
phyzical
6b48ff8f21
merge base
2022-04-13 18:50:42 +08:00
Jack
2f9ab67cd2
Merge branch 'dev' into bugfix/corp-updates
2022-04-13 16:35:18 +08:00
chris380
44c71347d7
formatting
2022-04-13 09:22:46 +02:00
chris380
355d2bd8f9
use minimum of given and maximum threads
2022-04-13 09:19:09 +02:00
chris380
4c113c19eb
take into account max threads needed
2022-04-13 09:16:59 +02:00
Undeemiss
dfadfcea09
Smarter icarus.msg, new truthgazer.msg, fix long-standing message bug
...
Sorry for putting this all in one commit; it all happened at the same time
as a direct conscequence of trying to get icarus.msg to be smarter.
There's a compilation error on MessageHelpers.ts:24, but the game
seems to run fine so I'm committing and coming back to it later.
2022-04-13 01:53:22 -05: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
d7822b389e
🔖 Build v1.6.3
2022-04-13 01:40:29 -04:00
Olivier Gagnon
aa447d3051
🔖 Build v1.6.1
2022-04-13 01:37:53 -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
d895124267
lint
2022-04-13 00:27:43 -04:00
hydroflame
16dd31331d
Merge pull request #3421 from Undeemiss/message-refactor
...
Removed redpillFlag and refactored MessageHelpers.ts
2022-04-13 00:27:14 -04:00
hydroflame
770a76e7e5
Merge pull request #2979 from phyzical/bugfix/2843
...
updated material dmd based on old tag
2022-04-13 00:24:29 -04:00
Olivier Gagnon
f1a3fb7d3e
fix buying programs and writing them at the same time.
2022-04-13 00:21:51 -04:00
Undeemiss
f47f2239bd
Added "Check Messages" button to dev menu
2022-04-12 22:29:06 -05:00
Undeemiss
64a5cd038e
Formatted and linted
2022-04-12 20:56:21 -05:00
Undeemiss
e30e6ef47f
Fixed reference to now-deleted setter for redpillFlag
2022-04-12 20:53:10 -05:00
Undeemiss
0d26976f1a
Refactored icarus.msg check
2022-04-12 20:47:00 -05:00
Undeemiss
001e8f6d06
Removed redPillFlag and minor refactors to MessageHelpers.ts
...
Removed redPillFlag, replacing its use with appropriate UI checks.
converted MessageFilenames to enum and removed unnecessary type checks.
2022-04-12 20:32:01 -05:00
Olivier Gagnon
eaf0098cc7
move singularity to its own namespace but still support the old.
2022-04-12 20:55:28 -04:00
hydroflame
c8c271a334
Merge pull request #3401 from TheMas3212/feat/wrap-singularity
...
Wrap Singularity API with wrapper
2022-04-12 20:53:55 -04:00
Olivier Gagnon
3e357ab9a7
Added demos in stanek
2022-04-12 20:23:03 -04:00
Olivier Gagnon
2b4b59b371
fmy
2022-04-12 19:10:58 -04:00
hydroflame
df3314c2f2
Merge pull request #3416 from Undeemiss/stanek-info
...
Added info button to Stanek's Gift page
2022-04-12 19:09:38 -04:00
Undeemiss
1c58f29fe9
Added info button to Stanek's Gift page
...
Added a small button that can be clicked to bring up a concise,
to the point description of how the Stanek's Gift mechanic works.
2022-04-12 17:54:42 -05: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
de8b38b299
few stanek improvements.
2022-04-12 17:18:36 -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
Olivier Gagnon
8958046421
fix test
2022-04-12 14:06:24 -04:00
hydroflame
243cdceb8c
Merge pull request #3390 from nickofolas/improvement/stats-augs-ui
...
[Improvement] Overhaul Stats and Augmentations UI
2022-04-12 13:43:09 -04:00
hydroflame
0513aed239
Merge pull request #3403 from Chris380/bugfix/2486_auto_complete_connect_backdoored_server
...
Bugfix/2486 auto complete for connect and backdoored server
2022-04-12 13:37:43 -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
Olivier Gagnon
864816bd22
fix unknown
2022-04-12 13:37:19 -04:00
hydroflame
c38ab9e65f
Merge pull request #3405 from Chris380/bugfix/3111_hackAnalyzeSecurity_thread_limit
...
take into account max thread needed
2022-04-12 13:35:13 -04:00
Risenafis
e27994367d
fix HammingCodes description
2022-04-13 01:13:21 +09: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
chris380
93f59f0df2
formatting updated
2022-04-12 15:11:38 +02:00
chris380
16720ec3b7
update connect help text
2022-04-12 15:08:04 +02:00
chris380
6a941d57ed
Add backdoored servers to connect autocompletion
2022-04-12 15:03:45 +02:00
TheMas3212
b2689eaa5a
Wrap Singularity API with wrapper
...
also refactored the RamCosts IMap as it didnt quite work properly due to
how the wrapper calculates function names
2022-04-12 16:51:10 +10:00
Olivier Gagnon
2d74b493ee
Add sourceURL in comment to fill in stack trace
2022-04-11 21:46:17 -04:00
Olivier Gagnon
a11e2868df
fmt
2022-04-11 21:45:55 -04:00
hydroflame
a17b81dff3
Merge pull request #2925 from Ornedan/necro-script-fix
...
Necro script fix
2022-04-11 21:36:07 -04:00
Olivier Gagnon
93e7083301
fix lint
2022-04-11 20:59:37 -04: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
hydroflame
3f4d00a8c2
Merge pull request #3350 from phyzical/bugfix/3348
...
Fix for install augmentation stale objects bug
2022-04-11 20:05:46 -04:00
TheMas3212
433873c5e2
run formater
2022-04-12 08:27:53 +10:00
TheMas3212
8d5632eb3e
fix netscript wrapper to wrap all functions, not just the top level
2022-04-12 08:20:34 +10:00
Olivier Gagnon
5cbeae9353
lint
2022-04-11 14:17:27 -04:00
hydroflame
fc9e7244aa
Merge pull request #3197 from TheMas3212/feat/api-wrapper
...
Initial API Wrapper Work
2022-04-11 13:26:38 -04:00
hydroflame
1b87628a4d
Merge pull request #3387 from nickofolas/improvement/grafting-tweaks
...
[Improvement] Small grafting tweaks based around Congruity aug, plus some general grafting fixes
2022-04-11 13:22:34 -04:00
hydroflame
92f04903f9
Merge pull request #3385 from anatoly-kussul/cct-array-jumping-game-2
...
New coding contract type: Array Jumping Game II
2022-04-11 13:21:36 -04:00
hydroflame
d5ad2118dd
Merge pull request #3383 from anatoly-kussul/cct-total-ways-to-sum-2
...
New coding contract type: Total Ways to Sum II
2022-04-11 13:21:24 -04:00
hydroflame
03650344f4
Merge pull request #3379 from nickofolas/improvement/super-important-lore
...
[Improvement] Add super important lore tidbit to an Augmentation
2022-04-11 13:21:11 -04:00
hydroflame
eecc96c3cd
Merge pull request #3380 from ApamNapat/make_charisma_spelling_consistent
...
Charisma is now spelled consistently with other mults
2022-04-11 13:21:01 -04:00
hydroflame
8f2adaf1b7
Merge pull request #3386 from phyzical/bugfix/add-missing-stockmarket-init
...
add call to missing stock market init when using the api
2022-04-11 13:18:25 -04:00
nickofolas
8da51b7e0a
Replace references to crafting with grafting
2022-04-11 11:07:15 -05:00
hydroflame
99ad015d4b
Merge pull request #3389 from ChrissiQ/fix-ui-style-corp-width
...
♿ ️ (Corp UI Accessibility) Limit tabs width to avoid stretching screen.
2022-04-11 11:59:45 -04:00
hydroflame
f8807c5612
Merge pull request #3392 from phyzical/bugfix/fix-bulk-purchase
...
fix for the bulk purchase
2022-04-11 11:59:27 -04:00
phyzical
e3da5e0e03
added the ability to cancel products when still being developed
2022-04-11 21:55:38 +08:00
phyzical
a66b5bfb69
fixes and pr comments
2022-04-11 21:54:50 +08:00
phyzical
1718b55c27
fix for the bulk purchase
2022-04-11 08:10:58 +08:00
Anatoly Kussul
0855532081
small pharsing changes
2022-04-11 00:11:46 +03:00
Anatoly Kussul
cb756808a2
added coments, removed possible infinite loop, changed problem phrasing
2022-04-11 00:01:52 +03:00
nickofolas
f6af85a38d
Fix prettier
2022-04-10 15:57:34 -05:00
nickofolas
4de3caa56a
Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/grafting-tweaks
2022-04-10 13:42:41 -05:00
ChrissiQ
2111c2e3d7
♿ ️ (Corp UI Accessibility) Limit tabs width to avoid stretching screen.
...
The rendering engine doesn't seem to respond properly to a limit of 65% for the tabs
area. Though the tab area visually appears to be limited, the parent container is
still using the full extended width of the tabs, causing page stretch. Using 65vw
instead of 65% for maxWidth causes the calculation to be based on the actual page
width so no stretching occurs.
2022-04-10 12:37:10 -06:00
phyzical
909e5e964f
add call to missing stock market init when using the api
2022-04-10 18:19:45 +08:00
Anatoly Kussul
0538bf3299
New coding contract type: Array Jumping Game II
2022-04-10 02:47:40 +03:00
Heinous Tugboat
dd19d6451d
Updates sleeve functions so names match
2022-04-09 18:40:01 -04:00
Anatoly Kussul
27180ebccb
New coding contract type: Total Ways to Sum II
2022-04-09 22:38:42 +03:00
nickofolas
bf518836a5
Minor grafting tweaks around Congruity aug
2022-04-09 09:24:14 -05:00
nickofolas
4a0998c568
Fix DOM parse warnings
2022-04-09 09:06:32 -05:00
nickofolas
48895c8d2d
Fix SF list selection
2022-04-09 08:41:03 -05:00
nickofolas
236a5cd645
Minor code improvements
2022-04-09 08:35:31 -05:00
TheMas3212
f53c90b21c
Change Signature of InternalFunction
...
Mark properties of Wrapped NetscriptAPI as readonly
2022-04-09 15:15:45 +10:00
Heinous Tugboat
5b96cedd0c
Adds SnackbarVariant enum
2022-04-08 23:46:19 -04:00
BB
29c1593263
Charisma is now spelled consistently with other mults
2022-04-09 01:45:38 +02:00
nickofolas
271173dca2
Fix consistency of purchased aug list
2022-04-08 16:58:21 -05:00
nickofolas
693ca7baba
Change theme variable used for entropy color
2022-04-08 16:40:06 -05:00
nickofolas
7c9fc3248f
Reduce purchased aug tooltip delay
2022-04-08 16:29:15 -05:00
nickofolas
34ca4d236b
Add ability to clear queued augs from dev menu
2022-04-08 16:28:43 -05:00
nickofolas
101c34effa
Overhaul PlayerMultipliers columns logic
2022-04-08 16:27:16 -05:00
nickofolas
f40af55f46
Change money stat color
2022-04-08 16:10:35 -05:00
nickofolas
79c878dbc3
Add super important lore tidbit to an Augmentation
2022-04-08 13:11:17 -05:00
nickofolas
2d904e08b4
Fix keys
2022-04-08 11:48:37 -05:00
nickofolas
96226f199f
Improve purchased Augs section
2022-04-08 11:22:46 -05:00
nickofolas
b9cc6321fd
SF -1 related fixes
2022-04-08 10:49:10 -05:00
nickofolas
a4bc793cf1
Hide SF display when no SFs owned
2022-04-08 10:21:40 -05:00
nickofolas
81f971b52e
Add coloring to NFG display
2022-04-08 09:43:21 -05:00
nickofolas
5dea27bc28
Fix NFG appearing in installed list
2022-04-08 09:43:09 -05:00
Olivier Gagnon
758b0e1127
fix home ram tooltip
2022-04-08 01:02:36 -04:00
nickofolas
fbf9bc521f
Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/stats-augs-ui
2022-04-07 23:55:46 -05:00
Olivier Gagnon
2b994f244d
fmtlint
2022-04-08 00:54:54 -04:00
hydroflame
386106f574
Merge pull request #3378 from nickofolas/fix/congruity-availability
...
[Fix] Removed nickofolas Congruity Implant Augmentation from gangs
2022-04-08 00:53:57 -04:00
Olivier Gagnon
2b2af797a7
fmt and lint
2022-04-08 00:39:45 -04:00
nickofolas
251cdcd6dc
Fix nickofolas Congruity Implant being available in gangs
2022-04-07 23:39:11 -05:00
hydroflame
d956e47246
Merge pull request #3331 from Ornedan/shortest-path-cct
...
New coding contract: Shortest Path in a Grid
2022-04-08 00:38:19 -04:00
hydroflame
1b7abbffaf
Merge pull request #3371 from Hedrauta/Hamming-Coding-Contracts
...
2 new Coding Contracts
2022-04-08 00:35:19 -04:00
nickofolas
e7ad5c5f9e
Remove unnecessary code
2022-04-07 23:33:47 -05:00
nickofolas
e720930f04
Improve sizing of some list-based menus
2022-04-07 23:29:24 -05:00
Olivier Gagnon
a2dddb0e5a
Fix soft reset not installing augs anymore
2022-04-08 00:28:37 -04:00
nickofolas
3d296e2bf0
Consistently respect SF5 BN mult unlock
2022-04-07 23:19:05 -05:00
Olivier Gagnon
589e61c5d1
fix lint
2022-04-08 00:07:48 -04:00
nickofolas
e3e77ea2cc
Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/stats-augs-ui
2022-04-07 23:07:43 -05:00
hydroflame
4aa012f9c0
Merge pull request #3372 from nickofolas/feature/unique-aug
...
[Feature] Add special Augmentation for Grafting
2022-04-07 23:35:05 -04:00
nickofolas
9dea381536
Fix SF levels and tweak spacing
2022-04-07 20:44:29 -05:00
nickofolas
960dc354c1
Further tweaks/fixes
2022-04-07 19:06:42 -05:00
TheMas3212
b2e7817a0b
format
2022-04-08 10:02:59 +10:00
TheMas3212
9b53896732
slight change on how wrapping work based on discussion in #development
2022-04-08 09:57:16 +10:00
nickofolas
d728648bfa
Stats tweaks
2022-04-07 18:32:11 -05:00
nickofolas
c94b4f4fd3
Initial aug page overhaul work
2022-04-07 17:53:58 -05:00
nickofolas
a9a31662ce
Tweak style for stats page
2022-04-07 13:17:27 -05:00
nickofolas
3651a8d379
Add employers modal to stats page
2022-04-07 11:50:23 -05:00
nickofolas
57f04d3911
Fix prettier
2022-04-07 11:45:21 -05:00
nickofolas
ed8e1537d6
Initial overhaul work
2022-04-07 11:31:06 -05:00
nickofolas
78463ed1c0
Tweaks and improvements
2022-04-07 11:25:12 -05:00
Olivier Gagnon
dca1ceaf20
fix aug cost
2022-04-07 10:39:13 -04:00
phyzical
afa2210aa6
Merge branch 'dev' into bugfix/2843
2022-04-07 16:38:48 +08:00
phyzical
2b0c618222
fix build error with fix for augmentations not being static
2022-04-07 16:31:31 +08:00
phyzical
c70f59ac54
merge dev
2022-04-07 16:27:23 +08:00
phyzical
43248bbc42
merge dev
2022-04-07 16:25:33 +08:00
phyzical
a4e1b73b19
Merge branch 'dev' into bugfix/3348
...
# Conflicts:
# src/Faction/FactionInfo.tsx
# src/NetscriptFunctions/Singularity.ts
2022-04-07 16:17:28 +08:00
nickofolas
314e37430d
Add Augmentation unique to Grafting
2022-04-07 00:48:39 -05:00
Hedrauta
e286ee1de5
2 new Coding Contracts
...
also run format and lint on it this time 😉
2022-04-07 06:16:14 +02:00
TheMas3212
f0cfc8700a
run formater
2022-04-07 10:23:52 +10:00
TheMas3212
8c58f0676d
Improve Typesafety on API Wrapper
2022-04-07 10:23:52 +10:00
TheMas3212
40f74e4a98
add wrapped helpers to ctx
...
add ramcheck into wrapper
2022-04-07 10:23:52 +10:00
TheMas3212
ea2b444b87
Initial API Wrapper Work
...
onlying wrapping Stanek api currently as test sample
(Rebased onto upstream/dev)
2022-04-07 10:23:46 +10:00
hydroflame
b6d68f7353
Merge branch 'dev' into bugfix/fix-tests
2022-04-06 20:16:51 -04:00
Olivier Gagnon
4fc352a792
fix a few test
2022-04-06 20:12:54 -04:00
Olivier Gagnon
f05b533af5
fix a few test
2022-04-06 20:08:03 -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
hydroflame
ba6304fbd1
Merge pull request #3351 from phyzical/bugfix/augmentations-not-reseting-correctly
...
changes static arrays to functions to force new creation of augmentations when called
2022-04-06 15:03:45 -04:00
hydroflame
d8b2c003c2
Merge pull request #3307 from steven-r/fix-3281
...
Fix 3281 - ns.goToLocation is expecting the wrong minimum RAM
2022-04-05 20:03:42 -04:00
hydroflame
d683fa5eda
Merge pull request #3337 from phyzical/feature/3332
...
added apr1 terminal command
2022-04-05 20:02:26 -04:00
hydroflame
8e2f9a513b
Merge pull request #3335 from ApamNapat/eslint_warnings_fixes
...
Fixed eslint warnings for unused vars
2022-04-05 20:01:58 -04:00
hydroflame
4cdef2d898
Merge pull request #3349 from phyzical/bugfix/3347
...
add logic to block sleeve working for gang faction
2022-04-05 20:01:02 -04:00
Qiyi Shan
b9caddeeef
Fix workForFaction invalid worktype case
...
When invalid work type, the function should return false instead of true
2022-04-05 11:22:02 -04:00
phyzical
42276db351
add fix for augmentations not reseting
2022-04-04 19:50:01 +08:00
phyzical
4a5edb9f3c
changes static arrays to functions to force new creation when called
2022-04-04 19:44:25 +08:00
phyzical
2ee73cc8d6
missing space
2022-04-04 18:34:07 +08:00
phyzical
dfe9e98c77
move route to terminal to the inside of the common fucntion
...
* tested without bandaid still works correctly
* fix default script with installAugmentations
2022-04-04 18:29:43 +08:00
phyzical
8eccdf16e1
add logic to block working for gang faction
2022-04-04 18:10:21 +08:00
Heikki Aitakangas
a7d200f7c6
Strip trailing spaces
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
a6710eb3e5
No need to return WorkerScript from startNetscript*Script promises, their only calling function already has the correct object in a variable
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
cbd59975d4
makeRuntimeRejectMsg expects the 'msg' to be string-like
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
4fd55f099b
This should not reject with ScriptDeath, the script is not being killed. Just 'undefined' isn't great either so left a TODO about improving it
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
a578763b89
Use a dedicated ScriptDeath type to signal script termination instead of WorkerScript
...
Problem with throwing WorkerScript is that the termination signal object can pass
through user code, which permits user to modify that object and all parts of the
game state accessible through it.
2022-04-02 23:28:21 +03:00
Heikki Aitakangas
1ed1f78222
Fixed a wrong comment
2022-04-02 23:27:06 +03:00
phyzical
10fafd39f3
fix the amt issue for modal also
2022-04-02 20:17:30 +08:00
phyzical
a8689cb28b
Merge branch 'dev' into bugfix/corp-updates
2022-04-02 20:12:19 +08:00
phyzical
61fc815a6b
added apr1 terminal command
...
* just opens the rickroll modal
2022-04-02 20:08:57 +08:00
phyzical
0fbb8553e6
add fix for bulk buy when purchase amount exceeds warehouse size
...
* add logic to disable button when input is invalid
2022-04-02 19:38:26 +08:00