The 'Check AI Laws' verb now shows which AI (if any) the cyborgs are synced to.

Fix for a runtime due to an attack_verb being a string instead of a list. (You can once again robust people with toolboxes!)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4210 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
johnsonmt88@gmail.com
2012-07-29 04:09:40 +00:00
parent 919677e2d5
commit cfd5cff352
2 changed files with 3 additions and 2 deletions

View File

@@ -420,7 +420,7 @@
throw_range = 7
w_class = 4.0
origin_tech = "combat=1"
attack_verb = "robusted"
attack_verb = list("robusted")
/obj/item/weapon/storage/toolbox/emergency
name = "emergency toolbox"

View File

@@ -3004,7 +3004,8 @@ var/global/BSACooldown = 0
if(isAI(S))
usr << "<b>AI [key_name(S, usr)]'s laws:</b>"
else if(isrobot(S))
usr << "<b>CYBORG [key_name(S, usr)]'s laws:</b>"
var/mob/living/silicon/robot/R = S
usr << "<b>CYBORG [key_name(S, usr)] [R.connected_ai?"(Slaved to: [R.connected_ai])":"(Independant)"]: laws:</b>"
else if (ispAI(S))
usr << "<b>pAI [key_name(S, usr)]'s laws:</b>"
else