]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Add codeword highlighting (#30092)
authorSlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Fri, 23 Aug 2024 09:14:38 +0000 (11:14 +0200)
committerGitHub <noreply@github.com>
Fri, 23 Aug 2024 09:14:38 +0000 (11:14 +0200)
commit61a1e89339d0187f1a59b37284108935669c6826
treefa57714bc4e78c09ab0e492a1e2f34ddd2e0b8f9
parent7b5c6be67493ce72684d19ddee6ecae59b2840d5
Add codeword highlighting (#30092)

* Added codeword highlighting

* Updated to support more codeword roles, color is set serverside

* Review feedback

* Change to a Component-based system using SessionSpecific

* Tidied up CanGetState, set Access restrictions on component

* Clean-up

* Makes the injection ignore brackets, restore some codewords, remove "Taste/Touch" from adjectives
Content.Client/Roles/RoleCodewordSystem.cs [new file with mode: 0644]
Content.Client/UserInterface/Systems/Chat/ChatUIController.cs
Content.Server/GameTicking/Rules/TraitorRuleSystem.cs
Content.Server/Roles/RoleCodeword/RoleCodewordSystem.cs [new file with mode: 0644]
Content.Shared/Chat/SharedChatSystem.cs
Content.Shared/Roles/RoleCodeword/RoleCodewordComponent.cs [new file with mode: 0644]
Content.Shared/Roles/RoleCodeword/SharedRoleCodewordSystem.cs [new file with mode: 0644]
Resources/Prototypes/Datasets/adjectives.yml
Resources/Prototypes/Datasets/verbs.yml