Commit Graph

635 Commits

Author SHA1 Message Date
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
Staszek Welsh b9356ea782 Only switch employee jobs at the start of corp cycles 2022-06-01 18:11:33 +01:00
Staszek Welsh eb46e4d156 Rename getDividends to getCycleDividends for clarity 2022-06-01 12:59:45 +01:00
Undeemiss 6ba171b0c3 Unknown-ify count parameters 2022-05-31 21:27:04 -05:00
Undeemiss f0dc532513 Add optional count parameter to hashCost and spendHashes 2022-05-31 21:13:03 -05:00
Staszek Welsh 4a3558098c Fix error check in issueDividends expecting 0-100 when it actually takes 0-1 2022-05-30 22:31:51 +01:00
Staszek Welsh c117b55df9 Expose dividend info through ns.corporation.getCorporation() 2022-05-30 22:21:27 +01:00
Ansopedian d319b3f982 added singularity.goToLocation support for non-city-specific locations 2022-05-30 14:23:06 +02:00
Undeemiss 06acc423ae Added count to NS cost function, input checking, fixed documentation
Also changed upgradeSkill back to returning a bool instead of a
number.
2022-05-29 11:13:49 -05:00
Undeemiss f8f3c099e0 Formatted/linted (There are some errors, but they aren't mine afaik) 2022-05-28 21:35:20 -05:00
Undeemiss 908d5e9570 Proof-of-concept, handling purchases of 1e150 lvls at once
Threw something together with a formula that should, for large
purchases, be roughly the same cost as normal. The formula change
may cause noticeable deviation from expected costs for low numbers
of upgrades, though, so I plan to fix that by having high
quantities handled differently than low ones if necessary.
2022-05-28 20:37:33 -05:00
Undeemiss 709fc3ab63 Began attempting to implement a multi-upgrade function for bb 2022-05-28 14:12:07 -05:00
borisflagell c5b68610a1 fix typo in thrown error message 2022-05-27 17:59:37 +02:00
Olivier Gagnon 6a2e5b06ad fix manualHack 2022-05-25 20:19:42 -04:00
T.J. Eckman cfb0967634 Unassigned Employees Boost
Speed up assigning of employees currently without a job.
2022-05-25 18:55:34 -04:00
Olivier Gagnon 76ccb0ba36 lint 2022-05-25 11:43:43 -04:00
Olivier Gagnon 4dd7afac9d allbuild commit 252b0a30 2022-05-25 11:10:25 -04:00
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 0abd760d35 API FIX:#3732 Cannot assign two sleeve on "Take on contracts" regardless of contract type.
ns.sleeve.setToBladeburnerAction() was not testing the contract value.
2022-05-24 15:38:05 +02:00
borisflagell ff75097149 API: Fix #3661 Add missing memory property to Sleeve API
fixes #3661

Add the missing memory stat to NS.SleeveSkills Interface.
Update ns.Sleeve.GetSleeveStats accordingly.
(fixing commit issue)
2022-05-24 15:09:22 +02: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