29 lines
777 B
C#
29 lines
777 B
C#
|
|
using Robust.Shared.Audio;
|
|||
|
|
|
|||
|
|
namespace Content.Shared._CP14.LockKey.Components;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Allows, when interacting with keys, to mill different teeth, changing the shape of the key
|
|||
|
|
/// </summary>
|
|||
|
|
[RegisterComponent]
|
|||
|
|
public sealed partial class CP14LockEditerComponent : Component
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// sound when used
|
|||
|
|
/// </summary>
|
|||
|
|
[DataField]
|
|||
|
|
public SoundSpecifier UseSound =
|
|||
|
|
new SoundCollectionSpecifier("Screwdriver")
|
|||
|
|
{
|
|||
|
|
Params = AudioParams.Default.WithVariation(0.02f),
|
|||
|
|
};
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
//Ed: maybe this component should be removed, and logic be attached to "Screwing" tool?
|
|||
|
|
//CP14KeyFileComponent too, but with different tool prototype
|
|||
|
|
|
|||
|
|
// /l、 meow
|
|||
|
|
// (゚、 。 7
|
|||
|
|
// l ~ヽ
|
|||
|
|
// じしf_,)ノ
|