]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Prevent admin-frozen players from ghosting or suiciding, add "Freeze And Mute" verb...
authorno <165581243+pissdemon@users.noreply.github.com>
Sun, 12 May 2024 14:35:30 +0000 (16:35 +0200)
committerGitHub <noreply@github.com>
Sun, 12 May 2024 14:35:30 +0000 (10:35 -0400)
commit37099e481e3341bcf82939a677ef5c0df458abbb
tree7f3b3c37e8eb713f5545f84f789475ad9f7d6566
parent855234aa309b0329e1435466b09b85448fa31178
Prevent admin-frozen players from ghosting or suiciding, add "Freeze And Mute" verb (#27813)

* prevent admin-frozen players from ghosting or suiciding

* Add "Freeze and Mute" admin verb

* Allow "Freeze And Mute" admin verb when player is already frozen but not muted

* Remove redundant scream handler (scream action just emotes, duh)

* AdminFrozenSystem: clean imports

* Update Content.Server/Chat/Commands/SuicideCommand.cs

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
* Update Ghost.cs

* retrigger ci (empty commit)

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Content.Client/Administration/Systems/AdminFrozenSystem.cs [new file with mode: 0644]
Content.Server/Administration/Systems/AdminFrozenSystem.cs [new file with mode: 0644]
Content.Server/Administration/Systems/AdminVerbSystem.cs
Content.Server/Chat/Commands/SuicideCommand.cs
Content.Server/Ghost/Ghost.cs
Content.Shared/Administration/AdminFrozenComponent.cs
Content.Shared/Administration/SharedAdminFrozenSystem.cs [moved from Content.Shared/Administration/AdminFrozenSystem.cs with 78% similarity]
Resources/Locale/en-US/administration/admin-verbs.ftl
Resources/Locale/en-US/chat/commands/ghost-command.ftl [new file with mode: 0644]
Resources/Locale/en-US/chat/commands/suicide-command.ftl