mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
* prediction!!! * fixes * fixes and add debug logs * fix prediction and cleanup * raise event on client + comp access * reapply power state changes * Update Content.Client/Kitchen/EntitySystems/ReagentGrinderSystem.cs Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> * Update Content.Shared/Kitchen/Components/ReagentGrinderComponent.cs Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> * comments and prefilled grinder protos * t --------- Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> Co-authored-by: ScarKy0 <scarky0@onet.eu>
26 lines
803 B
C#
26 lines
803 B
C#
using Content.Shared.Chemistry.Components;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Kitchen.Components;
|
|
|
|
/// <summary>
|
|
/// This component allows an entity to be used in the reagent grinder to extract reagents.
|
|
/// <seealso cref="ReagentGrinderComponent"/>
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class ExtractableComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The reagents to spawn when the grinder is set to juice mode.
|
|
/// This will delete the reagents in the GrindableSolution.
|
|
/// </summary>
|
|
[DataField]
|
|
public Solution? JuiceSolution;
|
|
|
|
/// <summary>
|
|
/// The reagents to transfer into the beaker when the grinder is set to grind mode.
|
|
/// </summary>
|
|
[DataField]
|
|
public string? GrindableSolutionName;
|
|
};
|