This commit is contained in:
committed by
GitHub
parent
c5f7c61041
commit
cecf87997b
@@ -7,7 +7,7 @@ namespace Content.Server.Fluids.Components;
|
||||
/// <summary>
|
||||
/// For entities that can clean up puddles
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(MoppingSystem))]
|
||||
[RegisterComponent, Friend(typeof(MoppingSystem))]
|
||||
public sealed class AbsorbentComponent : Component
|
||||
{
|
||||
public const string SolutionName = "absorbed";
|
||||
|
||||
@@ -4,7 +4,7 @@ using Content.Shared.FixedPoint;
|
||||
namespace Content.Server.Fluids.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[Access(typeof(EvaporationSystem))]
|
||||
[Friend(typeof(EvaporationSystem))]
|
||||
public sealed class EvaporationComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -4,7 +4,7 @@ using Content.Shared.Chemistry.Components;
|
||||
namespace Content.Server.Fluids.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
[Access(typeof(FluidSpreaderSystem))]
|
||||
[Friend(typeof(FluidSpreaderSystem))]
|
||||
public sealed class FluidSpreaderComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Content.Server.Fluids.Components
|
||||
/// Puddle on a floor
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
[Access(typeof(PuddleSystem))]
|
||||
[Friend(typeof(PuddleSystem))]
|
||||
public sealed class PuddleComponent : Component
|
||||
{
|
||||
public const string DefaultSolutionName = "puddle";
|
||||
|
||||
@@ -7,7 +7,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
namespace Content.Server.Fluids.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
[Access(typeof(SpraySystem))]
|
||||
[Friend(typeof(SpraySystem))]
|
||||
public sealed class SprayComponent : Component
|
||||
{
|
||||
public const string SolutionName = "spray";
|
||||
@@ -32,6 +32,5 @@ public sealed class SprayComponent : Component
|
||||
[DataField("impulse")] public float Impulse;
|
||||
|
||||
[DataField("spraySound", required: true)]
|
||||
[Access(typeof(SpraySystem), Other = AccessPermissions.ReadExecute)] // FIXME Friends
|
||||
public SoundSpecifier SpraySound { get; } = default!;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user