Add reagent sources to the guidebook (#22627)
* source in my guidebook * finish it! * sir yes sir oorah * network that bitch, baby
This commit is contained in:
@@ -83,6 +83,17 @@ namespace Content.Shared.Chemistry.Reaction
|
||||
[DataField("priority")]
|
||||
public int Priority;
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether or not this reaction creates a new chemical (false) or if it's a breakdown for existing chemicals (true)
|
||||
/// Used in the chemistry guidebook to make divisions between recipes and reaction sources.
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// Mixing together two reagents to get a third -> false
|
||||
/// Heating a reagent to break it down into 2 different ones -> true
|
||||
/// </example>
|
||||
[DataField]
|
||||
public bool Source;
|
||||
|
||||
/// <summary>
|
||||
/// Comparison for creating a sorted set of reactions. Determines the order in which reactions occur.
|
||||
/// </summary>
|
||||
|
||||
17
Content.Shared/Kitchen/Components/ExtractableComponent.cs
Normal file
17
Content.Shared/Kitchen/Components/ExtractableComponent.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Content.Shared.Chemistry.Components;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Kitchen.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Tag component that denotes an entity as Extractable
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed partial class ExtractableComponent : Component
|
||||
{
|
||||
[DataField("juiceSolution")]
|
||||
public Solution? JuiceSolution;
|
||||
|
||||
[DataField("grindableSolutionName")]
|
||||
public string? GrindableSolution;
|
||||
};
|
||||
Reference in New Issue
Block a user