Fixes in-chat icons being broken

This commit is contained in:
Heroman
2022-07-20 18:55:27 +10:00
parent 29514067c6
commit 8a9df3b2ea
96 changed files with 363 additions and 357 deletions
@@ -414,7 +414,7 @@
if(loc)
for(var/mob/O in hearers(1, get_turf(src)))
O.show_message("[bicon(src)] *beep* *beep*", 3, "*beep* *beep*", 2)
O.show_message("\icon[src][bicon(src)] *beep* *beep*", 3, "*beep* *beep*", 2)
/obj/item/integrated_circuit/input/EPv2
name = "\improper EPv2 circuit"
@@ -43,7 +43,7 @@
var/list/nearby_things = range(0, get_turf(src))
for(var/mob/M in nearby_things)
var/obj/O = assembly ? assembly : src
to_chat(M, "<span class='notice'>[bicon(O)] [stuff_to_display]</span>")
to_chat(M, "<span class='notice'>\icon[O][bicon(O)] [stuff_to_display]</span>")
/obj/item/integrated_circuit/output/screen/large
name = "large screen"
@@ -56,7 +56,7 @@
/obj/item/integrated_circuit/output/screen/large/do_work()
..()
var/obj/O = assembly ? loc : assembly
O.visible_message("<span class='notice'>[bicon(O)] [stuff_to_display]</span>")
O.visible_message("<span class='notice'>\icon[O][bicon(O)] [stuff_to_display]</span>")
/obj/item/integrated_circuit/output/light
name = "light"
@@ -134,7 +134,7 @@
text = get_pin_data(IC_INPUT, 1)
if(!isnull(text))
var/obj/O = assembly ? loc : assembly
audible_message("[bicon(O)] \The [O.name] states, \"[text]\"", runemessage = text)
audible_message("\icon[O][bicon(O)] \The [O.name] states, \"[text]\"", runemessage = text)
/obj/item/integrated_circuit/output/text_to_speech/advanced
name = "advanced text-to-speech circuit"