ContainmentFieldComponent's garbage destruction can now be disabled (#29376)
* Garbage Vaporizer 3000 + DestroyGarbage bool property + DestroyGarbage property check when dealing with incoming trash * Update ContainmentFieldComponent.cs Co-authored-by: Tayrtahn <tayrtahn@gmail.com> --------- Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
This commit is contained in:
@@ -18,4 +18,10 @@ public sealed partial class ContainmentFieldComponent : Component
|
||||
/// </summary>
|
||||
[DataField("maxMass")]
|
||||
public float MaxMass = 10000f;
|
||||
|
||||
/// <summary>
|
||||
/// Should field vaporize garbage that collides with it?
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool DestroyGarbage = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user