mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
[MIRROR] refactors most spans (#9139)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
@@ -255,7 +255,7 @@ var/global/list/tele_landmarks = list() // Terrible, but the alternative is loop
|
||||
|
||||
/obj/effect/step_trigger/death/Trigger(var/atom/movable/A)
|
||||
if(isliving(A))
|
||||
to_chat(A, "<span class='danger'>[deathmessage]</span>")
|
||||
to_chat(A, span_danger("[deathmessage]"))
|
||||
log_and_message_admins("[A] [deathalert]")
|
||||
qdel(A)
|
||||
|
||||
@@ -279,7 +279,7 @@ var/global/list/tele_landmarks = list() // Terrible, but the alternative is loop
|
||||
|
||||
/obj/effect/step_trigger/warning/Trigger(var/atom/movable/A)
|
||||
if(isliving(A))
|
||||
to_chat(A, "<span class='warning'>[warningmessage]</span>")
|
||||
to_chat(A, span_warning("[warningmessage]"))
|
||||
|
||||
/obj/effect/step_trigger/warning/train_edge
|
||||
warningmessage = "The wind billowing alongside the train is extremely strong here! Any movement could easily pull you down beneath the carriages, return to the train immediately!"
|
||||
|
||||
Reference in New Issue
Block a user