mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
@@ -1,9 +1,6 @@
|
|||||||
// BEGIN_INTERNALS
|
// BEGIN_INTERNALS
|
||||||
/*
|
/*
|
||||||
DIR: code code\__HELPERS code\game code\game\machinery code\game\machinery\computer code\modules code\modules\mob code\modules\mob\living code\modules\mob\living\silicon code\modules\mob\living\silicon\robot icons icons\mob
|
|
||||||
AUTO_FILE_DIR: OFF
|
|
||||||
MAP_ICON_TYPE: 0
|
MAP_ICON_TYPE: 0
|
||||||
WINDOW: code\game\machinery\computer\robot.dm;code\modules\mob\living\silicon\silicon.dm;code\modules\mob\mob_helpers.dm
|
AUTO_FILE_DIR: OFF
|
||||||
FILE: code\game\machinery\computer\robot.dm
|
|
||||||
*/
|
*/
|
||||||
// END_INTERNALS
|
// END_INTERNALS
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
user << "Access Denied. This robot is not linked to you."
|
user << "Access Denied. This robot is not linked to you."
|
||||||
return
|
return
|
||||||
// Cyborgs may blow up themselves via the console
|
// Cyborgs may blow up themselves via the console
|
||||||
if(isrobot(user) && user != target)
|
if(user.isRobot() && user != target)
|
||||||
user << "Access Denied."
|
user << "Access Denied."
|
||||||
return
|
return
|
||||||
var/choice = input("Really detonate [target.name]?") in list ("Yes", "No")
|
var/choice = input("Really detonate [target.name]?") in list ("Yes", "No")
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
user << "Access Denied. This robot is not linked to you."
|
user << "Access Denied. This robot is not linked to you."
|
||||||
return
|
return
|
||||||
|
|
||||||
if(isrobot(user))
|
if(user.isRobot())
|
||||||
user << "Access Denied."
|
user << "Access Denied."
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user