Files
crystall-punk-14/Content.Server/_CP14/Workbench/CP14WorkbenchComponent.cs
Ed 4cb93fc965 Food update (#412)
* meat refactor

* document and remove verb

* cooking table

* cutlets

* dough and cheese update

* flat dough

* size edit, egg added

* Update test-ship.yml

* meat and cheese randomsprite
2024-08-19 18:39:47 +03:00

32 lines
951 B
C#

using Content.Shared._CP14.Workbench.Prototypes;
using Robust.Shared.Audio;
using Robust.Shared.Prototypes;
namespace Content.Server._CP14.Workbench;
/// <summary>
/// This entity can be used to craft other objects through the interface
/// </summary>
[RegisterComponent]
[Access(typeof(CP14WorkbenchSystem))]
public sealed partial class CP14WorkbenchComponent : Component
{
/// <summary>
/// Crafting speed modifier on this workbench.
/// </summary>
[DataField]
public float CraftSpeed = 1f;
/// <summary>
/// List of recipes available for crafting on this type of workbench
/// </summary>
[DataField]
public List<ProtoId<CP14WorkbenchRecipePrototype>> Recipes = new();
/// <summary>
/// Played during crafting. Can be overwritten by the crafting sound of a specific recipe.
/// </summary>
[DataField]
public SoundSpecifier CraftSound = new SoundCollectionSpecifier("CP14Hammering");
}