support for not airtight entity storage (#11616)

This commit is contained in:
Nemanja
2022-09-29 20:49:43 -04:00
committed by GitHub
parent 466e285594
commit 6f3caa07b8
2 changed files with 17 additions and 3 deletions

View File

@@ -58,6 +58,12 @@ public sealed class EntityStorageComponent : Component, IGasMixtureHolder
[DataField("deleteContentsOnDestruction")]
public bool DeleteContentsOnDestruction = false;
/// <summary>
/// Whether or not the container is sealed and traps air inside of it
/// </summary>
[DataField("airTight"), ViewVariables(VVAccess.ReadWrite)]
public bool AirTight = true;
[DataField("open")]
public bool Open;