using Content.Shared.Polymorph; using Robust.Shared.Prototypes; namespace Content.Shared.EntityEffects.Effects; /// public sealed partial class Polymorph : EntityEffectBase { /// /// What polymorph prototype is used on effect /// [DataField(required: true)] public ProtoId Prototype; public override string EntityEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys) => Loc.GetString("entity-effect-guidebook-make-polymorph", ("chance", Probability), ("entityname", prototype.Index(prototype.Index(Prototype).Configuration.Entity).Name)); }