From 0c919efbdb8427a67989c2b34a1b9e3291919898 Mon Sep 17 00:00:00 2001 From: DeityLink Date: Tue, 3 Nov 2015 20:42:54 +0100 Subject: [PATCH] better --- code/game/gamemodes/gameticker.dm | 3 +-- code/modules/admin/admin.dm | 7 ++++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code/game/gamemodes/gameticker.dm b/code/game/gamemodes/gameticker.dm index 4d20f5b0383..72f5c8e8024 100644 --- a/code/game/gamemodes/gameticker.dm +++ b/code/game/gamemodes/gameticker.dm @@ -521,8 +521,7 @@ var/global/datum/controller/gameticker/ticker flat = getFlatIcon(pAI) end_icons += flat var/tempstate = end_icons.len - ai_completions += {"
[pAI.name] (Played by: [pAI.key]) [pAI.stat!=2?"survived":"perished"] as a pAI whose master was [pAI.master]! Its directives were:"} - ai_completions += "
[pAI.write_directives()]" + ai_completions += {"
[pAI.name] (Played by: [pAI.key]) [pAI.stat!=2?"survived":"perished"] as a pAI whose master was [pAI.master]! Its directives were:
[pAI.write_directives()]"} mode.declare_completion()//To declare normal completion. diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index af323cf03c6..7c65bb4aba0 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -1330,13 +1330,14 @@ var/global/floorIsLava = 0 else usr << "SOMETHING SILICON [key_name(S, usr)]'s laws:" - if (S.laws == null && !ispAI(S)) - usr << "[key_name(S, usr)]'s laws are null?? Contact a coder." - else if(ispAI(S)) + if(ispAI(S)) var/mob/living/silicon/pai/pAI = S pAI.show_directives(usr) + else if (S.laws == null) + usr << "[key_name(S, usr)]'s laws are null?? Contact a coder." else S.laws.show_laws(usr) + if(!ai_number) usr << "No AIs located" //Just so you know the thing is actually working and not just ignoring you.