predict egg cracking + refactor (#25028)
* move stuff to server and some refactoring * update spikables to not use triggering * add Delete bool just incase * a new egg * mom can we have webedit. no, we have webedit at home --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
namespace Content.Server.Chemistry.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed partial class SolutionSpikerComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The source solution to take the reagents from in order
|
||||
/// to spike the other solution container.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string SourceSolution { get; private set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// If spiking with this entity should ignore empty containers or not.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool IgnoreEmpty { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// What should pop up when spiking with this entity.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public LocId Popup { get; private set; } = "spike-solution-generic";
|
||||
|
||||
/// <summary>
|
||||
/// What should pop up when spiking fails because the container was empty.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public LocId PopupEmpty { get; private set; } = "spike-solution-empty-generic";
|
||||
}
|
||||
Reference in New Issue
Block a user