# CheatEnabler

<details>
<summary>Read me in English</summary>

***Add various cheat functions while disabling abnormal determinants***

## Usage

* Config panel is unified with UXAssist.
* There are also buttons on title screen and planet minimap area to call up the config panel.
* Features:
  * General:
    * Enable Dev Shortcuts (check config panel for usage)
    * Disable Abnormal Checks
    * Unlock techs with key-modifiers (Ctrl/Alt/Shift)
    * Remove all metadata consumption records
    * Remove metadata consumption record in current game
    * Clear metadata flag which bans achievements
    * Assign gamesave to currrnet account
  * Factory:
    * Finish build immediately
    * Architect mode (Infinite buildings)
    * Build without condition
    * No collision
    * Belt signal item generation
      * Count generations as production in statistics
      * Count removals as consumption in statistics
      * Count all raws and intermediates in statistics
      * Belt signal alt format
    * Increase maximum power usage in Logistic Stations and Advanced Mining Machines
      * Logistic Stations: Increased max charging power to 3GW(ILS) and 600MW(PLS) (10x of original)
      * Advanced Mining Machines: Increased max mining speed to 1000%
    * Retrieve/Place items from/to remote planets on logistics control panel
    * Remove space limit between wind turbines and solar panels
    * Wind Turbines do global power coverage
    * Boost power generations for kinds of power generators
  * Planet:
    * Instant hand-craft
    * Infinite Natural Resources
    * Fast Mining
    * Pump Anywhere
    * Terraform without enought soil piles
    * Instant teleport (like that in Sandbox mode)
  * Dyson Sphere:
    * Skip bullet period
    * Skip absorption period
    * Quick absorb
    * Eject anyway
    * Unlock Dyson Sphere max orbit radius
    * Complete Dyson Sphere Shells instantly
    * Remove all frames on Dyson Sphere
    * Buttons for creating illegal Dyson Sphere Shells, you must enable `IllegalDysonShellFunctionsEnabled` of `DysonSphere` section in config to see the last 2 buttons.
      * Generate an illegal dyson shell
      * Keep max production shells and remove others
      * Duplicate shells from that with highest production
  * Mecha/Combat:
    * Mecha and Drones/Fleets invicible
    * Buildings invicible
    * Enable warp without space warpers
    * Teleport to outer space
    * Teleport to selected astronomical

## Notes

* Please upgrade `BepInEx` 5.4.21 or later if using with [BlueprintTweaks](https://dsp.thunderstore.io/package/kremnev8/BlueprintTweaks/) to avoid possible conflicts.
  * You can download [BepInEx here](https://github.com/bepinex/bepinex/releases/latest)(choose x64 edition).
  * If using with r2modman, you can upgrade `BepInEx` by clicking `Settings` -> `Browse profile folder`, then extract downloaded zip to the folder and overwrite existing files.

## CREDITS

* [Dyson Sphere Program](https://store.steampowered.com/app/1366540): The great game
* [BepInEx](https://bepinex.dev/): Base modding framework
* [Multifunction_mod](https://github.com/blacksnipebiu/Multifunction_mod): Some cheat functions

</details>

<details>
<summary>中文读我</summary>

***添加一些作弊功能，同时屏蔽异常检测***

## 使用说明

* 配置面板复用UXAssist
* 标题界面和行星小地图旁也有按钮呼出主面板
* 功能：
  * 常规：
    * 启用开发模式快捷键(使用说明见设置面板)
    * 屏蔽异常检测
    * 使用组合键解锁科技（Ctrl/Alt/Shift）
    * 移除所有元数据消耗记录
    * 移除当前存档的元数据消耗记录
    * 解除当前存档因使用元数据导致的成就限制
    * 将游戏存档绑定给当前账号
  * 工厂：
    * 建造秒完成
    * 建筑师模式(无限建筑)
    * 无条件建造
    * 无碰撞
    * 传送带信号物品生成
      * 统计信息里将生成计算为产物
      * 统计信息里将移除计算为消耗
      * 统计面板中计算所有原材料和中间产物
      * 传送带信号替换格式
    * 提升物流塔和大型采矿机的最大功耗
      * 物流塔：将最大充电功率提高到3GW(星际物流塔)和600MW(行星物流塔)（原来的10倍）
      * 大型采矿机：将最大采矿速度提高到1000%
    * 在物流总控面板上可以从非本地行星取放物品
    * 风力发电机和太阳能板无间距限制
    * 风力涡轮机供电覆盖全球
    * 提升各种发电设备发电量
  * 行星：
    * 快速手动制造
    * 自然资源采集不消耗
    * 高速采集
    * 平地抽水
    * 沙土不够时依然可以整改地形
    * 快速传送(和沙盒模式一样)
  * 戴森球：
    * 跳过子弹阶段
    * 跳过吸收阶段
    * 快速吸收
    * 全球弹射
    * 解锁戴森球最大轨道半径
    * 立即完成戴森壳建造
    * 移除戴森球上的所有框架
    * 用于制作仙术戴森壳的按钮，你必须在设置文件里开启`DysonSphere`分类的`IllegalDysonShellFunctionsEnabled`才能看到后面两个按钮
      * 生成单层仙术戴森壳
      * 保留发电量最高的戴森壳并移除其他戴森壳
      * 从发电量最高的壳复制戴森壳
  * 机甲/战斗：
    * 机甲和战斗无人机无敌
    * 建筑无敌
    * 无需空间翘曲器即可曲速飞行
    * 传送到外太空
    * 传送到选定的天体

## 注意事项

* 如果和[BlueprintTweaks](https://dsp.thunderstore.io/package/kremnev8/BlueprintTweaks/)一起使用，请升级`BepInEx`到5.4.21或更高版本，以避免可能的冲突
  * 你可以在[这里](https://github.com/bepinex/bepinex/releases/latest)（选择x64版本）下载`BepInEx`
  * 如果使用r2modman，你可以点击`Settings` -> `Browse profile folder`，然后将下载的zip解压到该文件夹并覆盖现有文件

## 鸣谢

* [戴森球计划](https://store.steampowered.com/app/1366540): 伟大的游戏
* [BepInEx](https://bepinex.dev/): 基础模组框架
* [Multifunction_mod](https://github.com/blacksnipebiu/Multifunction_mod): 一些作弊功能

</details>
