Class RepairableComponent
Inheritance
System.Object
RepairableComponent
Namespace: Content.Server.Repairable
Assembly: Content.Server.dll
Syntax
public sealed class RepairableComponent : Component
Fields
| Improve this Doc View SourceAllowSelfRepair
Whether or not an entity is allowed to repair itself.
Declaration
public bool AllowSelfRepair
Field Value
Type | Description |
---|---|
System.Boolean |
Damage
All the damage to change information is stored in this DamageSpecifier.
Declaration
public DamageSpecifier Damage
Field Value
Type | Description |
---|---|
DamageSpecifier |
Remarks
If this data-field is specified, it will change damage by this amount instead of setting all damage to 0. in order to heal/repair the damage values have to be negative.
DoAfterDelay
Declaration
public int DoAfterDelay
Field Value
Type | Description |
---|---|
System.Int32 |
FuelCost
Declaration
public int FuelCost
Field Value
Type | Description |
---|---|
System.Int32 |
QualityNeeded
Declaration
public string QualityNeeded
Field Value
Type | Description |
---|---|
System.String |
SelfRepairPenalty
A multiplier that will be applied to the above if an entity is repairing themselves.
Declaration
public float SelfRepairPenalty
Field Value
Type | Description |
---|---|
System.Single |