mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 22:48:38 +01:00
refactors most spans
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
formatted_message = replacetext(formatted_message, "%prey", M)
|
||||
formatted_message = replacetext(formatted_message, "%countprey", absorbed_count)
|
||||
if(formatted_message)
|
||||
to_chat(M, "<span class='vnotice'>[formatted_message]</span>")
|
||||
to_chat(M, span_vnotice("[formatted_message]"))
|
||||
else
|
||||
if (digest_mode == DM_SELECT)
|
||||
var/datum/digest_mode/selective/DM_S = GLOB.digest_modes[DM_SELECT]
|
||||
@@ -141,7 +141,7 @@
|
||||
formatted_message = replacetext(formatted_message, "%countprey", living_count)
|
||||
formatted_message = replacetext(formatted_message, "%count", contents.len)
|
||||
if(formatted_message)
|
||||
to_chat(M, "<span class='vnotice'>[formatted_message]</span>")
|
||||
to_chat(M, span_vnotice("[formatted_message]"))
|
||||
|
||||
if(to_update)
|
||||
updateVRPanels()
|
||||
@@ -284,8 +284,8 @@
|
||||
digest_alert_prey = replacetext(digest_alert_prey, "%count", contents.len)
|
||||
|
||||
//Send messages
|
||||
to_chat(owner, "<span class='vnotice'>[digest_alert_owner]</span>")
|
||||
to_chat(M, "<span class='vnotice'>[digest_alert_prey]</span>")
|
||||
to_chat(owner, span_vnotice("[digest_alert_owner]"))
|
||||
to_chat(M, span_vnotice("[digest_alert_prey]"))
|
||||
|
||||
if(M.ckey)
|
||||
GLOB.prey_digested_roundstat++
|
||||
@@ -317,8 +317,8 @@
|
||||
if(L.tiredness <= 105)
|
||||
L.tiredness = (L.tiredness + 6)
|
||||
if(L.tiredness <= 90 && L.tiredness >= 75)
|
||||
to_chat(L, "<span class='warning'>You are about to fall unconscious!</span>")
|
||||
to_chat(owner, "<span class='warning'>[L] is about to fall unconscious!</span>")
|
||||
to_chat(L, span_warning("You are about to fall unconscious!"))
|
||||
to_chat(owner, span_warning("[L] is about to fall unconscious!"))
|
||||
if(drainmode == DR_FAKE && istype(L,/mob/living/carbon/human)) //Slowly bring prey to the edge of sleep without crossing it
|
||||
if(L.tiredness <= 93)
|
||||
L.tiredness = (L.tiredness + 6)
|
||||
|
||||
Reference in New Issue
Block a user