/obj/item/reagent_containers/food ![code/modules/chemistry/tools/food_and_drink.dm 7](git.png)
Vars | |
ant_amnt | How many ants are added to food / how much reagents removed? |
---|---|
custom_food | Can it be used to make custom food like for pizzas |
did_stomach_react | Has this already reacted when being digested |
digest_count | How digested is this while in stomach |
dissolve_threshold | How digested something needs to be before it dissolves |
doants | Will ants spawn to eat this food if it's on the floor |
festivity | Amount of cheer this food adds/subtracts when eaten |
fill_amt | Amount of space this takes up in a stomach |
food_color | Color for various food items |
from_emagged_oven | Was this food created by an emagged oven? To prevent re-rolling of food in emagged ovens. |
heal_amt | Amount this food heals for when eaten |
made_ants | Has this food already spawned ants |
required_utensil | Which utensil we need to use to eat this |
slice_amount | How many slices to spawn after slicing |
slice_inert | If the food is inert while slicing (ie chemical reactions won't occur) |
slice_product | Type to spawn when we slice this food |
slice_suffix | When we want to name them slices or wedges or what-have-you |
sliceable | Can this food be sliced with a knife |
unlock_medal_when_eaten | Add medal name here in the format of e.g. "That tasted funny". |
Procs | |
process_stomach | Slowly dissolve in stomach, releasing reagents |
Var Details
ant_amnt ![code/modules/chemistry/tools/food_and_drink.dm 19](git.png)
How many ants are added to food / how much reagents removed?
custom_food ![code/modules/chemistry/tools/food_and_drink.dm 13](git.png)
Can it be used to make custom food like for pizzas
did_stomach_react ![code/modules/chemistry/tools/food_and_drink.dm 25](git.png)
Has this already reacted when being digested
digest_count ![code/modules/chemistry/tools/food_and_drink.dm 26](git.png)
How digested is this while in stomach
dissolve_threshold ![code/modules/chemistry/tools/food_and_drink.dm 27](git.png)
How digested something needs to be before it dissolves
doants ![code/modules/chemistry/tools/food_and_drink.dm 17](git.png)
Will ants spawn to eat this food if it's on the floor
festivity ![code/modules/chemistry/tools/food_and_drink.dm 14](git.png)
Amount of cheer this food adds/subtracts when eaten
fill_amt ![code/modules/chemistry/tools/food_and_drink.dm 10](git.png)
Amount of space this takes up in a stomach
food_color ![code/modules/chemistry/tools/food_and_drink.dm 12](git.png)
Color for various food items
from_emagged_oven ![code/modules/chemistry/tools/food_and_drink.dm 16](git.png)
Was this food created by an emagged oven? To prevent re-rolling of food in emagged ovens.
heal_amt ![code/modules/chemistry/tools/food_and_drink.dm 9](git.png)
Amount this food heals for when eaten
made_ants ![code/modules/chemistry/tools/food_and_drink.dm 18](git.png)
Has this food already spawned ants
required_utensil ![code/modules/chemistry/tools/food_and_drink.dm 11](git.png)
Which utensil we need to use to eat this
slice_amount ![code/modules/chemistry/tools/food_and_drink.dm 22](git.png)
How many slices to spawn after slicing
slice_inert ![code/modules/chemistry/tools/food_and_drink.dm 23](git.png)
If the food is inert while slicing (ie chemical reactions won't occur)
slice_product ![code/modules/chemistry/tools/food_and_drink.dm 21](git.png)
Type to spawn when we slice this food
slice_suffix ![code/modules/chemistry/tools/food_and_drink.dm 24](git.png)
When we want to name them slices or wedges or what-have-you
sliceable ![code/modules/chemistry/tools/food_and_drink.dm 20](git.png)
Can this food be sliced with a knife
unlock_medal_when_eaten ![code/modules/chemistry/tools/food_and_drink.dm 15](git.png)
Add medal name here in the format of e.g. "That tasted funny".
Proc Details
process_stomach
Slowly dissolve in stomach, releasing reagents