Commit Graph

348 Commits

Author SHA1 Message Date
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 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
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 48f80f25d6 fmt and lint 2022-04-06 19:30:08 -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 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 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
phyzical a8689cb28b Merge branch 'dev' into bugfix/corp-updates 2022-04-02 20:12:19 +08:00
BB c495d39e6b Fixed type of makeRuntimeErrorMsg in INetscriptHelper 2022-04-02 00:30:12 +02:00
phyzical b73570e2f7 added the ability to mass upgrade warehouse 2022-04-01 23:19:08 +08:00
phyzical e5bb695f6f expose material cost
closes #3173
2022-04-01 22:32:48 +08:00
phyzical 13c486d639 added logic to support material production limit
* added ns functions for limit production and limit material
closes #3180
2022-04-01 22:28:48 +08:00
phyzical 2efa3ac351 dissalow corporations when multiplier is below 0.15
closes #3003
2022-04-01 21:05:01 +08:00
Steven Malis e572c6e139 Add unassigned and training. 2022-04-01 01:44:53 -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 a5f63e5932 fixed trailing spaces 2022-03-31 15:38:35 -04:00
PSEUDOSTAGE a0333d36a5 Add calculateFavorToRep and calculateRepToFavor to Formulas.exe
The favorToRep and repToFavor formulas are displayed 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 as new functions.
2022-03-31 15:27:02 -04:00
Olivier Gagnon d04e05eac8 allbuild commit 5d36336d 2022-03-31 10:52:24 -04:00
phyzical 2edfb6e35d merge base 2022-03-31 22:36:47 +08:00
phyzical 18af3f8413 moved updateRam to first call to avoid lack of mocks for tests
* added wrapper funcs to simplify updateRam
* added static parser tests and skiped what isnt worker still for next person to try and fix
2022-03-31 21:41:19 +08:00
nickofolas a80693dab2 Merge branch 'dev' into fix/grafting-pre-reqs 2022-03-30 21:12:44 -04:00
Jack e11819f0fd Merge branch 'dev' into feature/add-infiltration-faction 2022-03-31 08:09:00 +08:00
nickofolas 73af73fdb4 Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/filter-helper-func 2022-03-30 14:35:27 -04:00
Olivier Gagnon 98ae97afea Validate city name coming from netscript 2022-03-30 11:34:03 -04:00
phyzical be24562d34 merge dev 2022-03-30 19:11:34 +08:00