fixes https://github.com/space-wizards/space-station-14/issues/13338 fixes https://github.com/space-wizards/space-station-14/issues/13337
16 lines
443 B
C#
16 lines
443 B
C#
namespace Content.Server.Explosion.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed class TriggerOnCollideComponent : Component
|
|
{
|
|
[DataField("fixtureID", required: true)]
|
|
public string FixtureID = String.Empty;
|
|
|
|
/// <summary>
|
|
/// Doesn't trigger if the other colliding fixture is nonhard.
|
|
/// </summary>
|
|
[DataField("ignoreOtherNonHard")]
|
|
public bool IgnoreOtherNonHard = true;
|
|
}
|
|
}
|