Files
wwdpublic/Content.Server/Traits/Assorted/BuckleOnMapInitComponent.cs
metalgearsloth 831427e90e Rework wheelchairbound (#24173)
* Rework wheelchairbound

Fixes the save/load bug and fixes it being a singleton.

* weh

(cherry picked from commit 243491dd596ffad3698d1d00a645195f2224386f)
2024-01-26 23:07:23 +01:00

15 lines
416 B
C#

using Robust.Shared.Prototypes;
namespace Content.Server.Traits.Assorted;
/// <summary>
/// Upon MapInit buckles the attached entity to a newly spawned prototype.
/// </summary>
[RegisterComponent, Access(typeof(BuckleOnMapInitSystem))]
public sealed partial class BuckleOnMapInitComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
[DataField(required: true)]
public EntProtoId Prototype;
}