crafting_recipe

Vars | |
| additional_req_text | Additonal requirements text shown in UI |
|---|---|
| machinery | Required machines for the craft, set the assigned value of the typepath to CRAFTING_MACHINERY_CONSUME or CRAFTING_MACHINERY_USE. Lazy associative list: type_path key -> flag value. |
| one_per_turf | Should only one object exist on the same turf? |
| tool_behaviors | String defines of items needed but not consumed. Lazy list. |
| tool_paths | Type paths of items needed but not consumed. Lazy list. |
Procs | |
| check_requirements | Run custom pre-craft checks for this recipe |
Var Details
additional_req_text

Additonal requirements text shown in UI
machinery

Required machines for the craft, set the assigned value of the typepath to CRAFTING_MACHINERY_CONSUME or CRAFTING_MACHINERY_USE. Lazy associative list: type_path key -> flag value.
one_per_turf

Should only one object exist on the same turf?
tool_behaviors

String defines of items needed but not consumed. Lazy list.
tool_paths

Type paths of items needed but not consumed. Lazy list.
Proc Details
check_requirements
Run custom pre-craft checks for this recipe
user: The /mob that initiated the crafting collected_requirements: A list of lists of /obj/item instances that satisfy reqs. Top level list is keyed by requirement path.