SmartGenerator
SmartGenerator — 燃料发电机自动电量管理 **功能** - 根据电网电池储电量比例自动开关燃料发电机:电量低于低阈值时自动开机,高于高阈值时自动关机。高低阈值之间保持至少 10% 回差,避免频繁启停。 - 每台发电机可单独设置低阈值与高阈值。多台发电机可通过设置不同阈值区间,自然形成启停的先后顺序。 - 对带有燃料仓的发电机,燃料耗尽时自动管理暂停,补充燃料后自动恢复。 - 兼容 RimFeller 等管道燃料发电机(燃料从储罐直接消耗,无燃料仓)。 - 玩家手动关闭发电机后,自动管理跟随暂停;手动开启后自动恢复。自动管理不会覆盖手动操作
SmartGenerator — 燃料发电机自动电量管理
**功能**
- 根据电网电池储电量比例自动开关燃料发电机:电量低于低阈值时自动开机,高于高阈值时自动关机。高低阈值之间保持至少 10% 回差,避免频繁启停。
- 每台发电机可单独设置低阈值与高阈值。多台发电机可通过设置不同阈值区间,自然形成启停的先后顺序。
- 对带有燃料仓的发电机,燃料耗尽时自动管理暂停,补充燃料后自动恢复。
- 兼容 RimFeller 等管道燃料发电机(燃料从储罐直接消耗,无燃料仓)。
- 玩家手动关闭发电机后,自动管理跟随暂停;手动开启后自动恢复。自动管理不会覆盖手动操作。
- 提供 Gizmo 快捷开关(支持多选批量切换)与检视面板"自动发电"标签页(滑条配置阈值)。
- 全部设置随存档保存,读档不丢失。
**兼容性**
- 支持 RimWorld 1.6
- 兼容原版木柴/化学燃料发电机及 RimFeller 发电厂
- 不修改原版 XML,组件在启动时动态附加
- 无需 Harmony
---
### SmartGenerator — Automatic Fuel Generator Management
**Features**
- Automatically switches fuel generators based on battery charge in the connected power grid: generators turn on below the low threshold and off above the high threshold. A minimum 10% gap between thresholds prevents rapid switching.
- Each generator has its own low and high thresholds. Setting different ranges on multiple generators creates a natural start/stop order between them.
- For generators with an internal fuel store, auto-management pauses when fuel runs out and resumes after refueling.
- Compatible with pipe-fed generators such as Rimfeller powerplants (fuel drawn directly from storage tanks, no internal fuel store).
- Manually turning a generator off pauses auto-management; turning it back on resumes it. Auto-management never overrides manual control.
- Provides a Gizmo toggle (with multi-select batch switching) and an "Auto Power" tab in the inspect panel for threshold configuration via sliders.
- All settings are saved with the savegame and persist across reloads.
**Compatibility**
- RimWorld 1.6
- Works with vanilla wood-fired and chemfuel generators, and Rimfeller powerplants
- No XML patches; components are attached dynamically at startup
- No Harmony required