add: funny keys that can lock doors (#113)
This commit is contained in:
15
Content.Shared/_White/Keyhole/Components/KeyFormComponent.cs
Normal file
15
Content.Shared/_White/Keyhole/Components/KeyFormComponent.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Robust.Shared.Audio;
|
||||
|
||||
namespace Content.Shared._White.Keyhole.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed partial class KeyformComponent : KeyBaseComponent
|
||||
{
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField]
|
||||
public bool IsUsed;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField]
|
||||
public SoundSpecifier PressSound = new SoundPathSpecifier("/Audio/White/Object/Tools/Form/press.ogg");
|
||||
}
|
||||
Reference in New Issue
Block a user