Goonstation 13 - Modules - TypesVar Details

/datum/rc_entry/food

Food item entry, used to properly detect food integrity.

Vars

commodityCommodity path. If defined, will augment the per-item payout with the highest market rate for that commodity, and set the type path if not initially specified.
exactpathIf true, requires precise path; if false (default), sub-paths are accepted.
food_integrityFood integrity determines how the requisition handles bites_left. FOOD_REQ_BY_ITEM means each individual item fulfills one count, regardless of how many bites it has left. FOOD_REQ_BY_BITE means each bite fulfills one count - useful for orders of sliceable foods like pizza. FOOD_REQ_INTACT means the item's bites_left must be equal to the initial defined, suitable for items like fresh produce that should arrive intact. If you are making a requisition for a particular food item and it's not sliceable, leave this with its default value.
typepathType path of the item the entry is looking for.

Var Details

commodity

Commodity path. If defined, will augment the per-item payout with the highest market rate for that commodity, and set the type path if not initially specified.

exactpath

If true, requires precise path; if false (default), sub-paths are accepted.

food_integrity

Food integrity determines how the requisition handles bites_left. FOOD_REQ_BY_ITEM means each individual item fulfills one count, regardless of how many bites it has left. FOOD_REQ_BY_BITE means each bite fulfills one count - useful for orders of sliceable foods like pizza. FOOD_REQ_INTACT means the item's bites_left must be equal to the initial defined, suitable for items like fresh produce that should arrive intact. If you are making a requisition for a particular food item and it's not sliceable, leave this with its default value.

typepath

Type path of the item the entry is looking for.