Commit Graph
32 Commits
Author SHA1 Message Date
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 d6e92292d3 doc(UXAssist,CheatEnabler): update changelog 2026-09-25 17:22:59 +08:00
soarqin 1c5073c6ac fix(mods): restore architect mode and clear stale station panels
Restore architect inventory handling and use 999 virtual items,
including logistics bots, drones, and vessels.

Recycle removed station panels and refresh overlays independently
of typing guards.

Bump CheatEnabler to 2.4.6 and UXAssist to 1.6.1, with release
notes and synchronized package manifests.
2026-09-25 17:14:33 +08:00
soarqin 60d54ac918 fix(compat): restore wind coverage startup and entity hiding
Defer wind coverage changes until prefab data is ready and preserve retryable activation state.

Replace fixed raycast local slots with semantic entity-field matching and guard fallback paths.
2026-09-24 13:37:30 +08:00
soarqin 0f640eb75b chore: release UXAssist 1.6.0 and CheatEnabler 2.4.5
Update changelogs and bump versions for UXAssist and CheatEnabler.
UXAssist 1.6.0 adds Orbital Collector product limits, reworked
auto-cruise navigation, auto-construct improvements, and DSP
0.10.35.29057 compatibility. CheatEnabler 2.4.5 adds the illegal
dyson shells button, Terraform anyway updates, and DSP 0.10.35
compatibility.
2026-09-24 04:04:34 +08:00
soarqin ac4210fe5d fix(compat): support DSP 0.10.35.29057
Adapt UXAssist and CheatEnabler to the new terrain workflows, view modes, receiver inventory, and mineral-depletion API. Preserve crafting shortcuts, batch buyout visibility, soil progression, and saved brush safety.

Refresh game references and document compatibility changes. Release builds, static compatibility checks, behavior assertions, and diff checks pass; user testing is also confirmed.
2026-09-24 01:57:04 +08:00
soarqin f611f2f9b3 fix(CheatEnabler): initialize shield after instant build 2026-08-23 20:24:05 +08:00
soarqin 33921e7177 docs: update Changelog for CheatEnabler 2026-06-15 23:13:01 +08:00
soarqin 44efbdbb4f UXAssist 1.5.8 and CheatEnabler 2.4.4 2026-05-30 18:49:16 +08:00
soarqin e2848b4f97 UXAssist v1.5.6 and CheatEnabler v2.4.3, with package target fix 2026-03-16 20:46:51 +08:00
soarqin 6e4416389d CheatEnabler v2.4.2 2026-01-29 02:13:06 +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 c91a873e8d CheatEnabler v2.3.32 2025-06-08 20:44:15 +08:00
soarqin 2c4d1b8b0d CheatEnabler: illegal dyson shell functions 2025-06-04 18:11:58 +08:00
soarqin b6c182168b CheatEnabler: unlock orbit radius 2025-05-19 18:17:05 +08:00
soarqin 6877b8e9ac CheatEnabler: optimization 2025-04-26 00:31:56 +08:00
soarqin 950bde3464 CheatEnabler v2.3.30 2025-04-25 17:50:52 +08:00
soarqin 69702d4f09 UXAssist & CheatEnabler update 2025-03-31 23:30:47 +08:00
soarqin 5dba87dc7f CheatEnabler v2.3.28 2025-03-25 21:11:42 +08:00
soarqin 0a8fa9971c UXAssist 1.2.14 & CheatEnabler 2.3.27 2025-01-24 19:21:06 +08:00
soarqin 1ab57eb7ca UXAssist 1.2.3 2024-09-21 19:57:33 +08:00
soarqin 2d2602d8b9 new UXAssist and CheatEnabler release 2024-09-19 23:53:02 +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 d11817d4c3 Work in progress 2024-08-29 21:58:41 +08:00
soarqin c93885da18 CheatEnabler and UXAssist release 2024-08-24 00:37:06 +08:00
soarqin fc8488ce61 CheatEnabler 2.3.21 2024-08-23 16:20:47 +08:00
soarqin 5a12631c76 CheatEnabler 2.3.20 2024-08-23 14:51:26 +08:00