From 7c113617f39001f2d0151420fa911d3d1a4bdc27 Mon Sep 17 00:00:00 2001 From: RustingWithYou <63625389+RustingWithYou@users.noreply.github.com> Date: Sat, 13 Apr 2024 10:22:19 +1200 Subject: [PATCH] Adds TTS accent vocal cords to loadout (#18881) The synthetic vocal cords loadout item is now a selection, which allows players to pick the normal ones or cheaper/less advanced ones which set their accent to TTS. IPCs can also no longer take synthetic vocal cords because they're robots and don't really have normal vocal cords for it to replace. --- .../loadout/items/augments.dm | 13 ++++-- html/changelogs/RustingWithYou - beepboop.yml | 42 +++++++++++++++++++ 2 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 html/changelogs/RustingWithYou - beepboop.yml diff --git a/code/modules/client/preference_setup/loadout/items/augments.dm b/code/modules/client/preference_setup/loadout/items/augments.dm index b90690f09f2..0f6214b91b4 100644 --- a/code/modules/client/preference_setup/loadout/items/augments.dm +++ b/code/modules/client/preference_setup/loadout/items/augments.dm @@ -29,12 +29,19 @@ whitelisted = list(SPECIES_HUMAN, SPECIES_HUMAN_OFFWORLD, SPECIES_TAJARA, SPECIES_TAJARA_ZHAN, SPECIES_TAJARA_MSAI, SPECIES_IPC_SHELL) /datum/gear/augment/synthetic_cords - display_name = "synthetic vocal cords" - description = "Vocal cords of synthetic nature packed into an augment kit. This allows users who are mute due to structural damage of the throat to speak." + display_name = "synthetic vocal cords selection" + description = "Vocal cords of synthetic nature packed into an augment kit. This allows users who are mute due to structural damage of the throat to speak. The advanced model allows use of normal accents, while the cheaper basic model will set your accent to text-to-speech." path = /obj/item/organ/internal/augment/synthetic_cords - whitelisted = list(SPECIES_HUMAN, SPECIES_HUMAN_OFFWORLD, SPECIES_TAJARA, SPECIES_TAJARA_ZHAN, SPECIES_TAJARA_MSAI, SPECIES_SKRELL, SPECIES_SKRELL_AXIORI, SPECIES_IPC, SPECIES_IPC_G1, SPECIES_IPC_G2, SPECIES_IPC_XION, SPECIES_IPC_ZENGHU, SPECIES_IPC_BISHOP, SPECIES_IPC_SHELL, SPECIES_VAURCA_WORKER, SPECIES_VAURCA_WARRIOR, SPECIES_VAURCA_BULWARK, SPECIES_VAURCA_BREEDER, SPECIES_UNATHI) + whitelisted = list(SPECIES_HUMAN, SPECIES_HUMAN_OFFWORLD, SPECIES_TAJARA, SPECIES_TAJARA_ZHAN, SPECIES_TAJARA_MSAI, SPECIES_SKRELL, SPECIES_SKRELL_AXIORI, SPECIES_VAURCA_WORKER, SPECIES_VAURCA_WARRIOR, SPECIES_VAURCA_BULWARK, SPECIES_VAURCA_BREEDER, SPECIES_UNATHI) cost = 1 +/datum/gear/augment/synthetic_cords/New() + ..() + var/list/augs = list() + augs["synthetic vocal cords, basic"] = /obj/item/organ/internal/augment/synthetic_cords/voice + augs["synthetic vocal cords, advanced"] = /obj/item/organ/internal/augment/synthetic_cords + gear_tweaks += new /datum/gear_tweak/path(augs) + /datum/gear/augment/combitool display_name = "retractable combitool" description = "An augment that allows the user to deploy a robotic combitool." diff --git a/html/changelogs/RustingWithYou - beepboop.yml b/html/changelogs/RustingWithYou - beepboop.yml new file mode 100644 index 00000000000..91ccaa8f197 --- /dev/null +++ b/html/changelogs/RustingWithYou - beepboop.yml @@ -0,0 +1,42 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# Your name. +author: RustingWithYou + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - rscadd: "TTS accent synthetic vocal cords are now available in loadout." + - rscdel: "IPCs can no longer take synthetic vocal cords."