Chem implants can no longer be activated by action button (#36087)

This commit is contained in:
kevinz000
2018-03-03 04:10:56 -08:00
committed by CitadelStationBot
parent 4c6dbcc85a
commit 0e22fe7660
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
icon = 'icons/obj/implants.dmi'
icon_state = "generic" //Shows up as the action button icon
actions_types = list(/datum/action/item_action/hands_free/activate)
var/activated = 1 //1 for implant types that can be activated, 0 for ones that are "always on" like mindshield implants
var/activated = TRUE //1 for implant types that can be activated, 0 for ones that are "always on" like mindshield implants
var/mob/living/imp_in = null
item_color = "b"
var/allow_multiple = FALSE
@@ -3,6 +3,7 @@
desc = "Injects things."
icon_state = "reagents"
container_type = OPENCONTAINER
activated = FALSE
/obj/item/implant/chem/get_data()
var/dat = {"<b>Implant Specifications:</b><BR>
@@ -20,14 +21,14 @@
<b>Integrity:</b> Implant will last so long as the subject is alive."}
return dat
/obj/item/implant/chem/New()
..()
/obj/item/implant/chem/Initialize()
. = ..()
create_reagents(50)
GLOB.tracked_chem_implants += src
/obj/item/implant/chem/Destroy()
. = ..()
GLOB.tracked_chem_implants -= src
return ..()
/obj/item/implant/chem/trigger(emote, mob/source)
if(emote == "deathgasp")