From b8018065bc3403f295a2bea649b17926decf81a7 Mon Sep 17 00:00:00 2001 From: Anewbe Date: Fri, 11 Nov 2016 15:43:03 -0600 Subject: [PATCH] Ports sign language --- code/modules/mob/hear_say.dm | 4 +-- code/modules/mob/language/generic.dm | 8 ++++++ html/changelogs/TheGreyWolf - Sign.yml | 36 ++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 html/changelogs/TheGreyWolf - Sign.yml diff --git a/code/modules/mob/hear_say.dm b/code/modules/mob/hear_say.dm index 711b3a13d0..a5f5836e12 100644 --- a/code/modules/mob/hear_say.dm +++ b/code/modules/mob/hear_say.dm @@ -215,9 +215,9 @@ return if(say_understands(speaker, language)) - message = "[src] [verb], \"[message]\"" + message = "[speaker] [verb], \"[message]\"" else - message = "[src] [verb]." + message = "[speaker] [verb]." if(src.status_flags & PASSEMOTES) for(var/obj/item/weapon/holder/H in src.contents) diff --git a/code/modules/mob/language/generic.dm b/code/modules/mob/language/generic.dm index 1b07e4ed8c..048f76ff51 100644 --- a/code/modules/mob/language/generic.dm +++ b/code/modules/mob/language/generic.dm @@ -113,3 +113,11 @@ "le", "me", "nd", "ne", "ng", "nt", "on", "or", "ou", "re", "se", "st", "te", "th", "ti", "to", "ve", "wa", "all", "and", "are", "but", "ent", "era", "ere", "eve", "for", "had", "hat", "hen", "her", "hin", "his", "ing", "ion", "ith", "not", "ome", "oul", "our", "sho", "ted", "ter", "tha", "the", "thi") + +/datum/language/sign + name = "Sign Language" + desc = "A sign language commonly used for those who are deaf or mute." + signlang_verb = list("signs") + colour = "say_quote" + key = "s" + flags = SIGNLANG|NO_STUTTER|NO_TALK_MSG \ No newline at end of file diff --git a/html/changelogs/TheGreyWolf - Sign.yml b/html/changelogs/TheGreyWolf - Sign.yml new file mode 100644 index 0000000000..93e687ebf8 --- /dev/null +++ b/html/changelogs/TheGreyWolf - Sign.yml @@ -0,0 +1,36 @@ +################################ +# 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 +################################# + +# Your name. +author: TheGreyWolf + +# 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: "Added Sign language, which can be selected from character setup." \ No newline at end of file