Minor span refactoring (#19177)

Minor span refactoring
This commit is contained in:
Fluffy
2024-05-19 16:37:29 +00:00
committed by GitHub
parent 6387917444
commit 3dc4cce9c2
687 changed files with 4572 additions and 4295 deletions
@@ -153,7 +153,7 @@
if(temp_name)
id_card.registered_name = temp_name
else
computer.visible_message("<span class='notice'>[computer] buzzes rudely.</span>")
computer.visible_message(SPAN_NOTICE("[computer] buzzes rudely."))
else if(params["account"])
var/account_num = text2num(input("Enter account number.", "Account", id_card.associated_account_number))
id_card.associated_account_number = account_num
@@ -132,15 +132,15 @@
return TRUE
if("notify_laws")
to_chat(owner, "<span class='danger'>Law Notice</span>")
to_chat(owner, SPAN_DANGER("Law Notice"))
owner.laws.show_laws(owner)
if(isAI(owner))
var/mob/living/silicon/ai/AI = owner
for(var/mob/living/silicon/robot/R in AI.connected_robots)
to_chat(R, "<span class='danger'>Law Notice</span>")
to_chat(R, SPAN_DANGER("Law Notice"))
R.laws.show_laws(R)
if(usr != owner)
to_chat(usr, "<span class='notice'>Laws displayed.</span>")
to_chat(usr, SPAN_NOTICE("Laws displayed."))
return TRUE
/datum/computer_file/program/law_manager/ui_data(mob/user)