Commit Graph

456 Commits

Author SHA1 Message Date
Mughur d4c06eba24 Change corporatio valuation calculations 2022-09-23 05:05:18 +03:00
phyzical 4175960fc6 use bitnode multiplers in the output of crime stats 2022-09-20 17:56:05 +08: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 
7c5097ee83 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