mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
The roboticist terminal now requires you to have roboticist access to blow borgs.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@532 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
name = "Robotics Control"
|
name = "Robotics Control"
|
||||||
icon = 'computer.dmi'
|
icon = 'computer.dmi'
|
||||||
icon_state = "robot"
|
icon_state = "robot"
|
||||||
req_access = list(access_captain, access_robotics)
|
req_access = list(access_robotics)
|
||||||
|
|
||||||
var/id = 0.0
|
var/id = 0.0
|
||||||
var/temp = null
|
var/temp = null
|
||||||
@@ -168,13 +168,16 @@
|
|||||||
if("2")
|
if("2")
|
||||||
screen = 2
|
screen = 2
|
||||||
else if (href_list["killbot"])
|
else if (href_list["killbot"])
|
||||||
var/mob/living/silicon/robot/R = locate(href_list["killbot"])
|
if(src.allowed(usr))
|
||||||
if(R)
|
var/mob/living/silicon/robot/R = locate(href_list["killbot"])
|
||||||
var/choice = input("Are you certain you wish to detonate [R.name]?") in list("Confirm", "Abort")
|
if(R)
|
||||||
if(choice == "Confirm")
|
var/choice = input("Are you certain you wish to detonate [R.name]?") in list("Confirm", "Abort")
|
||||||
if(R)
|
if(choice == "Confirm")
|
||||||
message_admins("\blue [key_name_admin(usr)] detonated [R.name]!")
|
if(R)
|
||||||
R.self_destruct()
|
message_admins("\blue [key_name_admin(usr)] detonated [R.name]!")
|
||||||
|
R.self_destruct()
|
||||||
|
else
|
||||||
|
usr << "\red Access Denied."
|
||||||
|
|
||||||
src.add_fingerprint(usr)
|
src.add_fingerprint(usr)
|
||||||
src.updateUsrDialog()
|
src.updateUsrDialog()
|
||||||
|
|||||||
Reference in New Issue
Block a user