mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-31 00:49:06 +01:00
Cuts down on pain and halloss message spam, especially from Xenobio monkeys. (#14078)
This commit is contained in:
@@ -87,10 +87,11 @@
|
||||
|
||||
if(ismob(user))
|
||||
var/mob/M = user
|
||||
var/check_ghost_hearing = M.client ? GHOSTS_ALL_HEAR : ONLY_GHOSTS_IN_VIEW
|
||||
if(message_type == AUDIBLE_MESSAGE)
|
||||
M.audible_message(message = use_3p, self_message = use_1p, deaf_message = emote_message_impaired, hearing_distance = use_range)
|
||||
M.audible_message(message = use_3p, self_message = use_1p, deaf_message = emote_message_impaired, hearing_distance = use_range, ghost_hearing = check_ghost_hearing)
|
||||
else
|
||||
M.visible_message(message = use_3p, self_message = use_1p, blind_message = emote_message_impaired, range = use_range)
|
||||
M.visible_message(message = use_3p, self_message = use_1p, blind_message = emote_message_impaired, range = use_range, show_observers = FALSE)
|
||||
|
||||
do_extra(user, target)
|
||||
|
||||
|
||||
@@ -757,7 +757,7 @@
|
||||
handle_hallucinations()
|
||||
|
||||
if(get_shock() >= species.total_health)
|
||||
if(!stat)
|
||||
if(!stat && !paralysis)
|
||||
to_chat(src, "<span class='warning'>[species.halloss_message_self]</span>")
|
||||
src.visible_message("<B>[src]</B> [species.halloss_message]")
|
||||
Paralyse(10)
|
||||
|
||||
Reference in New Issue
Block a user