Buckling an entity requires a do-after (#29621)

* Buckling an entity requires a do-after

* Works but feels like bad code?

* Cleanup

---------

Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
Plykiya
2024-08-09 08:43:02 -07:00
committed by GitHub
parent 873c314aec
commit 1e824d704f
5 changed files with 83 additions and 2 deletions

View File

@@ -84,6 +84,12 @@ public sealed partial class StrapComponent : Component
/// </summary>
[DataField]
public ProtoId<AlertPrototype> BuckledAlertType = "Buckled";
/// <summary>
/// How long it takes to buckle someone else into a chair
/// </summary>
[DataField]
public float BuckleDoafterTime = 2f;
}
public enum StrapPosition