Commit Graph

635 Commits

Author SHA1 Message Date
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
Undeemiss 707e643c7d Merge branch 'dev' of https://github.com/Undeemiss/bitburner into join-stanek-api 2022-04-19 13:38:14 -05:00
Undeemiss b3e83dd976 Added check for aug status to stanek.acceptGift
Added a check to stanek.acceptGift for aug status. It's not
particularly elegant, but I copied the checks from the ui. Also
changed the way CotMG status is checked to be more robust.
2022-04-19 13:33:07 -05:00
Undeemiss 46a90e6271 Added ns function stanek.acceptGift
Added a new ns function stanek.acceptGift to the game, with a ram
cost of 2gb. The function attempts to join the CotMG and install
the gift, then returns true iff the player is in the CotMG and has
the gift installed.
2022-04-19 12:08:38 -05:00
hydroflame 69feb790cb Merge pull request #3490 from DavidGrinberg/bugfix/3489
Singularity: Fix #3489 Disable checkTixApiAccess for purchase4SMarketData
2022-04-18 11:03:08 -04:00
David Grinberg d934bb88ad Disable checkTixApiAccess for purchase4SMarketData
This restriction doesn't apply on UI. It doesn't make sense to apply it to singularity api
2022-04-17 22:35:31 -04:00
TheMas3212 4cf0314766 Fix leak of real Employee object in hireEmployee 2022-04-17 05:16:42 +10:00
TheMas3212 7696f582eb replace a number of references to workerscript.log with _ctx.log that i
missed in Singularity.ts
2022-04-15 21:23:35 +10:00
phyzical 82610c0c44 Merge branch 'feature/add-infiltration-faction' into feature/refactor-augmentation 2022-04-15 14:26:00 +08:00