mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 23:17:28 +01:00
remove static chat colour tags
This commit is contained in:
@@ -175,7 +175,7 @@
|
||||
|
||||
/obj/vehicle/train/security/trolley/RunOver(var/mob/living/M)
|
||||
..()
|
||||
attack_log += text("\[[time_stamp()]\] <font color='red'>ran over [M.name] ([M.ckey])</font>")
|
||||
attack_log += text("\[[time_stamp()]\] [span_red("ran over [M.name] ([M.ckey])")]")
|
||||
|
||||
/obj/vehicle/train/security/engine/RunOver(var/mob/living/M)
|
||||
..()
|
||||
@@ -185,9 +185,9 @@
|
||||
to_chat(D, "<span class='danger'>You ran over \the [M]!</span>"
|
||||
visible_message("<span class='danger'>\The [src] ran over \the [M]!</span>")
|
||||
add_attack_logs(D,M,"Ran over with [src.name]")
|
||||
attack_log += text("\[[time_stamp()]\] <font color='red'>ran over [M.name] ([M.ckey]), driven by [D.name] ([D.ckey])</font>")
|
||||
attack_log += text("\[[time_stamp()]\] [span_red("ran over [M.name] ([M.ckey]), driven by [D.name] ([D.ckey])")]")
|
||||
else
|
||||
attack_log += text("\[[time_stamp()]\] <font color='red'>ran over [M.name] ([M.ckey])</font>")
|
||||
attack_log += text("\[[time_stamp()]\] [span_red("ran over [M.name] ([M.ckey])")]")
|
||||
|
||||
|
||||
//-------------------------------------------
|
||||
|
||||
@@ -164,19 +164,19 @@
|
||||
|
||||
/obj/vehicle/train/trolley/RunOver(var/mob/living/M)
|
||||
..()
|
||||
attack_log += text("\[[time_stamp()]\] <font color='red'>ran over [M.name] ([M.ckey])</font>")
|
||||
attack_log += text("\[[time_stamp()]\] [span_red("ran over [M.name] ([M.ckey])")]")
|
||||
|
||||
/obj/vehicle/train/engine/RunOver(var/mob/living/M)
|
||||
..()
|
||||
|
||||
if(is_train_head() && istype(load, /mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/D = load
|
||||
to_chat(D, "<font color='red'><B>You ran over [M]!</B></font>")
|
||||
visible_message("<B><font color='red'>\The [src] ran over [M]!</B></font>")
|
||||
to_chat(D, span_red("<B>You ran over [M]!</B>"))
|
||||
visible_message(span_red("<B>\The [src] ran over [M]!</B>"))
|
||||
add_attack_logs(D,M,"Ran over with [src.name]")
|
||||
attack_log += text("\[[time_stamp()]\] <font color='red'>ran over [M.name] ([M.ckey]), driven by [D.name] ([D.ckey])</font>")
|
||||
attack_log += text("\[[time_stamp()]\] [span_red("ran over [M.name] ([M.ckey]), driven by [D.name] ([D.ckey])")]")
|
||||
else
|
||||
attack_log += text("\[[time_stamp()]\] <font color='red'>ran over [M.name] ([M.ckey])</font>")
|
||||
attack_log += text("\[[time_stamp()]\] [span_red("ran over [M.name] ([M.ckey])")]")
|
||||
|
||||
|
||||
//-------------------------------------------
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
|
||||
/obj/vehicle/train/rover/trolley/RunOver(var/mob/living/M)
|
||||
..()
|
||||
attack_log += text("\[[time_stamp()]\] <font color='red'>ran over [M.name] ([M.ckey])</font>")
|
||||
attack_log += text("\[[time_stamp()]\] [span_red("ran over [M.name] ([M.ckey])")]")
|
||||
|
||||
/obj/vehicle/train/rover/engine/RunOver(var/mob/living/M)
|
||||
..()
|
||||
@@ -183,9 +183,9 @@
|
||||
to_chat(D, "<span class='danger'>You ran over \the [M]!</span>")
|
||||
visible_message("<span class='danger'>\The [src] ran over \the [M]!</span>")
|
||||
add_attack_logs(D,M,"Ran over with [src.name]")
|
||||
attack_log += text("\[[time_stamp()]\] <font color='red'>ran over [M.name] ([M.ckey]), driven by [D.name] ([D.ckey])</font>")
|
||||
attack_log += text("\[[time_stamp()]\] [span_red("ran over [M.name] ([M.ckey]), driven by [D.name] ([D.ckey])")]")
|
||||
else
|
||||
attack_log += text("\[[time_stamp()]\] <font color='red'>ran over [M.name] ([M.ckey])</font>")
|
||||
attack_log += text("\[[time_stamp()]\] [span_red("ran over [M.name] ([M.ckey])")]")
|
||||
|
||||
|
||||
//-------------------------------------------
|
||||
|
||||
@@ -50,12 +50,12 @@
|
||||
if(emagged)
|
||||
if(istype(A, /mob/living))
|
||||
var/mob/living/M = A
|
||||
visible_message("<font color='red'>[src] knocks over [M]!</font>")
|
||||
visible_message(span_red("[src] knocks over [M]!"))
|
||||
M.apply_effects(5, 5) //knock people down if you hit them
|
||||
M.apply_damages(22 / move_delay) // and do damage according to how fast the train is going
|
||||
if(istype(load, /mob/living/carbon/human))
|
||||
var/mob/living/D = load
|
||||
to_chat(D, "<font color='red'>You hit [M]!</font>")
|
||||
to_chat(D, span_red("You hit [M]!"))
|
||||
add_attack_logs(D,M,"Ran over with [src.name]")
|
||||
|
||||
//trains are commonly open topped, so there is a chance the projectile will hit the mob riding the train instead
|
||||
@@ -99,7 +99,7 @@
|
||||
|
||||
unload(user, direction)
|
||||
|
||||
to_chat(user, "<font color='blue'>You climb down from [src].</font>")
|
||||
to_chat(user, span_blue("You climb down from [src]."))
|
||||
|
||||
return 1
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
latch(C, user)
|
||||
else
|
||||
if(!load(C, user))
|
||||
to_chat(user, "<font color='red'>You were unable to load [C] on [src].</font>")
|
||||
to_chat(user, span_red("You were unable to load [C] on [src]."))
|
||||
|
||||
/obj/vehicle/train/attack_hand(mob/user as mob)
|
||||
if(user.stat || user.restrained() || !Adjacent(user))
|
||||
@@ -149,17 +149,17 @@
|
||||
/obj/vehicle/train/proc/attach_to(obj/vehicle/train/T, mob/user)
|
||||
if (get_dist(src, T) > 1)
|
||||
if(user)
|
||||
to_chat(user, "<font color='red'>[src] is too far away from [T] to hitch them together.</font>")
|
||||
to_chat(user, span_red("[src] is too far away from [T] to hitch them together."))
|
||||
return
|
||||
|
||||
if (lead)
|
||||
if(user)
|
||||
to_chat(user, "<font color='red'>[src] is already hitched to something.</font>")
|
||||
to_chat(user, span_red("[src] is already hitched to something."))
|
||||
return
|
||||
|
||||
if (T.tow)
|
||||
if(user)
|
||||
to_chat(user, "<font color='red'>[T] is already towing something.</font>")
|
||||
to_chat(user, span_red("[T] is already towing something."))
|
||||
return
|
||||
|
||||
//check for cycles.
|
||||
@@ -167,7 +167,7 @@
|
||||
while (next_car)
|
||||
if (next_car == src)
|
||||
if(user)
|
||||
to_chat(user, "<font color='red'>That seems very silly.</font>")
|
||||
to_chat(user, span_red("That seems very silly."))
|
||||
return
|
||||
next_car = next_car.lead
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
set_dir(lead.dir)
|
||||
|
||||
if(user)
|
||||
to_chat(user, "<font color='blue'>You hitch [src] to [T].</font>")
|
||||
to_chat(user, span_blue("You hitch [src] to [T]."))
|
||||
|
||||
update_stats()
|
||||
|
||||
@@ -185,13 +185,13 @@
|
||||
//detaches the train from whatever is towing it
|
||||
/obj/vehicle/train/proc/unattach(mob/user)
|
||||
if (!lead)
|
||||
to_chat(user, "<font color='red'>[src] is not hitched to anything.</font>")
|
||||
to_chat(user, span_red("[src] is not hitched to anything."))
|
||||
return
|
||||
|
||||
lead.tow = null
|
||||
lead.update_stats()
|
||||
|
||||
to_chat(user, "<font color='blue'>You unhitch [src] from [lead].</font>")
|
||||
to_chat(user, span_blue("You unhitch [src] from [lead]."))
|
||||
lead = null
|
||||
|
||||
update_stats()
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
health = min(maxhealth, health+10)
|
||||
user.setClickCooldown(user.get_attack_speed(W))
|
||||
playsound(src, T.usesound, 50, 1)
|
||||
user.visible_message("<font color='red'>[user] repairs [src]!</font>","<font color='blue'> You repair [src]!</font>")
|
||||
user.visible_message(span_red("[user] repairs [src]!"),span_blue("You repair [src]!"))
|
||||
else
|
||||
to_chat(user, "<span class='notice'>Unable to repair with the maintenance panel closed.</span>")
|
||||
else
|
||||
@@ -226,7 +226,7 @@
|
||||
return TRUE
|
||||
|
||||
/obj/vehicle/proc/explode()
|
||||
src.visible_message("<font color='red'><B>[src] blows apart!</B></font>", 1)
|
||||
src.visible_message(span_red("<B>[src] blows apart!</B>"), 1)
|
||||
var/turf/Tsec = get_turf(src)
|
||||
|
||||
//stuns people who are thrown off a train that has been blown up
|
||||
@@ -402,7 +402,7 @@
|
||||
if(!damage)
|
||||
return
|
||||
visible_message("<span class='danger'>[user] [attack_message] the [src]!</span>")
|
||||
user.attack_log += text("\[[time_stamp()]\] <font color='red'>attacked [src.name]</font>")
|
||||
user.attack_log += text("\[[time_stamp()]\] [span_red("attacked [src.name]")]")
|
||||
user.do_attack_animation(src)
|
||||
src.health -= damage
|
||||
if(mechanical && prob(10))
|
||||
|
||||
Reference in New Issue
Block a user