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:
Nemanja
2023-12-31 02:34:59 -05:00
committed by GitHub
parent 83afcbe73c
commit f538a2e34a
22 changed files with 544 additions and 94 deletions

View File

@@ -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>

View 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;
};