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
This commit is contained in:
Simon
2025-06-06 01:19:41 +02:00
committed by GitHub
parent db38a9c945
commit d7d7a6c80e
12 changed files with 216 additions and 58 deletions

View File

@@ -0,0 +1,3 @@
- type: codewordFaction
id: Traitor
generator: TraitorCodewordGenerator

View File

@@ -0,0 +1,6 @@
- type: codewordGenerator
id: TraitorCodewordGenerator
words:
- Adjectives
- Verbs
amount: 4