Show / Hide Table of Contents

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 Source

AllowSelfRepair

Whether or not an entity is allowed to repair itself.

Declaration
public bool AllowSelfRepair
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

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.

| Improve this Doc View Source

DoAfterDelay

Declaration
public int DoAfterDelay
Field Value
Type Description
System.Int32
| Improve this Doc View Source

FuelCost

Declaration
public int FuelCost
Field Value
Type Description
System.Int32
| Improve this Doc View Source

QualityNeeded

Declaration
public string QualityNeeded
Field Value
Type Description
System.String
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾