DetGadget Hat Revitalization (#35438)
* DetGadget Hat * uh... half-assed item description * Reduce hat range to one tile, you have to stand on someone to steal their hat items * Fix Integration Errors * Only the wearer can access voice commands * init work - handscomp is unable to be pulled * second bit of progress * basic working implementation * nuke storageslots and add adminlogging * disallow trolling nukies or hiding objective items * remove unnecessary tags additions * finish nuking unused tags * death to yamllinter * int tests be damned * milon is a furry * address review * upd desc * address reviews part 2 * address more reviews * remove unused refs * fix order of dependencies * add ShowVerb to SharedStorageSystem.cs This will allow or disallow showing the "Open Storage" verb if defined on the component. * orks is a nerd * add proper locale, fix adminlogging * orks is a nerd 2 --------- Co-authored-by: Coenx-flex <coengmurray@gmail.com>
This commit is contained in:
19
Content.Server/VoiceTrigger/StorageVoiceControlComponent.cs
Normal file
19
Content.Server/VoiceTrigger/StorageVoiceControlComponent.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Content.Shared.Inventory;
|
||||
|
||||
namespace Content.Server.VoiceTrigger;
|
||||
|
||||
/// <summary>
|
||||
/// Entities with this component, Containers, and TriggerOnVoiceComponent will insert any item or extract the spoken item after the TriggerOnVoiceComponent has been activated
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class StorageVoiceControlComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Used to determine which slots the component can be used in.
|
||||
/// <remarks>
|
||||
/// If not set, the component can be used anywhere, even while inside other containers.
|
||||
/// </remarks>
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public SlotFlags? AllowedSlots;
|
||||
}
|
||||
Reference in New Issue
Block a user