mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 08:37:26 +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>
43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
// SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
|
|
// SPDX-FileCopyrightText: 2025 Solstice <solsticeofthewinter@gmail.com>
|
|
// SPDX-FileCopyrightText: 2025 SolsticeOfTheWinter <solsticeofthewinter@gmail.com>
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
using Content.Shared.Actions;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared._Goobstation.CheatDeath;
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class CheatDeathComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// How many revives does this entity have remaining.
|
|
/// </summary>
|
|
[DataField]
|
|
public int ReviveAmount = 1;
|
|
|
|
/// <summary>
|
|
/// Self-explanatory.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool InfiniteRevives;
|
|
|
|
/// <summary>
|
|
/// Can this entity heal themselves while not being dead?
|
|
/// </summary>
|
|
[DataField]
|
|
public bool CanCheatStanding;
|
|
|
|
[DataField]
|
|
public EntProtoId ActionCheatDeath = "ActionCheatDeath";
|
|
|
|
[DataField]
|
|
public EntityUid? ActionEntity;
|
|
|
|
}
|
|
|
|
public sealed partial class CheatDeathEvent : InstantActionEvent { }
|