Improves AI Law Module Examining (#69475)
Improves AI Law Module Examining (#69475)

* Improves AI Law Module Examining

Hey there,

The old version of checking to see what AI laws were on a board were just ugly. They were in a proc completely separate from the actual Examine, and the to_chat utilization it used meant that ghosts couldn't see it (since they didn't count as mob/user i believe). So, let's use examine blocks, make the implementation cleaner in the examine (and actually make it ordered too!).

* Addresses Review + File Organization

Cleans up comments, compresses lines of code.

I also moved the handle_unique_ai() proc below all the examine/attack/display_laws procs to give it some sense of grouping.

* i accidentally deleted the whole line

* Update code/game/objects/items/AI_modules/_AI_modules.dm

real

Co-authored-by: Mothblocks <c52edec2bd3a27a0b2b5cccb4d09c5385b416d7e@users.noreply.github.com>

Co-authored-by: Mothblocks <c52edec2bd3a27a0b2b5cccb4d09c5385b416d7e@users.noreply.github.com>
Bawhoppen/-tg-station,MicroWorldwide/SS13-TG-station,tgstation/tgstation,MicroWorldwide/SS13-TG-station,Bawhoppen/-tg-station,MicroWorldwide/SS13-TG-station,MicroWorldwide/SS13-TG-station,MicroWorldwide/SS13-TG-station,MicroWorldwide/SS13-TG-station,Bawhoppen/-tg-station,MicroWorldwide/SS13-TG-station,Bawhoppen/-tg-station,tgstation/tgstation,tgstation/tgstation,tgstation/tgstation,ShizCalev/tgstation,Bawhoppen/-tg-station,ShizCalev/tgstation,ShizCalev/tgstation,ShizCalev/tgstation,ShizCalev/tgstation,MicroWorldwide/SS13-TG-station,tgstation/tgstation,tgstation/tgstation,ShizCalev/tgstation,tgstation/tgstation,ShizCalev/tgstation,tgstation/tgstation,Bawhoppen/-tg-station,Bawhoppen/-tg-station,ShizCalev/tgstation,Bawhoppen/-tg-station