mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 21:48:58 +03:00
* Cleanups PolymorphSystem * forgot this * Nah * Fix test --------- Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> (cherry picked from commit b8f0ed3975a4b887ca8dd75dcc07e0ac5ee11646)
25 lines
663 B
C#
25 lines
663 B
C#
using Content.Server.Polymorph.Systems;
|
|
using Content.Shared.Polymorph;
|
|
using Content.Shared.Whitelist;
|
|
using Robust.Shared.Audio;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Polymorph.Components;
|
|
|
|
[RegisterComponent]
|
|
[Access(typeof(PolymorphSystem))]
|
|
public sealed partial class PolymorphOnCollideComponent : Component
|
|
{
|
|
[DataField(required: true)]
|
|
public ProtoId<PolymorphPrototype> Polymorph;
|
|
|
|
[DataField(required: true)]
|
|
public EntityWhitelist Whitelist = default!;
|
|
|
|
[DataField]
|
|
public EntityWhitelist? Blacklist;
|
|
|
|
[DataField]
|
|
public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/Magic/forcewall.ogg");
|
|
}
|