Daedalus Dock - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_food.dm

COMSIG_ITEM_USED_AS_INGREDIENTcalled when an item is used as an ingredient: (atom/customized)
COMSIG_EDIBLE_INGREDIENT_ADDEDcalled when an edible ingredient is added: (datum/component/edible/ingredient)
COMSIG_FOOD_EATENfrom Edible component: (mob/living/eater, mob/feeder, bitecount, bitesize)
COMSIG_FOOD_CROSSEDfrom base of datum/component/edible/on_entered: (mob/crosser, bitecount)
COMSIG_FOOD_CONSUMEDfrom base of Component/edible/On_Consume: (mob/living/eater, mob/living/feeder)
COMSIG_DRINK_DRANKfrom base of obj/item/reagent_containers/food/drinks/attack(): (mob/living/M, mob/user)
COMSIG_GLASS_DRANKfrom 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)