mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-31 03:52:31 +00:00
* Adding taste to reagents * Toxins mostly taste bitter. * The taste of medicine is mostly bitterness * Drugs taste bitter too * It turns out pyrotechnics mostly taste like burning * Alcohol and blob tastes * Drinks taste mostly of drinks * And the food reagents are the last, but not least * Actual taste code * You can now taste freshly spawned carrot cake * Bread, burgers * Debugging tasting * Always add the reagents properly, I guess * Finally got nutriment scaling working * Finally got all the stuff working and mixing * PEOPLE CAN NOW TASTE THINGS * Mouthful only has one L * Meat n dough * Eggs and cakes * Meat dishes taste of meat * Others... * Pastry... there is no end to the food * PIE AND PIZZA * SANWHICHES, SALAD, SOUP * THE LAST OF THE FOODS ARE COMPLETE * Weird indentation issues fixed * Remove dat debug code * Hydroponics and sugar is less strong * Replaces carrot cake reagents * Code review * Fixes bad flavours
21 lines
516 B
Plaintext
21 lines
516 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)
|
|
user << "<span class='notice'>[src] tastes <span class='italics'>[message]</span> in [O].</span>"
|