White Cane for Blind People (#16318)

This commit is contained in:
forkeyboards
2023-05-12 23:11:35 -04:00
committed by GitHub
parent 0c4002bbd3
commit e72db80060
10 changed files with 77 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
using Content.Shared.Whitelist;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using static Robust.Shared.Prototypes.EntityPrototype; // don't worry about it
namespace Content.Shared.Traits
@@ -43,5 +44,11 @@ namespace Content.Shared.Traits
/// </summary>
[DataField("components")]
public ComponentRegistry Components { get; } = default!;
/// <summary>
/// Gear that is given to the player, when they pick this trait.
/// </summary>
[DataField("traitGear", required: false, customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
public string TraitGear = string.Empty;
}
}