2021-12-16 23:42:02 +13:00
|
|
|
using Robust.Shared.GameStates;
|
2021-09-06 15:49:44 +02:00
|
|
|
|
2023-12-29 04:47:43 -08:00
|
|
|
namespace Content.Shared.Chemistry.Components;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Allows the entity with this component to be placed in a <c>SharedReagentDispenserComponent</c>.
|
|
|
|
|
/// <para>Otherwise it's considered to be too large or the improper shape to fit.</para>
|
|
|
|
|
/// <para>Allows us to have obscenely large containers that are harder to abuse in chem dispensers
|
|
|
|
|
/// since they can't be placed directly in them.</para>
|
|
|
|
|
/// <see cref="Dispenser.SharedReagentDispenserComponent"/>
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
[NetworkedComponent] // only needed for white-lists. Client doesn't actually need Solution data;
|
|
|
|
|
public sealed partial class FitsInDispenserComponent : Component
|
2021-09-06 15:49:44 +02:00
|
|
|
{
|
2022-09-14 17:10:12 -07:00
|
|
|
/// <summary>
|
2023-12-29 04:47:43 -08:00
|
|
|
/// Solution name that will interact with ReagentDispenserComponent.
|
2022-09-14 17:10:12 -07:00
|
|
|
/// </summary>
|
2023-12-29 04:47:43 -08:00
|
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public string Solution = "default";
|
2021-09-06 15:49:44 +02:00
|
|
|
}
|