Self-healing wall possible?

Started by lizhecheng66, April 17, 2016, 12:36:14 PM

Previous topic - Next topic

lizhecheng66

Is it possible to make self-healing material mod, so that self-healing wall will do automatic self repairing. :-[

Alistaire

Sure; using CCL add a ThingComp to every ThingDef then the moment a new Thing is generated the ThingComp checks for the Thing's material
and if it's the correct material it injects a new ThingComp similar to CompRottable which heals the Thing over time, and if it's not the correct
material the comp injects nothing. Remove the first ThingComp regardless.

mumblemumble

Funny thing is,  this exists in real life... Concrete with bacteria which takes deposits / water, which can heal cracks in concrete and such.
Why to people worry about following their heart? Its lodged in your chest, you won't accidentally leave it behind.

-----

Its bad because reasons, and if you don't know the reasons, you are horrible. You cannot ask what the reasons are or else you doubt it. But the reasons are irrefutable. Logic.