Adds examine boxes. (#18370)

* Adds examine boxes.

* lint

* what kind of dreams did you dream?

* unlimited

* midgardsormr

* sdsd

* fixes

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2024-02-11 21:58:20 +00:00
committed by GitHub
co-authored by Matt Atlas
parent d57c5e7c43
commit 4423d03f2f
296 changed files with 1317 additions and 1257 deletions
+16
View File
@@ -237,6 +237,22 @@ var/global/const/base_law_type = /datum/ai_laws/nanotrasen
if(ismob(who) && M.vr_mob)
to_chat(M.vr_mob, "<span class='danger'>[law.get_index()]. [law.law]</span>")
/datum/ai_laws/proc/get_laws(var/who)
. = list()
sort_laws()
for(var/datum/ai_law/law in sorted_laws)
if(law == zeroth_law_borg)
continue
var/mob/M = who
if(law == zeroth_law)
. += "<span class='danger'>[law.get_index()]. [law.law]</span>"
if(ismob(who) && M.vr_mob)
. += "<span class='danger'>[law.get_index()]. [law.law]</span>"
else
. += "[law.get_index()]. [law.law]"
if(ismob(who) && M.vr_mob)
. += "<span class='danger'>[law.get_index()]. [law.law]</span>"
/********************
* Stating Laws *
********************/