2024-02-01 08:17:02 -04:00
|
|
|
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;
|
2024-02-01 08:17:02 -04:00
|
|
|
using Robust.Shared.Prototypes;
|
2022-07-14 19:45:27 -07:00
|
|
|
|
|
|
|
|
namespace Content.Server.Polymorph.Components;
|
|
|
|
|
|
|
|
|
|
[RegisterComponent]
|
2024-02-01 08:17:02 -04:00
|
|
|
[Access(typeof(PolymorphSystem))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class PolymorphOnCollideComponent : Component
|
2022-07-14 19:45:27 -07:00
|
|
|
{
|
2024-02-01 08:17:02 -04:00
|
|
|
[DataField(required: true)]
|
|
|
|
|
public ProtoId<PolymorphPrototype> Polymorph;
|
2022-07-14 19:45:27 -07:00
|
|
|
|
2024-02-01 08:17:02 -04:00
|
|
|
[DataField(required: true)]
|
2022-07-14 19:45:27 -07:00
|
|
|
public EntityWhitelist Whitelist = default!;
|
|
|
|
|
|
2024-02-01 08:17:02 -04:00
|
|
|
[DataField]
|
2022-07-14 19:45:27 -07:00
|
|
|
public EntityWhitelist? Blacklist;
|
|
|
|
|
|
2024-02-01 08:17:02 -04:00
|
|
|
[DataField]
|
2022-07-14 19:45:27 -07:00
|
|
|
public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/Magic/forcewall.ogg");
|
|
|
|
|
}
|