This commit is contained in:
DeityLink
2015-11-03 20:42:54 +01:00
parent bfa3392f29
commit 0c919efbdb
2 changed files with 5 additions and 5 deletions

View File

@@ -521,8 +521,7 @@ var/global/datum/controller/gameticker/ticker
flat = getFlatIcon(pAI)
end_icons += flat
var/tempstate = end_icons.len
ai_completions += {"<br><b><img src="logo_[tempstate].png"> [pAI.name] (Played by: [pAI.key]) [pAI.stat!=2?"survived":"perished"] as a pAI whose master was [pAI.master]! Its directives were:</b>"}
ai_completions += "<br>[pAI.write_directives()]"
ai_completions += {"<br><b><img src="logo_[tempstate].png"> [pAI.name] (Played by: [pAI.key]) [pAI.stat!=2?"survived":"perished"] as a pAI whose master was [pAI.master]! Its directives were:</b><br>[pAI.write_directives()]"}
mode.declare_completion()//To declare normal completion.

View File

@@ -1330,13 +1330,14 @@ var/global/floorIsLava = 0
else
usr << "<b>SOMETHING SILICON [key_name(S, usr)]'s laws:</b>"
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 << "<b>No AIs located</b>" //Just so you know the thing is actually working and not just ignoring you.