mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-25 17:12:12 +00:00
21 lines
523 B
Plaintext
21 lines
523 B
Plaintext
/obj/item/taster
|
|
name = "taster"
|
|
desc = "Tastes things, so you don't have to!"
|
|
icon = 'icons/obj/surgery.dmi'
|
|
icon_state = "tonguenormal"
|
|
|
|
w_class = WEIGHT_CLASS_TINY
|
|
|
|
var/taste_sensitivity = 15
|
|
|
|
/obj/item/taster/get_spans()
|
|
return list()
|
|
|
|
/obj/item/taster/afterattack(atom/O, mob/user, proximity)
|
|
if(!proximity)
|
|
return
|
|
|
|
if(O.reagents)
|
|
var/message = O.reagents.generate_taste_message(taste_sensitivity)
|
|
to_chat(user, "<span class='notice'>[src] tastes <span class='italics'>[message]</span> in [O].</span>")
|