using Robust.Shared.Map; namespace Content.Server.Chemistry.Components { [RegisterComponent] public sealed partial class VaporComponent : Component { public const string SolutionName = "vapor"; /// /// Stores data on the previously reacted tile. We only want to do reaction checks once per tile. /// [DataField] public TileRef? PreviousTileRef; /// /// Percentage of the reagent that is reacted with the TileReaction. /// /// 0.5 = 50% of the reagent is reacted. /// /// [DataField] public float TransferAmountPercentage; /// /// The minimum amount of the reagent that will be reacted with the TileReaction. /// We do this to prevent floating point issues. A reagent with a low percentage transfer amount will /// transfer 0.01~ forever and never get deleted. /// Defaults to 0.05 if not defined, a good general value. /// [DataField] public float MinimumTransferAmount = 0.05f; [DataField] public bool Active; } }