* Add respawn action for ghosts with confirmation popup Introduces a new respawn action for ghosts, allowing them to return to the lobby and respawn as a new character. Adds supporting systems, localization, prototype definitions, and an icon for the action. The action includes a confirmation popup to prevent accidental use. * Prevent respawning with the same character in a round Introduces a system to block players from rejoining a round with a character that has already died, notifying them with a localized message. Refactors and moves respawn-related localization strings to new files for both English and Russian. * Prevent admins from character reuse restriction Added a check in CP14RespawnSystem to allow admins to bypass the restriction that prevents the same character from re-entering the round. This ensures that admin users are not limited by the character reuse logic.
8 lines
143 B
C#
8 lines
143 B
C#
using Content.Shared.Actions;
|
|
|
|
namespace Content.Shared._CP14.Respawn;
|
|
|
|
public sealed partial class CP14RespawnAction : InstantActionEvent
|
|
{
|
|
}
|