Files
cadd19beac Ports the TG globals controller and converts globals. (#18057)
* SDQL2 update

* fix that verb

* cl

* fix that

* toworld

* this is pointless

* update info

* siiiiick..

* vv edit update

* fix that

* fix editing vars

* fix VV

* Port the /TG/ globals controller.

* part 1

* part 2

* oops

* part 3

* Hollow Purple

* sadas

* bsbsdb

* muda na agaki ta

* ids 1-15

* 16-31

* 41-75

* bring me back to how things used to be before i lost it all

* the strength of mayhem

* final touches

* cl

* protect some vars

* update sdql2 to use glob

* stuff?

* forgot that is not defined there

* whoops

* observ

* but it never gets better

* a

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2023-12-26 01:16:02 +00:00

31 lines
707 B
Plaintext
Executable File

/mob/living/silicon/ai/proc/show_laws_verb()
set category = "AI Commands"
set name = "Show Laws"
src.show_laws()
/mob/living/silicon/ai/show_laws(var/everyone = 0)
var/who
if (everyone)
who = world
else
who = src
to_chat(src, "<b>Obey these laws:</b>")
if(vr_mob)
to_chat(vr_mob, "<b>Obey these laws:</b>")
src.laws_sanity_check()
src.laws.show_laws(who)
/mob/living/silicon/ai/add_ion_law(var/law)
..()
for(var/mob/living/silicon/robot/R in GLOB.mob_list)
if(R.law_update && (R.connected_ai == src))
R.show_laws()
/mob/living/silicon/ai/proc/ai_checklaws()
set category = "AI Commands"
set name = "State Laws"
computer.ui_interact(usr)
computer.run_program("lawmanager")