Olivier Gagnon
972abcbdc8
Wrap all the API
2022-05-24 20:16:39 -04:00
Olivier Gagnon
ae38b11ede
made static ram cost typecheck that it's missing no property.
2022-05-24 18:34:00 -04:00
Olivier Gagnon
0da2e74d12
more work on wrapping formulas
2022-05-24 17:51:48 -04:00
Olivier Gagnon
324f752d8a
Wrap formulas but doesn't compile
2022-05-24 17:29:44 -04:00
borisflagell
051393fac9
API: FIX#2884 Add the missing className property to Sleeve'sAPI
...
fixes #2884 .
2022-05-23 19:20:33 +02:00
borisflagell
d44d71712f
Prettier
2022-05-22 06:40:32 +02:00
borisflagell
8e0af049d9
BLADEBURNER: FIX #3508 Add GetActionCurrentTime() to Bitburner API
...
Add GetActionCurrentTime() to Bitburner API.
Slightly tweak BItburner.resetAction() to also reset time counters.
2022-05-22 06:40:08 +02:00
Olivier Gagnon
0d437e5b73
lint
2022-05-20 18:20:04 -04:00
Olivier Gagnon
42dcbf889e
fix typo
2022-05-20 17:28:21 -04:00
Olivier Gagnon
7eb4494ac1
fix mc
2022-05-20 15:58:33 -04:00
Olivier Gagnon
c2b4a5b52a
Update codebase for stanek
2022-05-19 02:48:50 -04:00
Olivier Gagnon
ca1a2aad33
fix conflicts
2022-05-19 01:43:54 -04:00
hydroflame
2cb02bf445
Merge pull request #3660 from Undeemiss/stanek-error
...
STANEK: Stanek NS functions correctly throw errors when stanek not installed
2022-05-19 01:40:48 -04:00
hydroflame
b80e2d5fd1
Merge branch 'dev' into wrap-api
2022-05-19 01:37:06 -04:00
Undeemiss
58be301d06
Fixed broken stanek error
2022-05-15 20:06:52 -05:00
hydroflame
e3a0ae0407
Merge pull request #3617 from phyzical/hotfix/fix-augmentation-costs-rsponse
...
BUGFIX: getAugmentationCost response backwards
2022-05-13 11:07:48 -04:00
hydroflame
88b7b141f7
Merge pull request #3618 from Hoekstraa/clearTerminal
...
API: Terminal screen can now be cleared from within scripts with ns.ui.clearTerminal()
2022-05-13 11:07:25 -04:00
hydroflame
386dac4be2
Merge pull request #3619 from Snarling/usedRamFix
...
MISC: FIX #3593 Float errors can no longer prevent full usage of a server's available ram.
2022-05-13 11:06:49 -04:00
hydroflame
09c0e00b02
Merge pull request #3637 from Undeemiss/stanek-booster-charge-fix
...
STANEK: Fix #3196 Charging booster fragments throws an error
2022-05-13 11:05:42 -04:00
Undeemiss
b00301f4e1
Renamed BN mult CorporationSoftCap to CorporationSoftcap
...
Replaced all instances of "CorporationSoftCap" in src/ with
"CorporationSoftcap". If files outside of src/ must be changed, I
do not know what those would be.
2022-05-09 14:45:19 -05:00
Undeemiss
8a68633d9c
Throw an error when trying to charge stanek booster fragments
2022-05-09 14:29:42 -05:00
Olivier Gagnon
c6806caca2
Wrap most of the API
2022-05-07 19:08:07 -04:00
rderfler
77073836cb
Merge remote-tracking branch 'upstream/dev' into dev
2022-05-06 22:44:24 -04:00
Snarling
99a0337a14
Dirty fix for available ram float errors
...
1MB added to available ram when checking if available is sufficient. All actual ram values in game are a multiple of 50MB so an extra 1MB can't ever allow additional script load to be ran.
2022-05-06 08:56:19 -04:00
Zoë Hoekstra
65889079b6
Add log entry when ui.clearTerminal() is ran
2022-05-06 12:41:02 +02:00
Zoë Hoekstra
472c9778df
Add ns.ui.clearTerminal for 0.2 GB
2022-05-06 12:29:21 +02:00
phyzical
10c67ab363
refactor resulted in it being backwards
2022-05-06 16:35:07 +08:00
nickofolas
f45200b25e
Implement ClassType
and FactionWorkType
enums
2022-05-04 14:18:12 -05:00
nickofolas
4a8e99b170
Refactor WorkType
to an enum
2022-05-04 13:42:48 -05:00
hydroflame
44641fee07
Merge pull request #3544 from phyzical/feature/refactor-augmentation
...
REFACTOR: augmentation cost, rep cost and level to be calculated in place
2022-05-04 12:08:24 -04:00
hydroflame
105ced26bf
Merge pull request #3570 from DavidGrinberg/dev
...
CORPORATIONS: Expose makeProducts on NSDivision interface
2022-05-04 12:01:33 -04:00
hydroflame
b0c9475b57
Merge pull request #3574 from DavidGrinberg/expose-material-sell-cost
...
CORPORATIONS: Expose sales cost on NSMaterial interface
2022-05-04 11:58:12 -04:00
hydroflame
bffa166fc3
Merge pull request #3577 from phyzical/feature/WEB-3567
...
FEATURE: added logic to allow quitJob to be called from singularity
2022-05-04 11:57:39 -04:00
rderfler
7cf21629a7
Address review
...
Add ns function setToBladeburnerAction
Formatting updates
fix sleeves using player stamina
Correct supporting sleeve causing error
2022-04-30 15:25:36 -04:00
phyzical
facab1d264
make bonustime for gang in miliseconds
2022-04-28 19:20:53 +08:00
phyzical
711955c112
added logic to allow quitJob to be called from singularity
2022-04-28 19:05:56 +08:00
David Grinberg
b2abec7424
Expose sales cost on NSMaterial interface
2022-04-27 22:37:19 -04:00
DavidGrinberg
828629b713
Update src/NetscriptFunctions/Corporation.ts
...
Co-authored-by: Jack <phyzicaly@hotmail.com>
2022-04-27 09:37:02 -04:00
David Grinberg
d7ac7f8399
Expose makeProducts on NSDivision interface
2022-04-27 00:55:15 -04:00
phyzical
a7a725de22
merge dev
2022-04-26 20:58:39 +08:00
rderfler
e381e857a5
Merge remote-tracking branch 'upstream/dev' into dev
2022-04-25 13:32:38 -04:00
hydroflame
8e222fd58e
Merge pull request #3539 from nickofolas/fix/ns-aug-graft-time
...
API: Fix inconsistent return value in `ns.grafting.getAugmentationGraftTime`
2022-04-25 11:27:09 -04:00
phyzical
00bb387036
few regressions from hydros changes
2022-04-23 10:34:41 +08:00
phyzical
cdfbda1379
merge dev
2022-04-23 10:26:51 +08:00
Olivier Gagnon
bc890c31c5
lint
2022-04-22 17:20:01 -04:00
Olivier Gagnon
f6e5f719d1
infiltration API fixes.
2022-04-22 17:12:14 -04:00
Olivier Gagnon
9fdfb77dd4
Update infiltrators
2022-04-22 15:30:49 -04:00
nickofolas
8b34d2776a
Implement standardized grafting time calcs
2022-04-21 21:48:18 -05:00
phyzical
8e1300d69d
Merge branch 'dev' into feature/add-infiltration-faction
...
# Conflicts:
# src/Netscript/RamCostGenerator.ts
2022-04-20 20:10:05 +08:00
Undeemiss
6d55bfe795
Removed redundant check for whether the player is in CotMG
2022-04-19 13:39:56 -05:00