Skip to content

Commit

Permalink
Adds TTS accent vocal cords to loadout (#18881)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
RustingWithYou authored Apr 12, 2024
1 parent 5888de6 commit 7c11361
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 3 deletions.
13 changes: 10 additions & 3 deletions code/modules/client/preference_setup/loadout/items/augments.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
42 changes: 42 additions & 0 deletions html/changelogs/RustingWithYou - beepboop.yml
Original file line number Diff line number Diff line change
@@ -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."

0 comments on commit 7c11361

Please sign in to comment.