Files
OldThink/Content.Server/Fluids/Components/SpillableComponent.cs

21 lines
571 B
C#
Raw Normal View History

using Content.Server.Chemistry.EntitySystems;
2021-07-31 03:14:00 +02:00
using Content.Shared.Interaction;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Fluids.Components;
[RegisterComponent]
public sealed class SpillableComponent : Component
{
[DataField("solution")]
public string SolutionName = "puddle";
/// <summary>
/// Should this item be spilled when worn as clothing?
/// Doesn't count for pockets or hands.
/// </summary>
[DataField("spillWorn")]
public bool SpillWorn = true;
}