mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
* 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>
38 lines
1.0 KiB
C#
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
|
|
}
|