mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-14 01:34:04 +01:00
[MIRROR] moves law outputs to a block (#11706)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
9efbeb86af
commit
19006d64ac
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user