alt click for pdas

This commit is contained in:
paprka
2015-02-26 01:56:24 -08:00
parent f4c5332817
commit b7c19dbc11
+16 -2
View File
@@ -837,9 +837,23 @@ var/global/list/obj/item/device/pda/PDAs = list()
else
U << "<span class='notice'>ERROR: Server isn't responding.</span>"
/obj/item/device/pda/AltClick()
..()
if(issilicon(usr))
return
if(can_use(usr))
if(id)
remove_id()
else
usr << "<span class='notice'>This PDA does not have an ID in it.</span>"
else
usr << "<span class='notice'>You cannot do this while restrained.</span>"
/obj/item/device/pda/verb/verb_remove_id()
set category = "Object"
set name = "Remove id"
set name = "Eject ID"
set src in usr
if(issilicon(usr))
@@ -856,7 +870,7 @@ var/global/list/obj/item/device/pda/PDAs = list()
/obj/item/device/pda/verb/verb_remove_pen()
set category = "Object"
set name = "Remove pen"
set name = "Remove Pen"
set src in usr
if(issilicon(usr))