/* * This file is sublicensed under MIT License * https://github.com/space-wizards/space-station-14/blob/master/LICENSE.TXT */ using Content.Shared._CP14.Workbench.Prototypes; using Content.Shared.Tag; using Robust.Shared.Audio; using Robust.Shared.Prototypes; namespace Content.Server._CP14.Workbench; /// /// This entity can be used to craft other objects through the interface /// [RegisterComponent] [Access(typeof(CP14WorkbenchSystem))] public sealed partial class CP14WorkbenchComponent : Component { /// /// Crafting speed modifier on this workbench. /// [DataField] public float CraftSpeed = 1f; [DataField] public float WorkbenchRadius = 0.5f; /// /// List of recipes available for crafting on this type of workbench /// [DataField] public List> Recipes = new(); /// /// Auto recipe list fill based on tags /// [DataField] public List> RecipeTags = new(); /// /// Played during crafting. Can be overwritten by the crafting sound of a specific recipe. /// [DataField] public SoundSpecifier CraftSound = new SoundCollectionSpecifier("CP14Hammering"); }