// Dust implant, for CC officers. Prevents gear theft if they die. /obj/item/bio_chip/dust name = "duster bio-chip" desc = "A remote controlled bio-chip that will dust the user upon activation (or death of user)." icon_state = "dust" actions_types = list(/datum/action/item_action/hands_free/activate/always) trigger_causes = BIOCHIP_TRIGGER_DEATH_ONCE | BIOCHIP_TRIGGER_NOT_WHEN_GIBBED implant_data = /datum/implant_fluff/dust implant_state = "implant-nanotrasen" /obj/item/bio_chip/dust/death_trigger(mob/source, force) activate("death") /obj/item/bio_chip/dust/activate(cause) if(!cause || !imp_in || cause == "emp") return FALSE if(cause == "action_button" && alert(imp_in, "Are you sure you want to activate your dusting bio-chip? This will turn you to ash!", "Dusting Confirmation", "Yes", "No") != "Yes") return FALSE to_chat(imp_in, SPAN_NOTICE("Your dusting bio-chip activates!")) imp_in.visible_message("[imp_in] burns up in a flash!") imp_in.dust() /obj/item/bio_chip/dust/emp_act(severity) return /obj/item/bio_chip_implanter/dust name = "bio-chip implanter (Dust-on-death)" implant_type = /obj/item/bio_chip/dust /obj/item/bio_chip_case/dust name = "bio-chip case - 'Dust'" desc = "A glass case containing a dust bio-chip." implant_type = /obj/item/bio_chip/dust