// Management · RimWorld Mod

核心建筑耐久智能预警

核心建筑耐久智能预警 mod preview for RimWorld

This is a content complement mod with low implementation difficulty it provides smart durability alerts for core buildings and prevents sudden facility failures from causing colony collapse 本模组为内容补全类模组 实现难度低 为核心建筑提供智能耐久预警 避免设施突发损坏导致殖民地崩盘 It solves the core pain point that there i

This is a content complement mod with low implementation difficulty it provides smart durability alerts for core buildings and prevents sudden facility failures from causing colony collapse
本模组为内容补全类模组 实现难度低 为核心建筑提供智能耐久预警 避免设施突发损坏导致殖民地崩盘

It solves the core pain point that there is no reminder when building durability drops core facilities like turrets generators and freezers break suddenly directly leading to defense breakdown food spoilage and island wide power outage
它解决了建筑耐久下降无提示的核心痛点 炮塔发电机冷库等核心设施突然损坏 会直接导致防线崩盘食物腐烂与全岛断电

The mod adopts a two level warning mechanism
本模组采用两级预警机制

Yellow warning triggers when normal building durability is below or equal to thirty percent it pushes notification in the right message bar with building name and location marked for core buildings the threshold is below or equal to fifty percent
黄色预警在普通建筑耐久低于等于百分之三十时触发 右侧消息栏推送提示 标注建筑名称与位置 核心建筑的触发阈值为低于等于百分之五十

Red warning triggers when normal building durability is below or equal to fifteen percent it comes with popup strong reminder and map flashing marker for core buildings the threshold is below or equal to twenty five percent
红色预警在普通建筑耐久低于等于百分之十五时触发 弹窗强提醒加地图闪烁标记 核心建筑的触发阈值为低于等于百分之二十五

The default core building list includes twelve types of vanilla buildings various turrets generators nuclear reactors freezers medical beds and water purifiers
默认核心建筑列表包含十二种原版建筑 各类炮塔发电机核反应堆冷库医疗床与水提炼器

The mod supports custom settings
本模组支持自定义设置

Players can freely adjust the durability thresholds of the two warning levels in the mod settings
玩家可在模组设置中自由调整两级预警的耐久阈值

You can manually right click any building to designate it as a core building or cancel the core attribute
支持手动右键指定任意建筑为核心建筑 也可取消核心属性

Quick interaction feature is available
具备快捷交互功能

Click any warning message to jump the view directly to the corresponding building position no need for manual searching
点击任意预警消息 视角直接跳转到对应建筑位置 无需手动查找

Performance parameters are optimized
性能参数经过优化

The building list is traversed once every in game hour single frame calculation takes less than one millisecond and causes no performance burden
每游戏内一小时遍历一次建筑列表 单帧计算耗时小于一毫秒 不会造成性能负担

Implementation logic is purely upper layer logic
实现逻辑为纯上层逻辑

It regularly traverses map building components reads max HP and current HP compares against thresholds and calls the vanilla message system to push reminders
定时遍历地图建筑组件 读取最大耐久与当前耐久对比阈值 调用原版消息系统推送提示

Special thanks to wordtomod.com for the support and for helping me organize most of the tools and various material data
在此感谢wordtomod.com的支持 帮我整理大部分工具以及各类材料数据