add: funny keys that can lock doors (#113)

This commit is contained in:
ThereDrD0
2024-02-23 22:10:38 +03:00
committed by GitHub
parent 26cb9ac1c2
commit 9d31a42880
32 changed files with 386 additions and 0 deletions

View 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");
}