StrippableSystem doafter overhaul (#25994)

* Initial commit

* Fixed short circuiting

* Use DebugTools

* Use Entity<TComp> more, and make them nullable

* Bring these two together
This commit is contained in:
Krunklehorn
2024-03-14 22:57:52 -04:00
committed by GitHub
parent 0fdb551c3d
commit 41ca8f3dfc
7 changed files with 517 additions and 357 deletions

View File

@@ -11,7 +11,7 @@ public sealed partial class ThievingComponent : Component
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("stripTimeReduction")]
public float StripTimeReduction = 0.5f;
public TimeSpan StripTimeReduction = TimeSpan.FromSeconds(0.5f);
/// <summary>
/// Should it notify the user if they're stripping a pocket?