special_tastes 
Allows humanoids to eat arbitrary items
Vars | |
| edible_items | associated list of item to reagents and tastes Typepath = (list(reagents = list(reagents), tastes = list(tastes)); Ex: list(/obj/item/stack/sheet/mineral/silver = list("reagents" = list("nutriment" = 5, "vitamin" = 1), "tastes" = list("metal and blood" = 1))) |
|---|---|
Procs | |
| attempt_ingest | check if item is in the list of potential food |
| attempt_to_eat | Handle eating and nutrition gain from eating minerals |
| turn_into_food | Turn the item into food, can only be eaten in 1 bite to prevent creating a half-eaten item that those without the trait can also eat. |
Var Details
edible_items 
associated list of item to reagents and tastes Typepath = (list(reagents = list(reagents), tastes = list(tastes)); Ex: list(/obj/item/stack/sheet/mineral/silver = list("reagents" = list("nutriment" = 5, "vitamin" = 1), "tastes" = list("metal and blood" = 1)))
Proc Details
attempt_ingest
check if item is in the list of potential food
attempt_to_eat
Handle eating and nutrition gain from eating minerals
turn_into_food
Turn the item into food, can only be eaten in 1 bite to prevent creating a half-eaten item that those without the trait can also eat.