2021-10-29 13:40:15 +01:00
|
|
|
using Content.Server.Chemistry.EntitySystems;
|
2021-07-31 03:14:00 +02:00
|
|
|
using Content.Shared.Interaction;
|
2020-09-09 18:32:31 -04:00
|
|
|
using Robust.Shared.GameObjects;
|
2021-09-15 12:46:43 +02:00
|
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
2020-09-09 18:32:31 -04:00
|
|
|
|
2021-11-24 00:38:39 +01:00
|
|
|
namespace Content.Server.Fluids.Components;
|
2021-09-15 12:46:43 +02:00
|
|
|
|
2021-11-24 00:38:39 +01:00
|
|
|
[RegisterComponent]
|
2022-02-16 00:23:23 -07:00
|
|
|
public sealed class SpillableComponent : Component
|
2021-11-24 00:38:39 +01:00
|
|
|
{
|
|
|
|
|
[DataField("solution")]
|
|
|
|
|
public string SolutionName = "puddle";
|
2022-01-13 17:22:19 +03:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Should this item be spilled when worn as clothing?
|
|
|
|
|
/// Doesn't count for pockets or hands.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("spillWorn")]
|
|
|
|
|
public bool SpillWorn = true;
|
2020-09-09 18:32:31 -04:00
|
|
|
}
|