Emp more effects (#14550)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -3,6 +3,7 @@ using Content.Shared.Actions.ActionTypes;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Shared.VendingMachines
|
||||
@@ -115,6 +116,12 @@ namespace Content.Shared.VendingMachines
|
||||
public float DenyAccumulator = 0f;
|
||||
public float DispenseOnHitAccumulator = 0f;
|
||||
|
||||
/// <summary>
|
||||
/// While disabled by EMP it randomly ejects items
|
||||
/// </summary>
|
||||
[DataField("nextEmpEject", customTypeSerializer: typeof(TimeOffsetSerializer))]
|
||||
public TimeSpan NextEmpEject = TimeSpan.Zero;
|
||||
|
||||
#region Client Visuals
|
||||
/// <summary>
|
||||
/// RSI state for when the vending machine is unpowered.
|
||||
|
||||
Reference in New Issue
Block a user