mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
[MIRROR] some more spans (#9170)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
@@ -144,7 +144,7 @@
|
||||
message = "[time] [message]"
|
||||
message = span_game(span_say(message))
|
||||
if(speaker && !speaker.client)
|
||||
message = span_npcsay(message)
|
||||
message = span_npc_say(message)
|
||||
else if(speaker && !(get_z(src) == get_z(speaker)))
|
||||
message = span_multizsay(message)
|
||||
to_chat(src, message)
|
||||
@@ -160,7 +160,7 @@
|
||||
message = "[time] [message]"
|
||||
message = span_game(span_say(message))
|
||||
if(speaker && !speaker.client)
|
||||
message = span_npcsay(message)
|
||||
message = span_npc_say(message)
|
||||
else if(speaker && !(get_z(src) == get_z(speaker)))
|
||||
message = span_multizsay(message)
|
||||
to_chat(src, message)
|
||||
@@ -336,7 +336,7 @@
|
||||
|
||||
var/rendered = span_game(span_say(span_name(name) + " [message]"))
|
||||
if(!speaker.client)
|
||||
rendered = span_npcsay(rendered)
|
||||
rendered = span_npc_say(rendered)
|
||||
else
|
||||
if(istype(speaker, /mob/living/silicon/ai))
|
||||
var/mob/living/silicon/ai/source = speaker
|
||||
|
||||
@@ -1401,7 +1401,7 @@
|
||||
if(!. && error_msg && user)
|
||||
if(!fail_msg)
|
||||
fail_msg = "There is no exposed flesh or thin material [target_zone == BP_HEAD ? "on their head" : "on their body"] to inject into."
|
||||
to_chat(user, span_alert("[fail_msg]"))
|
||||
to_chat(user, span_warning("[fail_msg]"))
|
||||
|
||||
/mob/living/carbon/human/print_flavor_text(var/shrink = 1)
|
||||
var/list/equipment = list(src.head,src.wear_mask,src.glasses,src.w_uniform,src.wear_suit,src.gloves,src.shoes)
|
||||
|
||||
@@ -178,7 +178,7 @@
|
||||
//can't inject synths
|
||||
/mob/living/silicon/can_inject(var/mob/user, var/error_msg, var/target_zone, var/ignore_thickness = FALSE)
|
||||
if(error_msg)
|
||||
to_chat(user, span_alert("The armoured plating is too tough."))
|
||||
to_chat(user, span_warning("The armoured plating is too tough."))
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
@@ -328,7 +328,7 @@
|
||||
/mob/proc/warn_flavor_changed()
|
||||
if(flavor_text && flavor_text != "") // don't spam people that don't use it!
|
||||
to_chat(src, span_filter_notice("<h2 class='alert'>OOC Warning:</h2>"))
|
||||
to_chat(src, span_filter_notice(span_alert("Your flavor text is likely out of date! <a href='byond://?src=\ref[src];flavor_change=1'>Change</a>")))
|
||||
to_chat(src, span_filter_notice(span_warning("Your flavor text is likely out of date! <a href='byond://?src=\ref[src];flavor_change=1'>Change</a>")))
|
||||
|
||||
/mob/proc/print_flavor_text()
|
||||
if (flavor_text && flavor_text != "")
|
||||
|
||||
Reference in New Issue
Block a user