mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
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:
@@ -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 *
|
||||
********************/
|
||||
|
||||
Reference in New Issue
Block a user