Files
OldThink/Content.Server/Polymorph/Components/PolymorphOnCollideComponent.cs

25 lines
663 B
C#
Raw Normal View History

using Content.Server.Polymorph.Systems;
2022-07-29 14:13:12 +12:00
using Content.Shared.Polymorph;
2022-07-14 19:45:27 -07:00
using Content.Shared.Whitelist;
2022-07-29 14:13:12 +12:00
using Robust.Shared.Audio;
using Robust.Shared.Prototypes;
2022-07-14 19:45:27 -07:00
namespace Content.Server.Polymorph.Components;
[RegisterComponent]
[Access(typeof(PolymorphSystem))]
public sealed partial class PolymorphOnCollideComponent : Component
2022-07-14 19:45:27 -07:00
{
[DataField(required: true)]
public ProtoId<PolymorphPrototype> Polymorph;
2022-07-14 19:45:27 -07:00
[DataField(required: true)]
2022-07-14 19:45:27 -07:00
public EntityWhitelist Whitelist = default!;
[DataField]
2022-07-14 19:45:27 -07:00
public EntityWhitelist? Blacklist;
[DataField]
2022-07-14 19:45:27 -07:00
public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/Magic/forcewall.ogg");
}