code/__DEFINES/dcs/signals/signals_food.dm
COMSIG_ITEM_USED_AS_INGREDIENT | called when an item is used as an ingredient: (atom/customized) |
---|---|
COMSIG_EDIBLE_INGREDIENT_ADDED | called when an edible ingredient is added: (datum/component/edible/ingredient) |
COMSIG_FOOD_EATEN | from Edible component: (mob/living/eater, mob/feeder, bitecount, bitesize) |
COMSIG_FOOD_CROSSED | from base of datum/component/edible/on_entered: (mob/crosser, bitecount) |
COMSIG_FOOD_CONSUMED | from base of Component/edible/On_Consume: (mob/living/eater, mob/living/feeder) |
COMSIG_DRINK_DRANK | from base of obj/item/reagent_containers/food/drinks/attack(): (mob/living/M, mob/user) |
COMSIG_GLASS_DRANK | from base of obj/item/reagent_containers/glass/attack(): (mob/M, mob/user) |
Define Details
COMSIG_DRINK_DRANK
from base of obj/item/reagent_containers/food/drinks/attack(): (mob/living/M, mob/user)
COMSIG_EDIBLE_INGREDIENT_ADDED
called when an edible ingredient is added: (datum/component/edible/ingredient)
COMSIG_FOOD_CONSUMED
from base of Component/edible/On_Consume: (mob/living/eater, mob/living/feeder)
COMSIG_FOOD_CROSSED
from base of datum/component/edible/on_entered: (mob/crosser, bitecount)
COMSIG_FOOD_EATEN
from Edible component: (mob/living/eater, mob/feeder, bitecount, bitesize)
COMSIG_GLASS_DRANK
from base of obj/item/reagent_containers/glass/attack(): (mob/M, mob/user)
COMSIG_ITEM_USED_AS_INGREDIENT
called when an item is used as an ingredient: (atom/customized)