phyzical
4175960fc6
use bitnode multiplers in the output of crime stats
2022-09-20 17:56:05 +08:00
Mughur
4c5adc8dfb
More hasAugmentation fixes
2022-09-14 21:21:49 +03:00
Kelenius
5350e1c3e9
Unhardcoded BN8 BB check; show if corp/BB are disabled in BN stats
2022-09-12 17:48:52 +03:00
phyzical
ca2f1a62a5
add singularity function for exporting game save
2022-09-07 16:11:51 +08:00
Rasmoh
cc0fd197c5
Expose exports from Material
2022-09-05 17:25:32 -07:00
phyzical
2a8ddb8147
fix up param order to match docs
...
hotfix/4058
File List:
src/NetscriptFunctions/Corporation.ts
2022-09-02 11:58:12 +08:00
Mughur
c467a49a38
corp functions now return copy instead of original
2022-08-31 12:05:36 +03:00
Olivier Gagnon
c9a0998cc1
Improve wrong arg user message and add ui.windowSize
2022-08-29 18:07:17 -04:00
hydroflame
a0475cc630
Merge pull request #4049 from MPJ-K/dev
...
NETSCRIPT: FIX #3963 Prevent bladeburner.setActionLevel from setting invalid action levels
2022-08-29 11:20:28 -03:00
hydroflame
c2796e164a
Merge pull request #4052 from Snarling/ns1wrapper
...
NETSCRIPT: FIX #4037 ns1 wraps deeper layers correctly.
2022-08-29 11:14:32 -03:00
Florian Schöffl
282dc28c8d
INFILTRATION: Corrected ns formula for infiltration rewards
...
In commit
7c5097ee83d9e2d185960a9c96739a78981bd600 the author extracted the functionality for infiltration rewards into a NS function and made it accessible via formulas.
The exposed function does however not use the same input parameters as the Victory screen after infiltration since he uses the difficulty and not the starting difficulty.
Difficulty is clamped to [0;3], so the formulas api showed for high difficulty servers a vastly lower result.
2022-08-29 02:35:39 +02:00
Snarling
ef1f376c09
format, lint, remove unused "running" property on ws
2022-08-27 22:32:48 -04:00
Snarling
6f36e9cdc5
Fix/Unify NS1 wrapper
2022-08-27 20:56:12 -04:00
MPJ / Quadryo
197081dd3e
Fix #3963
...
Adds a previously missing `throw` to allow `bladeburner.setActionLevel()` to properly produce errors and prevent invalid action levels from being set.
2022-08-26 20:59:26 +02:00
hydroflame
2463fc2012
Merge pull request #4028 from Snarling/scpAndWriteDocFix
...
NETSCRIPT: Update netscript definition file for scp, write, read, and flags
2022-08-25 16:37:07 -03:00
Snarling
650db2dee7
Add type fix for flags
2022-08-24 19:09:18 -04:00
Alain Bryden
359def2b61
Don't stringify answer if already a string
2022-08-24 11:09:35 -03:00
Snarling
445e365959
debounce updateRAM
2022-08-23 16:38:30 -04:00
Olivier Gagnon
89aa23f4b3
Add dummy function to generate a mock server or player for formulas stuff
2022-08-23 16:01:34 -04:00
Olivier Gagnon
7cb48f4612
fix compile error
2022-08-23 12:04:09 -04:00
hydroflame
fe3e34408d
Merge branch 'dev' into dev
2022-08-23 13:01:13 -03:00
hydroflame
486ab7aad8
Merge branch 'dev' into contractFix
2022-08-23 12:44:21 -03:00
hydroflame
6969ff52c7
Merge pull request #4010 from Risenafis/fix-create-corp
...
NETSCRIPT: Correct missing ! for boolean coercion in Corporation.createCorporation().
2022-08-23 12:10:49 -03:00
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
Risenafis
b224321222
fix selfFund was reversed
2022-08-20 23:37:39 +09:00
Snarling
4001b4cbb0
refactor stock for ctx instead of workerScript
2022-08-19 19:32:30 -04: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
Olivier Gagnon
a8bef50ef5
Added a few formulas to calculate work gains
2022-08-17 14:32:52 -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
01e63b10a1
move ctx.log to NetscriptHelpers
2022-08-09 18:09:26 -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
Snarling
47d51391e3
fix typechecking and documentation for attempt
2022-08-02 11:30:28 -04:00
Snarling
b700b0246b
Fix contract input handling
2022-08-02 11:11:49 -04:00
Mughur
a88f36e2f4
add corp get functions, fix coffee hover text
2022-07-30 18:57:33 +03:00
Olivier Gagnon
07c7f0641a
allbuild commit c8440ef2
2022-07-28 14:35:55 -04:00
Olivier Gagnon
3b35b07860
remove unused fields on sleeves
2022-07-28 03:08:39 -04:00
Olivier Gagnon
4549b0d467
finish sleeve rework
2022-07-28 02:46:34 -04:00
Olivier Gagnon
32bd629317
lint
2022-07-27 00:08:07 -04:00
Olivier Gagnon
326d9fd7ef
Move player skills and exp to their struct
2022-07-26 23:54:17 -04:00
Olivier Gagnon
3e4f26ac0a
allbuild commit e6d14eff
2022-07-26 15:30:12 -04:00
Olivier Gagnon
18c3572423
removed the ability to bribe for shares
2022-07-26 08:20:22 -04:00
Aerophia
7c8c94d808
Add files via upload
2022-07-22 12:32:10 -05:00
Aerophia
c2ffb09514
Update Singularity.ts
2022-07-22 12:28:51 -05:00
Aerophia
1f918011dc
Update Singularity.ts
2022-07-22 12:16:48 -05:00
Aerophia
2ad978d8f4
Create Singularity.ts
2022-07-22 12:09:36 -05:00
Aerophia
dad4fcc25e
Update Singularity.ts
2022-07-22 12:09:01 -05:00
Aerophia
2907128291
Update Singularity.ts
2022-07-22 12:07:23 -05:00
Aerophia
757711ce5b
Update Singularity.ts
2022-07-22 10:29:40 -05:00
Olivier Gagnon
7f20dc2ee8
fix getPossibleInfiltrations not returning enough info and fix donation saying Invalid input before unlocking
2022-07-21 15:32:54 -04:00
Olivier Gagnon
2d522ea1e6
allbuild commit e9254edf
2022-07-21 15:09:55 -04:00
Olivier Gagnon
6498a720bb
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-07-21 02:42:52 -04:00
Olivier Gagnon
693baf26df
add sleeve aug price and rep function
2022-07-21 02:42:48 -04:00
hydroflame
68ecc9613c
Merge pull request #3739 from borisflagell/FIX#3732-v2
...
API: FIX#3732 Cannot assign two sleeve on "Take on contracts" regardless of contract type.
2022-07-21 02:31:12 -04:00
hydroflame
2fd3451780
Merge pull request #3724 from borisflagell/FIX#3661
...
API: Fix #3661 Add missing memory property to Sleeve API
2022-07-21 02:26:55 -04:00
hydroflame
a513a842e3
Merge pull request #3797 from Ansopedian/dev
...
BUGFIX: Singularity.goToLocation support for non-city-specific locations
2022-07-21 02:14:42 -04:00
Olivier Gagnon
43b8cfec5c
fix test suite
2022-07-21 02:13:47 -04:00
hydroflame
0d95533470
Merge pull request #3810 from Undeemiss/multi-hash-sell
...
BLADEBURNER: Add batch functionality to NS spendHashes API
2022-07-21 01:39:02 -04:00
Olivier Gagnon
ec17cfdaf3
merge corp not async
2022-07-20 17:27:11 -04:00
Olivier Gagnon
ef42ee7232
few more api break
2022-07-20 17:03:08 -04:00
Staszek Welsh
75a9151e74
Merge branch 'dev' into corp-remove-async
2022-07-20 21:12:27 +01:00
hydroflame
17c2f06ae0
Merge pull request #3802 from stalefishies/corp-dividends
...
CORPORATION: (BREAKING) Dividend fixes and exposing dividends info via scripts
2022-07-20 15:08:41 -04:00
Olivier Gagnon
c9b9c2c55b
merge dev
2022-07-20 12:16:42 -04:00
Olivier Gagnon
8312710b0d
fix contracts
2022-07-20 11:50:26 -04:00
Olivier Gagnon
4518eabc29
Remove some any and add getAugmentationBasePrice
2022-07-20 01:20:11 -04:00
Olivier Gagnon
71d8e35bb5
more anys
2022-07-19 23:26:21 -04:00
Olivier Gagnon
f220965a73
more anys
2022-07-19 22:54:38 -04:00
Olivier Gagnon
83c26903c0
add argument for commitCrime focus
2022-07-19 22:30:07 -04:00
Olivier Gagnon
0848d2fdaa
fix 2 any
2022-07-19 19:08:22 -04:00
Olivier Gagnon
70d5390e4d
most anys in NetFunc
2022-07-19 19:04:06 -04:00
Olivier Gagnon
c3a10d5d95
fix more anys
2022-07-19 18:25:06 -04:00
Olivier Gagnon
2442402af5
fix more anys
2022-07-19 16:46:03 -04:00
Olivier Gagnon
bb8af88b77
prep v2
2022-07-19 14:21:12 -04:00
Olivier Gagnon
c977a9def7
tidy up eslint.js
2022-07-19 12:19:32 -04:00
Olivier Gagnon
a9d5ff9bc9
lint
2022-07-18 03:31:17 -04:00
Olivier Gagnon
91ca43707a
fix any in INetscriptHelper
2022-07-18 03:01:55 -04:00
Olivier Gagnon
5f229c9c67
yet another any
2022-07-18 02:33:21 -04:00
Olivier Gagnon
97105b8e76
rm another any
2022-07-18 02:31:09 -04:00
Olivier Gagnon
1b90b42881
rm more any
2022-07-18 02:28:21 -04:00
hydroflame
c5518d9d02
Merge pull request #3910 from faangbait/patch-1
...
fix for #3909
2022-07-16 17:23:07 -04:00
hydroflame
f339e49aa7
Merge pull request #3787 from Undeemiss/bladeburner-multi-upgrade
...
BLADEBURNER: Added bulk upgrades to upgradeSkill NS API
2022-07-15 23:40:55 -04:00
faangbait
3b59f07f88
fix for #3909
...
#3909
I can't compile electron right now, but I think this ought to fix it.
2022-07-15 10:20:30 -05:00
Olivier Gagnon
1d4d86719e
rm any
2022-07-15 01:58:00 -04:00
Olivier Gagnon
4bee746576
rm any
2022-07-15 01:51:30 -04:00
Olivier Gagnon
86c0913bd3
rm some any
2022-07-14 23:03:54 -04:00
Olivier Gagnon
5629c16def
extract multipliers in its own type
2022-07-14 18:43:33 -04:00
Olivier Gagnon
0550bc188c
refactor some stuff
2022-07-14 17:43:08 -04:00
Olivier Gagnon
fac6633347
remove so many fields and values used by the old system
2022-07-12 23:13:40 -04:00
Olivier Gagnon
f7805c4a51
convert faction work to new work system
2022-07-12 01:54:19 -04:00
Olivier Gagnon
606f1bf6c4
create program and grafting done
2022-07-10 01:37:36 -04:00
Olivier Gagnon
647392626e
convert taking class ot new work system
2022-07-07 17:28:23 -04:00
Olivier Gagnon
24b6eb4d56
make workinprogress crime 2 digit precision
2022-07-07 02:03:02 -04:00
Staszek Welsh
395b583905
Add faction membership check to singularity.purchaseAugmentation
2022-07-04 23:44:58 +01:00
Staszek Welsh
02b07bb332
Fix relevant linter errors and run formatter
2022-06-02 22:54:50 +01:00
Staszek Welsh
ba7b76369b
Remove industry upgrades
...
There are only two industry upgrades, one of which is buying coffee
which is not an upgrade, and for the office not the industry. Moving
that to the office leaves just hiring AdVerts, which is better as an
explicitly named set of methods.
2022-06-02 02:43:22 +01:00
Staszek Welsh
04efd899a0
Remove async from buyCoffee and throwParty
2022-06-01 23:36:15 +01:00
Staszek Welsh
ffaa38d086
Unify code paths for buying coffee and throwing parties
2022-06-01 23:26:32 +01:00
Staszek Welsh
7d3a43f7b5
Remove async from employee assignment functions
2022-06-01 18:18:53 +01:00