hydroflame
68e90b8e6e
Merge pull request #4236 from Snarling/typeFix
...
NETSCRIPT: Fix internal typechecking of functions
2022-10-12 23:50:22 -04:00
hydroflame
70fa66c3e8
Merge pull request #4237 from Jakob002/Jakob002-patch-2
...
MISC: message formatting
2022-10-12 23:46:53 -04:00
omuretsu
e192ad53ec
Actually format + lint
2022-10-12 10:18:56 -04:00
Jakob002
c2ed9067e0
MISC: message formatting
...
Replaced someArray.toString() with someArray.join(", "). This will return "foo, bar, baz" (with spaces) instead of "foo,bar,baz" (no spaces).
2022-10-12 15:16:10 +02:00
omuretsu
7a384d53f4
typefix netscriptFunctions (see desc)
...
* Types for InternalFunction and ExternalFunction have been modified to actually typecheck ns functions against docs.
* Internal functions are required to use unknown for any params on the inner function.
* Return types for internal function inner-function must match the respective external function.
* Added new typecheck assertion function for asserting dynamic object types, to allow unknownifying params that were previously hardcoded objec structures.
* Because type assertion for parameter types and return types is enforced by InternalAPI, removed all duplicate type declarations on NetscriptFunction params and returns.
2022-10-12 08:49:27 -04:00
Jakob002
fc50625dcf
Fixed typo in Literatures.ts
2022-10-12 08:47:03 +02:00
omuretsu
41b6f0b87b
add hoop before exposing
2022-10-11 21:02:04 -04:00
omuretsu
7d07f44b3e
move to global scope
2022-10-11 20:01:10 -04:00
omuretsu
84b99c569a
extra printRaw function
2022-10-11 16:07:45 -04:00
borisflagell
b3f2fe5e02
Update PlayerMultipliers.tsx
2022-10-11 19:22:06 +03:00
borisflagell
def2cb281b
Update AugmentationsPage.tsx
2022-10-11 19:03:58 +03:00
borisflagell
b2886ba623
Update NetscriptDefinitions.d.ts
2022-10-11 18:45:38 +03:00
borisflagell
6c625a5ca3
Update AugmentationsPage.tsx
2022-10-11 18:30:41 +03:00
borisflagell
5c1777a6d4
Update AugmentationsPage.tsx
...
Tooltip's text refining
2022-10-11 18:29:17 +03:00
borisflagell
125cd04383
Fix #3884
...
Fix #3884
2022-10-11 18:12:06 +03:00
borisflagell
bbe6421b06
Update Bladeburner.tsx
...
Prettier
2022-10-11 15:33:55 +03:00
borisflagell
f3becee15b
Fix Bladeburner Contract in Sleeve
2022-10-11 15:25:16 +03:00
Duck McSouls
b03288a700
DOC: ns.scan(): add 2 examples
...
The first example shows how to use `ns.scan()` without passing an argument. The second example uses `ns.scan()` by passing the hostname of a target server. Both examples can be written more succinctly by using the `forEach()` method of array, but for the purposes of illustration the `for` loop should be easier for beginners to read.
2022-10-11 18:48:47 +11:00
Olivier Gagnon
1d5d839cd9
allbuild commit 73bcf087
2022-10-11 01:07:40 -04:00
Olivier Gagnon
73bcf0870f
doc
2022-10-11 01:06:26 -04:00
hydroflame
1cf7b28ac8
Merge pull request #4225 from quacksouls/doc-sleeve-crime
...
DOC: `ns.sleeve.setToCommitCrime()`: add list of crimes a sleeve can commit
2022-10-11 00:58:58 -04:00
Duck McSouls
afe6a837c3
DOC: ns.sleeve.setToCommitCrime()
: add 1 example
...
An example on how to set a sleeve to commit a crime. The example shows that sleeves are indexed from 0.
2022-10-10 20:49:33 +11:00
Duck McSouls
c728c550f5
DOC: ns.sleeve.setToCommitCrime()
: add all crimes a sleeve can commit
...
Add a list of crimes that a sleeve can commit. Update the parameter documentation to refer to this list.
2022-10-10 13:18:00 +11:00
Duck McSouls
304b7645b0
DOC: ns.sleeve.setToCommitCrime()
: starting index of sleeves
...
Document the index of the first sleeve. Sleeves are indexed starting from zero, i.e. 0. Increment by 1 to get the index of the next sleeve. And so on.
2022-10-10 12:47:20 +11:00
Olivier Gagnon
7089122b3b
more ranbling
2022-10-09 19:55:46 -04:00
Olivier Gagnon
ce649379a2
rambling
2022-10-09 19:53:48 -04:00
Duck McSouls
67f5d60116
DOC: ns.scan()
: typo fixes
...
Some typographical fixes in the documentation of the function `ns.scan()`. The function returns an array, not a string.
2022-10-10 09:55:31 +11:00
Olivier Gagnon
f803355335
fix doc
2022-10-09 18:48:58 -04:00
hydroflame
f8d977f7f8
Merge pull request #4222 from danielyxie/alias
...
MISC: Make the main player object an alias, makes it easier to import
2022-10-09 18:46:20 -04:00
Olivier Gagnon
7a89c0a1bb
regen doc
2022-10-09 18:46:13 -04:00
Olivier Gagnon
cbb7f58231
Make the main player object an alias, makes it easier to import
2022-10-09 18:42:14 -04:00
Tim Hesse
7121b456f4
fix: nano does not open root script if cd'd into a dir
2022-10-09 14:49:18 +02:00
Olivier Gagnon
3c03ac4f18
fix fileExists not finding coding contrafcts
2022-10-09 02:57:43 -04:00
Olivier Gagnon
f4668b21ca
functions to generate dummy contracts
2022-10-09 02:56:11 -04:00
Olivier Gagnon
5d4b72e1d1
Added some purchased server functions
2022-10-09 02:32:13 -04:00
Olivier Gagnon
0fdf74ceeb
typo
2022-10-09 01:32:44 -04:00
Olivier Gagnon
f6f023eeb4
Fix tons of typos
2022-10-09 01:25:31 -04:00
hydroflame
f8a3a046de
Merge pull request #4156 from G4mingJon4s/contractFix
...
Coding Contract: Saving and reloading no longer generates extra coding contracts.
2022-10-09 00:31:42 -04:00
hydroflame
608ea0ba59
Merge pull request #4196 from connertennery/4125
...
INFILTRATION: Slash minigame fixed so attacking when the guard is preparing doesn't cause failure, fixed indicator when player has Might of Ares augmentation
2022-10-09 00:29:59 -04:00
hydroflame
87ad634859
Merge pull request #4201 from stalefishies/has-augmentation-fix
...
MISC: Fix bug in person.hasAugmentation
2022-10-09 00:27:05 -04:00
hydroflame
b0ba0b30b5
Merge pull request #4211 from fdellwing/patch-2
...
FACTION: Include BN multiplier in faction donation
2022-10-09 00:26:16 -04:00
hydroflame
0e26515c81
Merge pull request #4213 from borisflagell/SleeveZOE
...
STANEK: Reapply aug's multiplier to sleeve when applying Stanek gift to them
2022-10-09 00:25:52 -04:00
hydroflame
c930487c21
Merge pull request #4215 from borisflagell/crime-sleeve
...
SLEEVE: Fixes 2 issues in Sleeve's implementation of crime work
2022-10-09 00:25:13 -04:00
hydroflame
a5b2512269
Merge pull request #4205 from Snarling/ramTestFix
...
TESTS: Refined ram calculation tests
2022-10-09 00:23:04 -04:00
hydroflame
b4d6ead5d2
Merge pull request #4206 from quacksouls/doc-exec
...
DOC: `ns.exec()`: typo fixes and clean presentation
2022-10-09 00:22:54 -04:00
hydroflame
ed0a28d292
Merge pull request #4207 from quacksouls/doc-prettier
...
DOC: no trailing whitespace
2022-10-09 00:22:25 -04:00
hydroflame
0fda588735
Merge pull request #4212 from quacksouls/doc-gang
...
DOC: gang task: typo fix
2022-10-09 00:21:50 -04:00
borisflagell
6d86852969
FIX crime by sleeve
...
Bitnode multiplier was applied twice in th UI.
Sleeve's multiplier weren't applied (neither in UI, nor engine).
2022-10-08 17:19:20 +03:00
borisflagell
08b6c7a177
Fix #4195
...
Whenever StanekGift updated Sleeve's mult,
all mult were reset to default value (1.0 usually).
then stanek mult were merged.
but aug's mults never were.
=> Added a small loop to StanekGift updateMults() which reapply Aug's mult.
2022-10-08 15:28:51 +03:00
Duck McSouls
1d739f295c
DOC: gang task: typo fix
...
The current version `black mail` should be `blackmail` because the description is referring to the crime of blackmail.
2022-10-08 14:21:30 +11:00