参考Rimworld 原版的建筑物 Breakdown 相关机制和代码,实现了拓展的BreakdownEx系统 BreakdownEx 系统支持设定自定义的修复用物品,支持自定义修复用时,支持自定义故障概率。
计划更新功能: 故障后果 爆炸/降低建筑物耐久/起火/
Based on vanilla Rimworld Building Breakdown mechanics, I implemented CompBreakdownableEx which is superior to vanilla compBreakdownable in following ways: Allows any thingdef to be used as repair cost item. Allows customized breakdown MTB per comp properties. Allows customized repair time per comp properties.
Todo: Side effect when breakdown, like explosion/damaged building/start fire/generate extra heat/high power usage/.