Commit Graph

724 Commits

Author SHA1 Message Date
catloversg 36e1adf2d2 API: Standardize "nextCompletion" promise in tasks (#2687) 2026-04-27 23:49:53 -07:00
catloversg a99109d9c7 BUGFIX: Follow-up to #2660 (#2666) 2026-04-19 12:06:54 -07:00
catloversg c06c6590c9 BUGFIX: calculateExp throws errors in edge cases (#2667) 2026-04-17 00:57:50 -07:00
catloversg 956e00f789 BUGFIX: Intelligence data is incorrectly migrated when Intelligence is not unlocked (#2660) 2026-04-14 15:20:01 -07:00
catloversg d25b1676ab MISC: Apply SF override to charisma calculations (#2642) 2026-04-09 17:25:51 -07:00
Michael Ficocelli 3e44f08a0f CCT: Generate more frequent and lower-reward coding contracts (#2603) 2026-03-31 13:28:39 -07:00
Michael Ficocelli 1b6b07faae DNET: Player feedback (#2545) 2026-03-19 21:07:43 -07:00
catloversg 3813d03fb6 MISC: Rework intelligence override (#2575) 2026-03-19 20:09:37 -07:00
catloversg f916daf252 MISC: Rework faction rumor (#2569) 2026-03-16 11:49:46 -07:00
catloversg e329082a48 API: Cancel sleeve's current task when calling ns.sleeve.travel() (#2559) 2026-03-07 12:10:20 -08:00
catloversg 638c791047 MISC: Change how coding contract rewards are randomized (#2490) 2026-02-11 10:34:59 -08:00
catloversg 796bef81b3 BUGFIX: Sleeves can earn exp and purchase augmentations when enabling disableSleeveExpAndAugmentation (#2467) 2026-02-05 04:47:24 -08:00
Michael Ficocelli 6073964768 DARKNET: Darkweb Expansion Project & Bitnode (#2139)
This is BN15. It is a really big change; see the PR for all the details.
2026-02-03 03:40:36 -08:00
TheAimMan 210c338f86 SLEEVES: Add sleeve commands to purchase sleeves and memory via the API (#2443) 2026-01-20 12:55:51 -08:00
David Walker 3d7d2d7734 REFACTOR: Move Result to the public API (#2398)
* REFACTOR: Move Result to the public API

This refactors Result<T> to be part of the public NetscriptDefinitions.
It is not used by anything in this PR, but it is planned to be used in
the autoinfil APIs, or lacking that, future APIs, so this should not be
exposing anything prematurely.

* Add @public as api-extractor suggested and generate docs

* Use import type

---------

Co-authored-by: CatLover <152669316+catloversg@users.noreply.github.com>
2026-01-17 14:30:49 +07:00
catloversg 329fdc50fb CODEBASE: Follow-up of infil refactor #2316 (#2393) 2025-11-22 23:08:15 -08:00
David Walker 4d230c3121 REFACTOR: Rewrite infiltration to pull state out of React (#2316)
* REFACTOR: Rewrite infiltration to pull state out of React

Upcoming projects (auto-infil, the possibility of making infil a work
task, etc.) require infiltration state to transition with predictable
timing and be under our control, instead of inside React. This refactor
accomplishes this by pulling the state out into accompanying model
classes.

After this, infiltration can theoretically run headless (without UI),
although it doesn't actually, and you would quickly be
hospitalized due to failing all the minigames.

There should be no user-visible changes, aside from the progress-bars
scrolling much more smoothly.

* Fix console warning in InfiltrationRoot

It turns out true isn't actually a safe value to use in JSX, only false works.

* Fix up some comments
2025-11-16 22:55:06 -08:00
David Walker d4cb50fbf1 BUGFIX: Fix calculateExp so that it won't return a too small result (#2274)
* BUGFIX: Fix calculateExp so that it won't return a too small result

Due to floating point rounding issues, when applying the inverse
operation and flooring, roughly half the time we would get the next
lower skill level. This quickly finds a slightly higher result that
gives the correct inverse.

* clearer test layout
2025-07-31 12:54:31 -07:00
catloversg 90555a64e6 MISC: Add achievements for BN14 (#2140) 2025-05-20 14:32:13 -07:00
catloversg 24b31975e7 MISC: Remove fuzzy matching when checking params (#2091) 2025-05-18 16:08:19 -07:00
catloversg b2093a2419 MISC: Clarify conditions of activating Gang, Bladeburner, Stanek's Gift (#2053) 2025-03-31 13:37:35 -07:00
catloversg c251a23a0e BUGFIX: Cannot buy augmentations via UI when money is equal to cost (#2039) 2025-03-20 15:50:35 -07:00
catloversg e8f9882e2d MISC: Disable effect of SF7.3 and SF10 if player disables them with advanced options (#2019)
* MISC: Disable effect of SF7.3 and SF10 if player disables them with advanced options

* Update based on feedback
2025-03-17 16:04:36 -07:00
David Walker 8cdafdc7b9 CODEBASE: Refactor duplicate code in updateSkillLevels (#1988) 2025-03-04 01:45:06 -08:00
G4mingJon4s b61e93b246 CODINGCONTRACT: Move internals to a separate folder (#1932) 2025-02-11 22:04:23 -08:00
catloversg de6b202341 CODEBASE: Refactor Player.applyForJob (#1947) 2025-02-02 09:29:18 -08:00
Sphyxis 97d248419d BB: Allow API Usage in BN 6 without 7 - Grants Augment for BN 7 completion (#1926) 2025-01-25 09:12:51 -08:00
catloversg 9bf408221c CODEBASE: Merge TypeAssertion files (#1922) 2025-01-24 11:06:39 -08:00
catloversg c37cdc76a4 CODEBASE: Minor change in TaskSelector of Sleeve (follow-up of #1807) (#1906) 2025-01-09 00:23:17 -08:00
catloversg 320c852386 BUGFIX: Sleeves UI shows and sets wrong task (#1807) 2025-01-08 19:06:00 -08:00
catloversg 1cb2a83b4f UI: Share RAM to boost reputation gain (#1862) 2025-01-07 22:35:29 -08:00
catloversg a8bde3e14f UI: Change "overclock" to another phrase in Sleeves tab (#1901) 2025-01-07 21:13:47 -08:00
catloversg f07c442a92 CODEBASE: Fix React warning of missing keys in CovenantPurchasesRoot.tsx (#1824) 2024-12-12 02:55:28 -08:00
catloversg 0caeb5c5ca DOCUMENTATION: Clarify prerequisites of augmentations when grafting (#1814) 2024-11-30 15:46:04 -08:00
catloversg 88322a23a7 BUGFIX: Cannot load Bladeburner tasks of Sleeves from pre-v2.6.1 (#1800) 2024-11-27 01:23:20 -08:00
catloversg 05da0efc81 REFACTOR: Mitigate cyclic dependency between Jsonable classes (#1792) 2024-11-23 15:53:31 -08:00
catloversg 75cf9c88b5 CODEBASE: Fix lint errors 3 (#1758)
This is a really big refactor because it actually *fixes* a lot of the lint errors instead of disabling them.
2024-11-14 08:18:57 -08:00
catloversg 36c143b687 CODEBASE: Fix lint errors 2 (#1756) 2024-11-06 23:09:11 -08:00
catloversg 772762493f BLADEBURNER: Change sleeveSize from property to getter (#1746) 2024-11-03 23:19:01 -08:00
catloversg b388865317 UI: Fix typo in CovenantPurchasesRoot.tsx (#1740) 2024-11-03 22:38:19 -08:00
catloversg f6502dd490 CODEBASE: Fix lint errors 1 (#1732) 2024-11-03 22:35:14 -08:00
Denis Čahuk b86044bcc1 BLADEBURNER: Move bladeburner team losses to Casualties (#1654) 2024-09-23 17:03:01 -07:00
Denis Čahuk cde5e3f6ae MISC: Refactor BLADEBURNER Identifier Lookup (#1646) 2024-09-14 17:39:18 -07:00
catloversg cacecda72f API: Add types for parameters of gym-university-bladeburner API (Fix merging error) (#1596)
* API: Add types for parameters of gym-university-bladeburner API
* Fix merging error
2024-08-17 14:08:55 -07:00
David Walker 79bb0d289a Revert "API: Add types for parameters of gym-university-bladeburner API (#1591)" (#1592)
This reverts commit da8870ed79.
2024-08-16 13:45:54 -07:00
catloversg da8870ed79 API: Add types for parameters of gym-university-bladeburner API (#1591) 2024-08-16 13:29:24 -07:00
catloversg 9db1084b16 MISC: Cancel infiltration when player is hospitalized (#1579) 2024-08-14 22:20:17 -07:00
catloversg 440c074606 UI: Allow filtering graftable augmentations (#1570) 2024-08-14 22:18:27 -07:00
catloversg 23f98c1ff6 UI: Add success chance of Bladeburner action to Sleeves UI (#1567) 2024-08-11 16:59:08 -07:00
catloversg 1a8dcad02b BUGFIX: Duplicated program in edge case (#1549) 2024-08-05 13:43:56 -07:00