Use linter for vendingmachinetest (#12445)

Probably fixes the dependency issue
This commit is contained in:
metalgearsloth
2022-11-09 07:39:15 +11:00
committed by GitHub
parent 42de86ea85
commit 18961f79c2
2 changed files with 4 additions and 44 deletions

View File

@@ -1,5 +1,6 @@
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Dictionary;
namespace Content.Shared.VendingMachines
{
@@ -10,13 +11,13 @@ namespace Content.Shared.VendingMachines
[IdDataField]
public string ID { get; } = default!;
[DataField("startingInventory")]
[DataField("startingInventory", customTypeSerializer:typeof(PrototypeIdDictionarySerializer<uint, EntityPrototype>))]
public Dictionary<string, uint> StartingInventory { get; } = new();
[DataField("emaggedInventory")]
[DataField("emaggedInventory", customTypeSerializer:typeof(PrototypeIdDictionarySerializer<uint, EntityPrototype>))]
public Dictionary<string, uint>? EmaggedInventory { get; }
[DataField("contrabandInventory")]
[DataField("contrabandInventory", customTypeSerializer:typeof(PrototypeIdDictionarySerializer<uint, EntityPrototype>))]
public Dictionary<string, uint>? ContrabandInventory { get; }
}
}