finish up the spans (#9605)

This commit is contained in:
Kashargul
2024-12-09 22:51:05 +01:00
committed by GitHub
parent 19bc22ddb3
commit fe4b5ec2cb
80 changed files with 359 additions and 361 deletions

View File

@@ -238,19 +238,19 @@
if(nc)
channel = nc
bcamera.c_tag = channel
to_chat(usr, "<span class='notice'>New channel name - '[channel]' is set</span>")
to_chat(usr, span_notice("New channel name - '[channel]' is set"))
if(href_list["video"])
bcamera.set_status(!bcamera.status)
var/turf/here = get_turf(usr)
if(bcamera.status)
to_chat(usr,"<span class='notice'>Video streaming activated. Broadcasting on channel '[channel]'</span>")
to_chat(usr,span_notice("Video streaming activated. Broadcasting on channel '[channel]'"))
if(here)
here.visible_message("<span class='notice'>[usr] turns on their body camera.</span>")
here.visible_message(span_notice("[usr] turns on their body camera."))
show_bodycamera_tvs(loc)
else
to_chat(usr,"<span class='notice'>Video streaming deactivated.</span>")
to_chat(usr,span_notice("Video streaming deactivated."))
if(here)
here.visible_message("<span class='warning'>[usr] turns off their body camera!</span>")
here.visible_message(span_warning("[usr] turns off their body camera!"))
hide_bodycamera_tvs()
for(var/obj/machinery/computer/security/telescreen/bodycamera/ES as anything in GLOB.bodycamera_screens)
ES.stop_showing()
@@ -258,9 +258,9 @@
if(href_list["sound"])
bradio.ToggleBroadcast()
if(bradio.broadcasting)
to_chat(usr,"<span class='notice'>Audio streaming activated. Broadcasting on frequency [format_frequency(bradio.frequency)].</span>")
to_chat(usr,span_notice("Audio streaming activated. Broadcasting on frequency [format_frequency(bradio.frequency)]."))
else
to_chat(usr,"<span class='notice'>Audio streaming deactivated.</span>")
to_chat(usr,span_notice("Audio streaming deactivated."))
if(!href_list["close"])
attack_self(usr)