Emaggable vendors + Familiars for Chaplain (#6961)
This commit is contained in:
@@ -9,6 +9,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
using Robust.Shared.ViewVariables;
|
||||
using Content.Server.VendingMachines.systems;
|
||||
using static Content.Shared.Wires.SharedWiresComponent;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Server.VendingMachines
|
||||
{
|
||||
@@ -16,9 +17,10 @@ namespace Content.Server.VendingMachines
|
||||
public sealed class VendingMachineComponent : SharedVendingMachineComponent, IWires
|
||||
{
|
||||
public bool Ejecting;
|
||||
public bool Emagged = false;
|
||||
public TimeSpan AnimationDuration = TimeSpan.Zero;
|
||||
[DataField("pack")]
|
||||
public string PackPrototypeId = string.Empty;
|
||||
[ViewVariables] [DataField("pack", customTypeSerializer:typeof(PrototypeIdSerializer<VendingMachineInventoryPrototype>))] public string PackPrototypeId = string.Empty;
|
||||
[ViewVariables] [DataField("emagPack", customTypeSerializer:typeof(PrototypeIdSerializer<VendingMachineInventoryPrototype>))] public string EmagPackPrototypeId = string.Empty;
|
||||
public string SpriteName = "";
|
||||
public bool Broken;
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user