mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-09 07:47:34 +00:00
* Initial commit * Add sound * Review commets * addressing review * I think this is what Slart meant? * Review fixes * More fixes * tiny formatting * Review fixes * Review fixes * Fix small timing error * Follow new action system * review --------- Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> Co-authored-by: ScarKy0 <scarky0@onet.eu>
20 lines
555 B
C#
20 lines
555 B
C#
using Content.Shared.Damage;
|
|
using Content.Shared._Shitmed.Targeting; // Shitmed
|
|
|
|
namespace Content.Server.Damage.Components;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class DamageUserOnTriggerComponent : Component
|
|
{
|
|
[DataField("ignoreResistances")] public bool IgnoreResistances;
|
|
|
|
[DataField("damage", required: true)]
|
|
public DamageSpecifier Damage = default!;
|
|
|
|
/// <summary>
|
|
/// Shitmed Change: Lets mousetraps, etc. target the feet.
|
|
/// </summary>
|
|
[DataField]
|
|
public TargetBodyPart? TargetPart = TargetBodyPart.Feet;
|
|
}
|