Space Station 13 - Modules - TypesVar Details - Proc Details

recipe

Vars

duplicateWhether or not an upgraded kitchen machine will create more products using the same amount of ingredients

Procs

check_items_assoc_listSimilarly to the function above, this checks for items, except instead of being passed a reagent holder, we're passed [type_path] = amount as num. Returns INGREDIENT_CHECK_EXACT if we have the precise amount thats requested. Returns INGREDIENT_CHECK_FAILURE if we do not have enough. Returns INGREDIENT_CHECK_SURPLUS if we have MORE than requested.
check_reagents_assoc_listSimilarly to the function above, this checks for reagents, except instead of being passed a reagent holder, we're passed [reagent_id] = amount as num. Returns INGREDIENT_CHECK_EXACT if we have the precise amount thats requested. Returns INGREDIENT_CHECK_FAILURE if we do not have enough. Returns INGREDIENT_CHECK_SURPLUS if we have MORE than requested.

Var Details

duplicate

Whether or not an upgraded kitchen machine will create more products using the same amount of ingredients

Proc Details

check_items_assoc_list

Similarly to the function above, this checks for items, except instead of being passed a reagent holder, we're passed [type_path] = amount as num. Returns INGREDIENT_CHECK_EXACT if we have the precise amount thats requested. Returns INGREDIENT_CHECK_FAILURE if we do not have enough. Returns INGREDIENT_CHECK_SURPLUS if we have MORE than requested.

check_reagents_assoc_list

Similarly to the function above, this checks for reagents, except instead of being passed a reagent holder, we're passed [reagent_id] = amount as num. Returns INGREDIENT_CHECK_EXACT if we have the precise amount thats requested. Returns INGREDIENT_CHECK_FAILURE if we do not have enough. Returns INGREDIENT_CHECK_SURPLUS if we have MORE than requested.