mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
Can now whisper while restrained (#10591)
This commit is contained in:
@@ -316,13 +316,16 @@ var/global/list/default_medbay_channels = list(
|
||||
if (iscarbon(M))
|
||||
var/mob/living/carbon/C = M
|
||||
if ((CE_UNDEXTROUS in C.chem_effects) || C.stunned >= 10)
|
||||
to_chat(M, SPAN_WARNING("Your can't move your arms enough to activate the radio..."))
|
||||
to_chat(M, SPAN_WARNING("You can't move your arms enough to activate the radio..."))
|
||||
return
|
||||
if(iszombie(M))
|
||||
to_chat(M, SPAN_WARNING("Try as you might, you cannot will your decaying body into operating \the [src]."))
|
||||
return FALSE
|
||||
|
||||
if(istype(M))
|
||||
if(M.restrained())
|
||||
to_chat(M, SPAN_WARNING("You can't speak into \the [src.name] while restrained."))
|
||||
return FALSE
|
||||
M.trigger_aiming(TARGET_CAN_RADIO)
|
||||
|
||||
// Uncommenting this. To the above comment:
|
||||
|
||||
Reference in New Issue
Block a user