Can emag artifact crusher (#23957)

* initial commit

* made it emaggable

* removed OnAttemptEmagEvent

* moved emagging to shared

* added local file to git
This commit is contained in:
SpeltIncorrectyl
2024-01-19 15:35:02 +00:00
committed by GitHub
parent 884c866e4d
commit fd673cf6e3
4 changed files with 39 additions and 2 deletions

View File

@@ -101,6 +101,12 @@ public sealed partial class ArtifactCrusherComponent : Component
/// </summary>
[DataField]
public (EntityUid, AudioComponent)? CrushingSoundEntity;
/// <summary>
/// When enabled, stops the artifact crusher from being opened when it is being crushed.
/// </summary>
[DataField, AutoNetworkedField, ViewVariables(VVAccess.ReadWrite)]
public bool AutoLock = false;
}
[Serializable, NetSerializable]