Files
30b306b9ce0c78ddf1a7f91ec7b2f8fa2e84fe9e
19 lines
467 B
C#
19 lines
467 B
C#
using Content.Shared.Polymorph;
|
|||
using Robust.Shared.Prototypes;
|
|||
|
|||
namespace Content.Server.Polymorph.Components;
|
|||
|
|||
/// <summary>
|
|||
/// Intended for use with the trigger system.
|
|||
/// Polymorphs the user of the trigger.
|
|||
/// </summary>
|
|||
[RegisterComponent]
|
|||
public sealed partial class PolymorphOnTriggerComponent : Component
|
|||
{
|
|||
/// <summary>
|
|||
/// Polymorph settings.
|
|||
/// </summary>
|
|||
[DataField(required: true)]
|
|||
public ProtoId<PolymorphPrototype> Polymorph;
|
|||
}
|