Commit Graph

6801 Commits

Author SHA1 Message Date
hydroflame
1d3eb2ffb5
Merge pull request #4000 from MageKing17/patch-2
NETSCRIPT: Correct missing `!` for boolean coercion in `singularity.workForCompany()`.
2022-08-23 12:09:49 -03:00
hydroflame
ed76c5e15d
Merge pull request #4019 from MageKing17/patch-4
API: All the player sub-objects need to be copied for `getPlayer`.
2022-08-23 12:07:34 -03:00
hydroflame
01b5ba1be5
Merge pull request #4012 from MageKing17/patch-3
DOCS: Correct documentation for `run()` with 0 threads.
2022-08-23 12:07:19 -03:00
hydroflame
cc29de7969
Merge pull request #4002 from RollerKnobster/hotfix/3992-toast-handle-null-duration
NETSCRIPT: fix #3992 allow null duration in toast ns function
2022-08-23 12:06:56 -03:00
hydroflame
7269919aa9
Merge pull request #4023 from Snarling/companyWorkSingFix
WORK: Add singularity check for finishing company work
2022-08-23 12:05:44 -03:00
hydroflame
9eb6568519
Merge pull request #4007 from Snarling/stockCtx
NETSCRIPT: Normalized Stock API logging
2022-08-23 12:05:29 -03:00
Snarling
c626377904 Add singularity check for finishing company work 2022-08-22 20:16:45 -04:00
MageKing17
80aafc7d48
All the player sub-objects need to be copied.
Not just `mults`. Also, `hacking_chance_mult` still being at the base level appears to be a mistake.
2022-08-21 12:22:58 -07:00
MageKing17
0a4c64a8fa Correct documentation for run() with 0 threads.
For consistency, the same phrasing has been applied to the documentation for `exec()` and `spawn()`.
2022-08-20 18:47:37 -07:00
hydroflame
853e9c2e4f
Merge pull request #4008 from Mughur/working-on-it
DOCS: Some doc updates
2022-08-20 22:37:35 -03:00
Snarling
5466ab3f69 format+lint 2022-08-20 19:16:11 -04:00
Snarling
7578860ce7 remove more prop chaining 2022-08-20 19:14:54 -04:00
Snarling
0f15431b5f remove unused eventEmitterForUiReset 2022-08-20 19:08:05 -04:00
Snarling
97961d6896 Reduce prop chaining 2022-08-20 18:52:18 -04:00
Snarling
9d5cf89f68 Remove prop chain for cancelOrder + format 2022-08-20 18:40:21 -04:00
Mughur
12231b6ad3 Some doc updates 2022-08-20 12:03:47 +03:00
Snarling
2aca8476b6 cancelOrder Params
Why is this defined in so many places
2022-08-19 19:49:09 -04:00
Snarling
4001b4cbb0 refactor stock for ctx instead of workerScript 2022-08-19 19:32:30 -04:00
Roman Ivaniuk
5c0c130b4b 3992 Fix: handle null duration in toast ns function
extend SnackbarEvents typing to allow null in third argument
also remove typos in Electron.tsx init functions comments
2022-08-19 14:38:46 +03:00
MageKing17
28d7284323
Correct missing ! for boolean coercion.
`singularity.workForCompany()` was negating its `_focus` argument, unlike similar functions, which used double-negation to coerce to boolean. This was almost certainly a typo, since before PR-#3967 it used `_ctx.helper.boolean()` without negation, just like the other singularity functions.
2022-08-18 22:04:11 -07:00
MageKing17
1b8993a3dc
Replace "stock.short" with "stock.shortStock".
This was preventing `disableLog("ALL")` from stopping these log messages, since that's not the function's name now.
2022-08-18 13:29:21 -07:00
Olivier Gagnon
9c579e294a allbuild commit 3067703c 2022-08-18 13:41:58 -04:00
Olivier Gagnon
3067703c63 Trying to fix int bug 2022-08-18 13:40:39 -04:00
Olivier Gagnon
67994ba1bc allbuild commit a88f14cd 2022-08-18 12:37:35 -04:00
Olivier Gagnon
a88f14cd16 Fix broken ns filenames 2022-08-18 12:36:30 -04:00
Olivier Gagnon
f727335d1e allbuild commit a8bef50e 2022-08-17 14:34:00 -04:00
Olivier Gagnon
a8bef50ef5 Added a few formulas to calculate work gains 2022-08-17 14:32:52 -04:00
Olivier Gagnon
3217f53717 doc 2022-08-17 08:50:05 -04:00
Olivier Gagnon
ba5b0be7f4 allbuild commit 69934257 2022-08-16 12:15:11 -04:00
Olivier Gagnon
699342572c fix some save file not loading properly 2022-08-16 12:14:12 -04:00
Olivier Gagnon
5d3ed2e0c5 allbuild commit 07538d65 2022-08-16 12:01:42 -04:00
Olivier Gagnon
07538d6509 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-08-15 09:41:46 -04:00
Olivier Gagnon
10eff210e9 allbuild commit f78c0d6a 2022-08-15 09:39:33 -04:00
Olivier Gagnon
f78c0d6a6d Fix intelligence bugf 2022-08-15 09:38:10 -04:00
hydroflame
2abc5687e1
Merge pull request #3967 from Snarling/performance
NETSCRIPT: Improve real life CPU and memory performance of scripts.
2022-08-15 10:26:53 -03:00
Snarling
f1f7be6adc Remove unused types 2022-08-10 10:02:41 -04:00
Snarling
b433c366d7 performance update 2022-08-09 19:10:55 -04:00
Snarling
28d9c70796 format&lint 2022-08-09 19:04:05 -04:00
Snarling
c6cb4ca033 Type correctness 2022-08-09 19:02:33 -04:00
Snarling
ea7c2c4981 fixing other commits after rebase 2022-08-09 18:25:02 -04:00
Snarling
648b7e84bf Some cleanup 2022-08-09 18:09:26 -04:00
Snarling
931ea730a5 Move entire ns object to top-level 2022-08-09 18:09:26 -04:00
Snarling
589b9df2a7 remove console.logging from roughlyIs 2022-08-09 18:09:26 -04:00
Snarling
01e63b10a1 move ctx.log to NetscriptHelpers 2022-08-09 18:09:26 -04:00
Snarling
8f8d9a1d23 format+lint 2022-08-09 18:09:25 -04:00
Snarling
c18286b996 revert package-lock.json 2022-08-09 18:09:25 -04:00
Snarling
92abed613d Revert main bundle js map? 2022-08-09 18:09:25 -04:00
Snarling
c7ee92bd71 Revert change to tsworker? 2022-08-09 18:09:25 -04:00
Snarling
208495e269 Initial commit 2022-08-09 18:09:24 -04:00
Snarling
3a2e676c9b Move error functionality to new wrapper 2022-08-09 18:09:24 -04:00