mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Having a facehugger on your face muffles your speech (#19145)
* Having a facehugger on your face muffles your speech * Scoped to living * Yes.
This commit is contained in:
@@ -94,6 +94,10 @@
|
||||
if(message)
|
||||
to_chat(src, "<span class='warning'>The muzzle prevents you from vomiting!</span>")
|
||||
return FALSE
|
||||
if(is_facehugged())
|
||||
if(message)
|
||||
to_chat(src, "<span class='warning'>You try to throw up, but the alien's proboscis obstructs your throat!</span>") //Sorry
|
||||
return FALSE
|
||||
if(stun)
|
||||
Stun(8 SECONDS)
|
||||
if(nutrition < 100 && !blood)
|
||||
@@ -848,6 +852,9 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
|
||||
/mob/living/carbon/is_muzzled()
|
||||
return(istype(wear_mask, /obj/item/clothing/mask/muzzle))
|
||||
|
||||
/mob/living/carbon/is_facehugged()
|
||||
return istype(wear_mask, /obj/item/clothing/mask/facehugger)
|
||||
|
||||
/mob/living/carbon/resist_buckle()
|
||||
INVOKE_ASYNC(src, .proc/resist_muzzle)
|
||||
var/obj/item/I = get_restraining_item()
|
||||
|
||||
@@ -798,6 +798,9 @@
|
||||
/mob/living/proc/get_visible_name()
|
||||
return name
|
||||
|
||||
/mob/living/proc/is_facehugged()
|
||||
return FALSE
|
||||
|
||||
/mob/living/update_gravity(has_gravity)
|
||||
if(!SSticker)
|
||||
return
|
||||
|
||||
@@ -174,6 +174,10 @@ GLOBAL_LIST_EMPTY(channel_to_radio_key)
|
||||
muffledspeech_all(message_pieces)
|
||||
verb = "mumbles"
|
||||
|
||||
if(is_facehugged())
|
||||
muffledspeech_all(message_pieces)
|
||||
verb = "gurgles"
|
||||
|
||||
if(!ignore_speech_problems)
|
||||
var/list/hsp = handle_speech_problems(message_pieces, verb)
|
||||
verb = hsp["verb"]
|
||||
@@ -328,6 +332,10 @@ GLOBAL_LIST_EMPTY(channel_to_radio_key)
|
||||
to_chat(src, "<span class='danger'>You're muzzled and cannot speak!</span>")
|
||||
return
|
||||
|
||||
if(is_facehugged())
|
||||
to_chat(src, "<span class='danger'>You can't get a word out with this horrible creature on your face!</span>")
|
||||
return
|
||||
|
||||
var/message = multilingual_to_message(message_pieces)
|
||||
|
||||
say_log += "whisper: [message]"
|
||||
|
||||
@@ -957,7 +957,7 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
|
||||
return gender
|
||||
|
||||
/mob/proc/is_muzzled()
|
||||
return 0
|
||||
return FALSE
|
||||
|
||||
/mob/Stat()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user