From ccefe6722fa57372753fd0d54c911b6e667346ba Mon Sep 17 00:00:00 2001 From: FoxxoTrystan Date: Tue, 16 Jul 2024 19:51:29 +0200 Subject: [PATCH] ScugSign --- Resources/Locale/en-US/language/languages.ftl | 3 +++ Resources/Locale/en-US/language/sign-language.ftl | 8 ++++++++ .../Entities/Objects/Devices/translators.yml | 1 + .../Prototypes/Floof/Entities/Mobs/NPCs/scugcat.yml | 12 ++++++------ Resources/Prototypes/Language/languages.yml | 10 ++++++++++ 5 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 Resources/Locale/en-US/language/sign-language.ftl diff --git a/Resources/Locale/en-US/language/languages.ftl b/Resources/Locale/en-US/language/languages.ftl index 69c5d0a4a76..fe4bb1df519 100644 --- a/Resources/Locale/en-US/language/languages.ftl +++ b/Resources/Locale/en-US/language/languages.ftl @@ -69,3 +69,6 @@ language-Crab-description = Click! language-Kobold-name = Kobold language-Kobold-description = Hiss! + +language-ScugSign-name = ScugSign +language-ScugSign-description = Wawa! The secret ScugSign making you able to understand your fellows scug! diff --git a/Resources/Locale/en-US/language/sign-language.ftl b/Resources/Locale/en-US/language/sign-language.ftl new file mode 100644 index 00000000000..3aecd2e0090 --- /dev/null +++ b/Resources/Locale/en-US/language/sign-language.ftl @@ -0,0 +1,8 @@ +entity-signlanguage-message = [italic]{$entityName} signs "[BubbleContent]{$message}[/BubbleContent]"[/italic] + +language-signlanguage-1 = [italic]{$entityName} signs something.[/italic] +language-signlanguage-2 = [italic]{$entityName} makes weird hand gestures.[/italic] + +language-scugsign-1 = [italic]{$entityName} signs something.[/italic] +language-scugsign-2 = [italic]{$entityName} gestures something.[/italic] +language-scugsign-3 = [italic]{$entityName} makes jumping gestures.[/italic] diff --git a/Resources/Prototypes/Entities/Objects/Devices/translators.yml b/Resources/Prototypes/Entities/Objects/Devices/translators.yml index 664626ea4b4..445cd7a90a6 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/translators.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/translators.yml @@ -201,6 +201,7 @@ - Pig - Crab - Kobold + - ScugSign requires: - GalacticCommon setLanguageOnInteract: false diff --git a/Resources/Prototypes/Floof/Entities/Mobs/NPCs/scugcat.yml b/Resources/Prototypes/Floof/Entities/Mobs/NPCs/scugcat.yml index 941bbee262e..751d09d6199 100644 --- a/Resources/Prototypes/Floof/Entities/Mobs/NPCs/scugcat.yml +++ b/Resources/Prototypes/Floof/Entities/Mobs/NPCs/scugcat.yml @@ -93,12 +93,12 @@ factions: - Cat - Passive - # - type: LanguageKnowledge - # speaks: - # - ScugSign - # understands: - # - ScugSign - # - Cat + - type: LanguageKnowledge + speaks: + - ScugSign + understands: + - ScugSign + - Cat - type: palette id: ScugCatColors diff --git a/Resources/Prototypes/Language/languages.yml b/Resources/Prototypes/Language/languages.yml index 048fdc6f24c..9187b49ab1d 100644 --- a/Resources/Prototypes/Language/languages.yml +++ b/Resources/Prototypes/Language/languages.yml @@ -567,3 +567,13 @@ - hiss - ss - ee + +- type: language + id: ScugSign + signLanguage: true + obfuscation: + !type:ReplacementObfuscation + replacement: + - "language-scugsign-1" + - "language-scugsign-2" + - "language-scugsign-3"