Cookable

This component allows your item to be cooked on a firepit.

Component Cookable Fields

TypeNameDescription
string or functionproductthe prefab of the cooked item
functiononcookedFires when cooked. Args: inst, cooking_device, doer

Eggsample