mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 04:02:31 +00:00
[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:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user