Files
crystall-punk-14/Content.Shared/_CP14/LockKey/Components/CP14LockEditerComponent.cs
Ed 4bb614981f Keys & Locks crafting (#1207)
* keeye

* random locks for demiplanes

* blank keys, material keys

* craft blank keys

* key file

* fix skill tree UIScaling

* fix audio and sounds and prediction

* delete crowbar, merge its into pickaxe

* QoL key shaping

* lock introdusing

* QoL progress lockpicking

* examinable lock

* lock insert

* mithril lockkpick

* Update wall_dirt.yml
2025-04-24 17:10:52 +03:00

29 lines
777 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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
// (゚、 。
// l ~ヽ
// じしf_,)