This commit is contained in:
Zuhayr
2013-11-22 23:17:57 +10:30
parent f11b964f6c
commit ddabdf90f2

View File

@@ -119,6 +119,11 @@ var/bomb_set
/obj/machinery/nuclearbomb/attack_hand(mob/user as mob)
if (src.extended)
if (!ishuman(user))
usr << "\red You don't have the dexterity to do this!"
return 1
user.set_machine(src)
var/dat = text("<TT><B>Nuclear Fission Explosive</B><BR>\nAuth. Disk: <A href='?src=\ref[];auth=1'>[]</A><HR>", src, (src.auth ? "++++++++++" : "----------"))
if (src.auth)
@@ -155,6 +160,12 @@ var/bomb_set
set name = "Make Deployable"
set src in oview(1)
if (!usr.canmove || usr.stat || usr.restrained())
return
if (!ishuman(usr))
usr << "\red You don't have the dexterity to do this!"
return 1
if (src.deployable)
usr << "\red You close several panels to make [src] undeployable."
src.deployable = 0