big cardboard box improvements (#16418)

This commit is contained in:
Ilya246
2023-05-14 16:46:19 +04:00
committed by GitHub
parent f4c8f5751f
commit 6f19075be9
2 changed files with 29 additions and 9 deletions

View File

@@ -30,6 +30,13 @@ public sealed class CardboardBoxComponent : Component
[ViewVariables(VVAccess.ReadWrite)]
[DataField("effectSound")]
public SoundSpecifier? EffectSound;
/// <summary>
/// Whether to prevent the box from making the sound and effect
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("quiet")]
public bool Quiet = false;
/// <summary>
/// How far should the box opening effect go?