]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Split codewords into its own system (#37928)
authorSimon <63975668+Simyon264@users.noreply.github.com>
Thu, 5 Jun 2025 23:19:41 +0000 (01:19 +0200)
committerGitHub <noreply@github.com>
Thu, 5 Jun 2025 23:19:41 +0000 (19:19 -0400)
commitd7d7a6c80eb19e5a58f4183f8af8066dd2cbeb78
tree06d5349785f8a4174f92839ab24d66ecea1edc7b
parentdb38a9c945c0ff9810df9061d71a63176914f8e5
Split codewords into its own system (#37928)

* Split codewords into its own system

* Fix admin log

* Nuke unused code

* Fix formatting errors

* Fix tests

* Make the codeword system add itself if called when not active

* Put comment in right place.

* Review: Rename prototypes

* Review: Make codewords serializable

* Fix build

* Reviews: Change the system to not be a gamerule.

* Fix YAML Linter

* Fix test fail

* Remove unused import
12 files changed:
Content.Client/Entry/EntryPoint.cs
Content.Server/Codewords/CodewordComponent.cs [new file with mode: 0644]
Content.Server/Codewords/CodewordFactionPrototype.cs [new file with mode: 0644]
Content.Server/Codewords/CodewordGeneratorPrototype.cs [new file with mode: 0644]
Content.Server/Codewords/CodewordManagerComponent.cs [new file with mode: 0644]
Content.Server/Codewords/CodewordSystem.cs [new file with mode: 0644]
Content.Server/GameTicking/Rules/Components/TraitorRuleComponent.cs
Content.Server/GameTicking/Rules/TraitorRuleSystem.cs
Content.Server/Traitor/Components/TraitorCodePaperComponent.cs
Content.Server/Traitor/Systems/TraitorCodePaperSystem.cs
Resources/Prototypes/Codewords/codeword_factions.yml [new file with mode: 0644]
Resources/Prototypes/Codewords/codeword_generators.yml [new file with mode: 0644]