De-duplicate loadout gear (#30341)
* De-duplicate loadout gear Needs supporting code, probably with an interface with StartingGearPrototype which would also use it, but I regexed the yaml. * Code updates * Remaining yaml * Fix automatic naming * raiseEvent * Don't code when tired kids
This commit is contained in:
@@ -87,8 +87,8 @@ namespace Content.Shared.Roles
|
||||
[DataField("antagAdvantage")]
|
||||
public int AntagAdvantage = 0;
|
||||
|
||||
[DataField("startingGear", customTypeSerializer: typeof(PrototypeIdSerializer<StartingGearPrototype>))]
|
||||
public string? StartingGear { get; private set; }
|
||||
[DataField]
|
||||
public ProtoId<StartingGearPrototype>? StartingGear { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Use this to spawn in as a non-humanoid (borg, test subject, etc.)
|
||||
|
||||
Reference in New Issue
Block a user