/obj/item/device/halogen_counter
name = "halogen counter"
icon_state = "eftpos"
desc = "A hand-held halogen counter, used to detect the level of irradiation of living beings."
w_class = ITEMSIZE_SMALL
origin_tech = list(TECH_MAGNET = 1, TECH_BIO = 2)
throwforce = 0
throw_speed = 3
throw_range = 7
/obj/item/device/halogen_counter/attack(mob/living/M as mob, mob/living/user as mob)
if(!iscarbon(M))
to_chat(user, "This device can only scan organic beings!")
return
user.visible_message("\The [user] has analyzed [M]'s radiation levels!", "Analyzing Results for [M]:")
if(M.radiation)
to_chat(user, "Radiation Level: [M.radiation]")
else
to_chat(user, "No radiation detected.")
return