Commit Graph
60 Commits
Author SHA1 Message Date
soarqin c7fcf31c30 fix(cheatenabler): require UXAssist 1.6.3 before loading
Align the runtime and package minimum with the official release that provides the shared production API. Keep official UXAssist 1.6.3 supported and document the dependency in both languages.

Assisted-by: Cindy (https://cindy.app)
2026-11-05 21:34:35 +08:00
soarqin 64a23e9772 fix(cheatenabler): restore mecha and fleet invincibility
Patch the native mecha damage and shield consumers so an inlined Player.invincible getter cannot bypass protection. Replace the fleet damage matcher with target-type prefixes to cover both space paths.

Synchronize the English and Chinese documentation without changing version 2.4.8.
2026-11-04 20:46:44 +08:00
soarqin 5f9c6e05cb fix(cheatenabler): defer instant construction until prologue ends 2026-10-26 23:20:26 +08:00
soarqin a741d7cb4b docs(cheatenabler): explain belt signal generator setup
Refs #81, #93
2026-10-11 03:53:06 +08:00
soarqin 5fb8695348 fix(cheatenabler): make tech downgrades safe and refresh docs
Validate the full dependency cascade and capacity reductions before applying tech downgrades. Preserve shared recipes, restore native bonus values and station limits, and clamp stored energy to the remaining capacity.

Fix warning integration and tech-tree help button ownership, cleanup and localization. Use the shared patch lifecycle and guarded transpilers.

Refresh bilingual feature and usage documentation, and consolidate the 2.4.7 changelog around the final user-visible behavior.
2026-10-11 03:09:47 +08:00
TTenYX 6ced106901 feat(cheatenabler): add tech downgrade and make the tech modifiers upgradable
Rework `Unlock Tech with Key-Modifiers` into a full upgrade/downgrade feature,
ported from the standalone TechTweaks plugin.

- Holding Shift / Ctrl / Ctrl+Shift / Alt while clicking a tech adds 1 / 10 /
  100 / all levels and unlocks the direct prerequisites, as before.
- `Caps Lock` toggles a session downgrade mode; the same modifiers then
  subtract 1 / 10 / 100 levels or revert the tech to locked. Downgrading walks
  the dependent techs so no "prerequisite locked, dependent unlocked" state is
  left behind, and it reverts the upgrade values the tech had applied
  (`TechFuncRevert`), including the multiplicative, assignment and boolean
  `UnlockTechFunction` cases, so repeated up/down cycles do not drift.
- Toggling downgrade mode reports itself like the other toggles: a realtime tip
  popup plus the critical warning banner. The banner now shows on its own
  instead of requiring `Build without condition` or `No collision` to be on,
  and outranks both in the shared priority chains.
- The `?` button in the tech tree shows the full key reference, using the same
  title and text as the config panel's tip button. While the option is off, the
  button is absent and `Caps Lock` is inert, so the key cannot collide with
  other bindings.
- The option keeps its original `General/UnlockTech` config entry, so existing
  configurations carry over.

The old unlock-only handler in `Patches/GamePatch.cs` is replaced by
`Patches/TechTweaksPatch.cs`, which follows the repository's mod feature
lifecycle (per-frame input through the registry's `OnInputUpdate`).
2026-10-10 23:49:40 +08:00
soarqin 9787636d08 UXAssist 1.5.0 and CheatEnabler 2.4.1 2026-01-23 16:23:10 +08:00
soarqin 16429936a9 UXAssist v1.4.0 and CheatEnabler v2.4.0 2025-09-29 23:46:44 +08:00
soarqin 0dd1a11c14 fix all markdowns by markdownlint, and remove obsolete OCBatchBuild 2025-09-15 11:17:14 +08:00
soarqin 2c4d1b8b0d CheatEnabler: illegal dyson shell functions 2025-06-04 18:11:58 +08:00
soarqin 950bde3464 CheatEnabler v2.3.30 2025-04-25 17:50:52 +08:00
soarqin 5dba87dc7f CheatEnabler v2.3.28 2025-03-25 21:11:42 +08:00
soarqin 96b4d6cfc8 UXAssist and CheatEnabler new release 2024-09-04 20:32:00 +08:00
soarqin 421cfd230e WIP 2024-09-02 22:51:32 +08:00
soarqin 92445a452a UXAssist and CheatEnabler new releases 2024-08-30 19:14:34 +08:00
soarqin 5a12631c76 CheatEnabler 2.3.20 2024-08-23 14:51:26 +08:00
soarqin 7430f20181 UXAssist and CheatEnabler new release 2024-08-22 17:16:55 +08:00
soarqin d894ce08a6 UXAssist 1.1.1 and CheatEnabler 2.3.18 2024-08-17 17:33:07 +08:00
soarqin b27ed3f96b WIP 2024-08-16 21:40:46 +08:00
soarqin 75aca132fa CheatEnabler 2.3.17 2024-08-16 11:07:55 +08:00
soarqin b1f27a2633 CheatEnabler 2.3.16 and UXAssist 1.0.24 2024-05-24 17:18:34 +08:00
soarqin c8a0651ae2 WIP 2024-05-22 20:07:21 +08:00
soarqin 7cdaa5df20 UXAssist and CheatEnabler release 2024-05-07 00:24:46 +08:00
soarqin 51314305d1 UXAssist and CheatEnabler new version 2024-03-29 19:00:40 +08:00
soarqin 6a9b9b44bc WIP 2024-03-28 02:01:08 +08:00
soarqin cff09505b9 CheatEnabler and UXAssist new versions 2024-03-25 02:41:24 +08:00
soarqin 3a52175041 WIP 2024-03-22 22:01:12 +08:00
soarqin 456598f2a1 WIP 2024-03-10 18:25:51 +08:00
soarqin e2d83ee3cb Release MechaDroneTweaks 1.1.4, CheatEnabler 2.3.10, UXAssist 1.0.13 2024-02-18 20:43:37 +08:00
soarqin b4411c9367 CheatEnabler v2.3.9 2024-01-05 02:14:48 +08:00
soarqin c7972fd736 new version of UXAssist, CheatEnabler and CompressSave, which fix #17 and #20 2023-12-18 19:43:58 +08:00
soarqin d4b1ea93c8 Support for DSP 0.10 2023-12-15 20:59:48 +08:00
soarqin 05485d76b5 CheatEnabler v2.3.6 2023-11-07 16:52:14 +08:00
soarqin 5d58a2a8fa Work in progress 2023-10-31 01:55:59 +08:00
soarqin 3ae1c91f1c CheatEnabler v2.3.5 2023-10-24 17:54:29 +08:00
soarqin c8f1e1d55a update READMEs 2023-10-22 15:48:14 +08:00
soarqin 3d16baaa9a UXAssist v1.0.2, UniverseGenTweaks v1.2.1, CheatEnabler v2.3.4 2023-10-22 15:46:06 +08:00
soarqin 5d9085d8dc CheatEnabler v2.3.2, UniverseGenTweaks v1.2.0, UXAssist v1.0.1 2023-10-16 14:40:39 +08:00
soarqin 7fae7cc66e work in progress 2023-10-14 22:35:47 +08:00
soarqin 31b992c7a2 work in progress 2023-10-14 15:27:10 +08:00
soarqin 29a6e00417 some fixes 2023-10-12 17:20:30 +08:00
soarqin 4256c1d615 UXAssist v1.0.0, CheatEnabler v2.3.1, MechaDronesTweaks v1.1.2 2023-10-10 15:39:38 +08:00
soarqin 6caa183cfa UXAssist: Work in progress 2023-10-10 02:38:24 +08:00
soarqin 41f2103c11 UXAssist: Work in progress 2023-10-09 21:23:23 +08:00
soarqin d0bc5cf1d4 CheatEnabler v2.2.7 2023-10-07 16:46:13 +08:00
soarqin 0c48691dc9 CheatEnabler v2.2.6 2023-10-07 14:51:22 +08:00
soarqin c092ae81bb CheatEnabler v2.2.5 2023-09-27 21:23:23 +08:00
soarqin ee883bc66e CheatEnabler 2.2.4 2023-09-26 02:46:40 +08:00
soarqin e79b906f91 CheatEnabler v2.2.3 2023-09-25 20:39:18 +08:00
soarqin f7a058e388 CheatEnalber v2.2.2 2023-09-24 21:59:23 +08:00