[MIRROR] Adds the "Law panel", a control center for admins interacting with silicon laws [MDB IGNORE] (#19655)

* Adds the "Law panel", a control center for admins interacting with silicon laws

* Update admin_verbs.dm

---------

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-03-10 06:10:46 +00:00
committed by GitHub
co-authored by MrMelbert Gandalf
parent 5b003cd594
commit fa7538b5dc
15 changed files with 841 additions and 112 deletions
+1 -2
View File
@@ -18,7 +18,7 @@
..()
/obj/item/ai_module/remove/install(datum/ai_laws/law_datum, mob/user)
if(lawpos > (law_datum.get_law_amount(list(LAW_INHERENT = 1, LAW_SUPPLIED = 1))))
if(lawpos > law_datum.get_law_amount(list(LAW_INHERENT, LAW_SUPPLIED)))
to_chat(user, span_warning("There is no law [lawpos] to delete!"))
return
..()
@@ -62,4 +62,3 @@
else
law_datum.clear_inherent_laws()
law_datum.clear_zeroth_law(0)