Fix being able to set spray amounts in bottles and vapor sprites (#16795)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Content.Server.Fluids.EntitySystems;
|
||||
using Content.Shared.FixedPoint;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
@@ -11,6 +12,9 @@ public sealed class SprayComponent : Component
|
||||
{
|
||||
public const string SolutionName = "spray";
|
||||
|
||||
[DataField("transferAmount")]
|
||||
public FixedPoint2 TransferAmount = 10;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("sprayDistance")]
|
||||
public float SprayDistance = 3.5f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user