Add missing spans to robot control

This commit is contained in:
Markolie
2015-08-10 00:08:20 +02:00
parent 30541674e1
commit f5b64a84be
+7 -7
View File
@@ -55,11 +55,11 @@
if(!target || !istype(target))
return
if(isAI(user) && (target.connected_ai != user))
user << "Access Denied. This robot is not linked to you."
user << "<span class='warning'>Access Denied. This robot is not linked to you.</span>"
return
// Cyborgs may blow up themselves via the console
if(isrobot(user) && user != target)
user << "Access Denied."
user << "<span class='warning'>Access Denied.</span>"
return
var/choice = input("Really detonate [target.name]?") in list ("Yes", "No")
if(choice != "Yes")
@@ -87,11 +87,11 @@
return
if(isAI(user) && (target.connected_ai != user))
user << "Access Denied. This robot is not linked to you."
user << "<span class='warning'>Access Denied. This robot is not linked to you.</span>"
return
if(isrobot(user))
user << "Access Denied."
user << "<span class='warning'>Access Denied.</span>"
return
var/choice = input("Really [target.lockcharge ? "unlock" : "lockdown"] [target.name] ?") in list ("Yes", "No")
@@ -123,7 +123,7 @@
return
if(target.connected_ai != user)
user << "Access Denied. This robot is not linked to you."
user << "<span class='warning'>Access Denied. This robot is not linked to you.</span>"
return
if(target.emagged)
@@ -145,11 +145,11 @@
// Arms the emergency self-destruct system
else if(href_list["arm"])
if(istype(user, /mob/living/silicon))
user << "Access Denied"
user << "<span class='warning'>Access Denied.</span>"
return
safety = !safety
user << "You [safety ? "disarm" : "arm"] the emergency self destruct"
user << "<span class='notice'>You [safety ? "disarm" : "arm"] the emergency self destruct.</span>"
// Destroys all accessible cyborgs if safety is disabled
else if(href_list["nuke"])