code/__DEFINES/dcs/signals/signals_food.dm
COMSIG_FOOD_EATEN | From datum/component/edible/proc/TakeBite: (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_PILL_CONSUMED | called when a pill is injested (mob/living/eater, mob/living/feeder) |
COMSIG_ITEM_USED_AS_INGREDIENT | called when an item is used as an ingredient: (atom/customized) |
COMSIG_FOOD_INGREDIENT_ADDED | called when an edible ingredient is added: (datum/component/edible/ingredient) |
COMSIG_FOOD_GET_EXTRA_COMPLEXITY | from base of /datum/component/edible/get_recipe_complexity(): (list/extra_complexity) |
COMSIG_ITEM_FRIED | An item becomes fried - From /datum/element/fried_item/Attach: (fry_time) |
COMSIG_ITEM_ENTERED_FRYER | An item entering the deep frying (not fried yet) - From obj/machinery/deepfryer/start_fry: () |
COMSIG_ITEM_MICROWAVE_ACT | called on item when microwaved (): (obj/machinery/microwave/microwave, mob/microwaver) |
COMPONENT_MICROWAVE_SUCCESS | Return on success - that is, a microwaved item was produced |
COMPONENT_MICROWAVE_BAD_RECIPE | Returned on "failure" - an item was produced but it was the default fail recipe |
COMSIG_ITEM_MICROWAVE_COOKED | called on item when created through microwaving (): (obj/machinery/microwave/M, cooking_efficiency) |
COMSIG_ITEM_MICROWAVE_COOKED_FROM | called on the ingredient through microwawing: (result) |
COMSIG_ITEM_GRILL_PLACED | Called when an object is placed onto a griddle |
COMSIG_ITEM_GRILL_TURNED_ON | Called when a griddle is turned on |
COMSIG_ITEM_GRILL_TURNED_OFF | Called when a griddle is turned off |
COMSIG_ITEM_GRILL_PROCESS | Called when an object is grilled ontop of a griddle |
COMPONENT_HANDLED_GRILLING | Return to not burn the item |
COMSIG_ITEM_GRILLED | Called when an object is turned into another item through grilling ontop of a griddle |
COMSIG_ITEM_BARBEQUE_GRILLED | Called when the object is grilled by the grill (not to be confused by the griddle, but oh gee the two should be merged in one) |
COMPONENT_HANDLED_BAKING | Return to not burn the item |
COMPONENT_BAKING_GOOD_RESULT | Return if the result of the baking was a good thing |
COMPONENT_BAKING_BAD_RESULT | Return if the result of the baking was a bad thing / failuire |
COMSIG_ITEM_BAKED | Called when an object is turned into another item through baking in an oven |
COMSIG_GLASS_DRANK | from base of obj/item/reagent_containers/cup/attack(): (mob/M, mob/user) |
Define Details
COMPONENT_BAKING_BAD_RESULT
Return if the result of the baking was a bad thing / failuire
COMPONENT_BAKING_GOOD_RESULT
Return if the result of the baking was a good thing
COMPONENT_HANDLED_BAKING
Return to not burn the item
COMPONENT_HANDLED_GRILLING
Return to not burn the item
COMPONENT_MICROWAVE_BAD_RECIPE
Returned on "failure" - an item was produced but it was the default fail recipe
COMPONENT_MICROWAVE_SUCCESS
Return on success - that is, a microwaved item was produced
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 datum/component/edible/proc/TakeBite: (mob/living/eater, mob/feeder, bitecount, bitesize)
COMSIG_FOOD_GET_EXTRA_COMPLEXITY
from base of /datum/component/edible/get_recipe_complexity(): (list/extra_complexity)
COMSIG_FOOD_INGREDIENT_ADDED
called when an edible ingredient is added: (datum/component/edible/ingredient)
COMSIG_GLASS_DRANK
from base of obj/item/reagent_containers/cup/attack(): (mob/M, mob/user)
COMSIG_ITEM_BAKED
Called when an object is turned into another item through baking in an oven
COMSIG_ITEM_BARBEQUE_GRILLED
Called when the object is grilled by the grill (not to be confused by the griddle, but oh gee the two should be merged in one)
COMSIG_ITEM_ENTERED_FRYER
An item entering the deep frying (not fried yet) - From obj/machinery/deepfryer/start_fry: ()
COMSIG_ITEM_FRIED
An item becomes fried - From /datum/element/fried_item/Attach: (fry_time)
COMSIG_ITEM_GRILLED
Called when an object is turned into another item through grilling ontop of a griddle
COMSIG_ITEM_GRILL_PLACED
Called when an object is placed onto a griddle
COMSIG_ITEM_GRILL_PROCESS
Called when an object is grilled ontop of a griddle
COMSIG_ITEM_GRILL_TURNED_OFF
Called when a griddle is turned off
COMSIG_ITEM_GRILL_TURNED_ON
Called when a griddle is turned on
COMSIG_ITEM_MICROWAVE_ACT
called on item when microwaved (): (obj/machinery/microwave/microwave, mob/microwaver)
COMSIG_ITEM_MICROWAVE_COOKED
called on item when created through microwaving (): (obj/machinery/microwave/M, cooking_efficiency)
COMSIG_ITEM_MICROWAVE_COOKED_FROM
called on the ingredient through microwawing: (result)
COMSIG_ITEM_USED_AS_INGREDIENT
called when an item is used as an ingredient: (atom/customized)
COMSIG_PILL_CONSUMED
called when a pill is injested (mob/living/eater, mob/living/feeder)