SelfHealCap
The share of maximum strength at which self-healing stops.
- Applies to
- global rules
- File
rules.ini- Section
[General]- Value
- floating point
- When omitted
-1Any value below zero leaves the ceiling on `ConditionYellow`, where it was before this key existed.
[General]SelfHealCap=75% ; example valueSelfHealCap sets how far an object can heal itself, as a share of its maximum strength. A higher value lets it heal further. A type that sets SelfHealingCap uses that value instead.
A tick heals only while the object’s strength is at or below this share, so healing stops one step past it. 100% heals an object to maximum strength, and no value heals past it. A percentage and a plain fraction are read the same way, so 75% equals .75.
ConditionYellow still decides when an object counts as damaged. A ceiling below it leaves a healed object in its damaged state, and a structure keeps its damage smoke. A ceiling above it heals the object out of that state partway up. Self-healing describes what else stays damaged.
History
- Added0.2.0In development