Add a penalty to self-repair (#8951)

This commit is contained in:
Rane
2022-06-19 01:50:43 -04:00
committed by GitHub
parent eacffcccc1
commit 4206780889
2 changed files with 13 additions and 1 deletions

View File

@@ -25,5 +25,11 @@ namespace Content.Server.Repairable
[ViewVariables(VVAccess.ReadWrite)] [DataField("doAfterDelay")]
public int DoAfterDelay = 1;
/// <summary>
/// A multiplier that will be applied to the above if an entity is repairing themselves.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)] [DataField("selfRepairPenalty")]
public float SelfRepairPenalty = 3f;
}
}