[MIRROR] moves law outputs to a block (#11706)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-09-19 15:48:39 -07:00
committed by GitHub
parent 9efbeb86af
commit 19006d64ac
13 changed files with 51 additions and 54 deletions
+2 -4
View File
@@ -127,13 +127,11 @@
return TRUE
if("notify_laws")
to_chat(owner, span_danger("Law Notice"))
owner.laws.show_laws(owner)
to_chat(owner, span_danger("Law Notice\n") + owner.laws.get_formatted_laws())
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_danger("Law Notice"))
R.laws.show_laws(R)
to_chat(R, span_danger("Law Notice\n") + R.laws.get_formatted_laws())
if(ui.user != owner)
to_chat(ui.user, span_notice("Laws displayed."))
return TRUE