Rework wheelchairbound (#24173)

* Rework wheelchairbound

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

* weh
This commit is contained in:
metalgearsloth
2024-01-19 16:18:19 +11:00
committed by GitHub
parent 4b77d5519a
commit 243491dd59
5 changed files with 35 additions and 36 deletions

View File

@@ -0,0 +1,14 @@
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;
}