Adds Sign Language Quirk (#711)

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
SkyratBot
2020-09-09 08:43:01 +02:00
committed by GitHub
co-authored by LemonInTheDark Azarak
parent 42116e5e36
commit 439207100a
14 changed files with 168 additions and 6 deletions
@@ -385,6 +385,17 @@
/obj/item/organ/ears/cat = 1)
category = CAT_CLOTHING
/datum/crafting_recipe/radiogloves
name = "Translation Gloves"
result = /obj/item/clothing/gloves/radio
time = 15
reqs = list(/obj/item/clothing/gloves/color/black = 1,
/obj/item/stack/cable_coil = 2,
/obj/item/radio = 1)
tools = list(TOOL_WIRECUTTER)
category = CAT_CLOTHING
/datum/crafting_recipe/mixedbouquet
name = "Mixed bouquet"
result = /obj/item/bouquet
@@ -414,6 +425,7 @@
parts = list(/obj/item/camera = 1)
category = CAT_MISC
/datum/crafting_recipe/skateboard
name = "Skateboard"
result = /obj/vehicle/ridden/scooter/skateboard
+24
View File
@@ -244,3 +244,27 @@
SIGNAL_HANDLER
SEND_SIGNAL(quirk_holder, COMSIG_ADD_MOOD_EVENT, "bad_hair_day", /datum/mood_event/bald)
/datum/quirk/tongue_tied
name = "Tongue Tied"
desc = "Due to a past incident, your ability to communicate has been relegated to your hands."
value = 0
medical_record_text = "During physical examination, patient's tongue was found to be uniquely damaged."
//Adds tongue & gloves
/datum/quirk/tongue_tied/on_spawn()
var/mob/living/carbon/human/H = quirk_holder
var/obj/item/organ/tongue/old_tongue = locate() in H.internal_organs
var/obj/item/organ/tongue/tied/new_tongue = new(get_turf(H))
var/obj/item/clothing/gloves/radio/gloves = new(get_turf(H))
old_tongue.Remove(H)
new_tongue.Insert(H)
qdel(old_tongue)
H.put_in_hands(gloves)
H.equip_to_slot(gloves, ITEM_SLOT_GLOVES)
H.regenerate_icons()
/datum/quirk/tongue_tied/post_add()
to_chat(quirk_holder, "<span class='boldannounce'>Because you speak with your hands, having them full hinders your ability to communicate!</span>")