Skip to content

Recipe

One manufacturing blueprint. Returned by: list_recipes() / find_recipe() on Smelter, Fabricator, Feed Maker, Refiner, and Fuel Assembler.

MemberReturnsMeaning
.tiernumberDerived production tier (Smelter foundations are 0; every other recipe is one above its deepest manufactured input)
.idstringRecipe id (e.g. "smelt_iron_ingot"); stable across saves, pass to set_recipe(...)
.namestringPre-translated display name
.inputsdict{item_id: count} consumed per run
.output_itemstringProduct id per run (item id, or fluid id for fluid-output recipes)
.output_countnumberAmount produced per run (units, or tons for a fluid)
.duration_game_hoursnumberBase cycle at full efficiency; overcrowding and blocked output extend it
.power_drawnumberWatts while running
.fluid_inputsdict{port_name: tons_per_run} (e.g. "water_in"); empty when none
.input_fluidstring or NoneConcrete fluid id required by a generic input port (Refiner raw feedstocks); None when the port already identifies the fluid
.fluid_outputsdict{port_name: tons_per_run} deposited per run; Refiner recipes identify gas_out / liquid_out here
.output_fluidstring or NoneConcrete fluid id through a generic output port; None for item recipes
.byproduct_item / .byproduct_countstring or None / numberByproduct id and units per run (None / 0 when none)