[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:
CHOMPStation2
2024-10-04 06:00:17 -07:00
committed by GitHub
parent 43ee646816
commit ab154b48b2
1511 changed files with 12497 additions and 12357 deletions

View File

@@ -502,15 +502,15 @@
target.lawsync()
return TRUE
if("notify_laws")
to_chat(target, "<span class='danger'>Law Notice</span>")
to_chat(target, span_danger("Law Notice"))
target.laws.show_laws(target)
if(isAI(target))
var/mob/living/silicon/ai/AI = target
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 != target)
to_chat(usr, "<span class='notice'>Laws displayed.</span>")
to_chat(usr, span_notice("Laws displayed."))
return TRUE
if("select_ai")
selected_ai = locate(params["new_ai"])