Decouples starting gear from UtilityAI (#8512)
This commit is contained in:
12
Content.Server/Clothing/Components/LoadoutComponent.cs
Normal file
12
Content.Server/Clothing/Components/LoadoutComponent.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Content.Shared.Roles;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Server.Clothing.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public sealed class LoadoutComponent : Component
|
||||
{
|
||||
[DataField("prototype", required: true, customTypeSerializer: typeof(PrototypeIdSerializer<StartingGearPrototype>))]
|
||||
public string Prototype = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user