mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Removes decoy mobs from check-ai-laws (#13522)
* Removes decoy AIs from check-ai-laws * hotfix updates method because my test server wasn't running stonedmc when i first tested
This commit is contained in:
@@ -1336,6 +1336,7 @@ var/global/floorIsLava = 0
|
|||||||
/datum/admins/proc/output_ai_laws()
|
/datum/admins/proc/output_ai_laws()
|
||||||
var/ai_number = 0
|
var/ai_number = 0
|
||||||
for(var/mob/living/silicon/S in mob_list)
|
for(var/mob/living/silicon/S in mob_list)
|
||||||
|
if(!istype(S, /mob/living/silicon/decoy))
|
||||||
ai_number++
|
ai_number++
|
||||||
if(isAI(S))
|
if(isAI(S))
|
||||||
to_chat(usr, "<b>AI [key_name(S, usr)]'s laws:</b>")
|
to_chat(usr, "<b>AI [key_name(S, usr)]'s laws:</b>")
|
||||||
@@ -1355,11 +1356,9 @@ var/global/floorIsLava = 0
|
|||||||
to_chat(usr, "[key_name(S, usr)]'s laws are null?? Contact a coder.")
|
to_chat(usr, "[key_name(S, usr)]'s laws are null?? Contact a coder.")
|
||||||
else
|
else
|
||||||
S.laws.show_laws(usr)
|
S.laws.show_laws(usr)
|
||||||
|
|
||||||
if(!ai_number)
|
if(!ai_number)
|
||||||
to_chat(usr, "<b>No AIs located</b>")//Just so you know the thing is actually working and not just ignoring you.
|
to_chat(usr, "<b>No AIs located</b>")//Just so you know the thing is actually working and not just ignoring you.
|
||||||
|
|
||||||
|
|
||||||
/client/proc/update_mob_sprite(mob/living/carbon/human/H as mob in mob_list)
|
/client/proc/update_mob_sprite(mob/living/carbon/human/H as mob in mob_list)
|
||||||
set category = "Admin"
|
set category = "Admin"
|
||||||
set name = "Update Mob Sprite"
|
set name = "Update Mob Sprite"
|
||||||
|
|||||||
Reference in New Issue
Block a user