Files
Delta-v/Content.Server/_Shitmed/DelayedDeath/DelayedDeathComponent.cs
T
William LemonandTobias Berger f563f2c566 Ports Devils from Goobstation (#4639)
* or your debil

* Woop

* Whoops, Missed this

* Whoops, Suicide System

* Hush... Extended tests... Hush

* AAAAAA

* No-longer jaunt whilst dead

* :)

* Update Content.Shared/_Lavaland/Chasm/PreventChasmFallingSystem.cs

Co-authored-by: Tobias Berger <toby@tobot.dev>
Signed-off-by: William Lemon <William.Lemon2@gmail.com>

* Update Content.Server/_Goobstation/Possession/PossessionSystem.cs

Co-authored-by: Tobias Berger <toby@tobot.dev>
Signed-off-by: William Lemon <William.Lemon2@gmail.com>

* Please tobysenpai forgive me

---------

Signed-off-by: William Lemon <William.Lemon2@gmail.com>
Co-authored-by: Tobias Berger <toby@tobot.dev>
2025-11-20 10:11:07 +01:00

38 lines
1.0 KiB
C#

namespace Content.Server._Shitmed.DelayedDeath;
[RegisterComponent]
public sealed partial class DelayedDeathComponent : Component
{
/// <summary>
/// How long it takes to kill the entity.
/// </summary>
[DataField]
public float DeathTime = 60;
/// <summary>
/// How long it has been since the delayed death timer started.
/// </summary>
public float DeathTimer;
// Goobstation additions below
/// <summary>
/// If true, will prevent *almost* all types of revival.
/// Right now, this just means it won't allow devils to revive.
/// </summary>
[DataField]
public bool PreventAllRevives;
/// <summary>
/// What message is displayed when the time runs out - Goobstation
/// </summary>
[DataField]
public LocId DeathMessageId;
/// <summary>
/// What the defib displays when attempting to revive this entity. - Goobstation
/// </summary>
[DataField]
public LocId DefibFailMessageId = "defibrillator-missing-organs";
// End Goobstation additions
}