Commit Graph

269 Commits

Author SHA1 Message Date
TheMas3212 4cf0314766 Fix leak of real Employee object in hireEmployee 2022-04-17 05:16:42 +10:00
TheMas3212 7696f582eb replace a number of references to workerscript.log with _ctx.log that i
missed in Singularity.ts
2022-04-15 21:23:35 +10:00
hydroflame 6ce1bab5fe Merge pull request #3461 from Hoekstraa/3263
API: Add repFromDonation() to the Formula API
2022-04-14 18:26:38 -04:00
Olivier Gagnon 7685f52f8e fix import and make rainbow return the answer. 2022-04-14 15:23:49 -04:00
Zoë Hoekstra accb9f7e23 Add repFromDonation formula to the API 2022-04-14 20:01:31 +02:00
Olivier Gagnon 69c5e42e30 remove redundant naming scheme 2022-04-14 12:13:01 -04:00
TheMas3212 de3359dfad switch to checkEnum 2022-04-15 02:07:47 +10:00
TheMas3212 e07b92a408 fix 2993 sleeve.travel with invalid city names 2022-04-15 02:00:34 +10:00
hydroflame 18a6477342 Merge pull request #3456 from TheMas3212/fix/3395
fix #3395 donating to special factions possible via singularity
2022-04-14 11:51:40 -04:00
TheMas3212 89baba2e24 fix #3395 donating to special factions possible via singularity 2022-04-15 01:32:18 +10:00
TheMas3212 a0cab9a163 Fix inconsistancy with trying to work for gang factions while running a gang 2022-04-15 00:35:51 +10:00
Olivier Gagnon 62d15ff3a1 rm SourceFileFlags 2022-04-14 01:22:50 -04:00
Olivier Gagnon d8382ec762 Corp upgrades are now defined types 2022-04-14 00:21:33 -04:00
hydroflame 89f73d88d1 Merge pull request #3443 from TheMas3212/fix/singularity-sf4-checks
fix b1tflum3 and destroyW0r1dD43m0n singularity functions to check for sf4
2022-04-13 19:06:53 -04:00
TheMas3212 775d93b693 fix b1tflum3 and destroyW0r1dD43m0n singularity functions to check for
sf4, also refactored the file slightly for consistency to make sure the
sf4 check is the first thing every function does
2022-04-14 08:13:28 +10:00
Olivier Gagnon 88ae27e84d nerf investors fraud 2022-04-13 18:08:35 -04:00
Olivier Gagnon 9281cbe559 ns func to flume and destroy wd 2022-04-13 17:34:02 -04:00
hydroflame 244bb5737e Merge branch 'dev' into bugfix/corp-updates 2022-04-13 16:20:22 -04:00
Olivier Gagnon 3336a6ff61 added openDevMeny 2022-04-13 13:47:48 -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
nickofolas 51e5d38c7b Add grafting API function to get graftable augs 2022-04-13 09:43:27 -05:00
Jack 2f9ab67cd2 Merge branch 'dev' into bugfix/corp-updates 2022-04-13 16:35:18 +08:00
Olivier Gagnon f1a3fb7d3e fix buying programs and writing them at the same time. 2022-04-13 00:21:51 -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 2b4b59b371 fmy 2022-04-12 19:10:58 -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
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
hydroflame a17b81dff3 Merge pull request #2925 from Ornedan/necro-script-fix
Necro script fix
2022-04-11 21:36:07 -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
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 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
phyzical a66b5bfb69 fixes and pr comments 2022-04-11 21:54:50 +08:00
phyzical 909e5e964f add call to missing stock market init when using the api 2022-04-10 18:19:45 +08:00
Heinous Tugboat dd19d6451d Updates sleeve functions so names match 2022-04-09 18:40:01 -04:00
Olivier Gagnon 2b2af797a7 fmt and lint 2022-04-08 00:39:45 -04:00
Olivier Gagnon a2dddb0e5a Fix soft reset not installing augs anymore 2022-04-08 00:28:37 -04: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
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
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