S9SourceNine Labs / CMAPI Docs 1.0
CMAPI / API reference

IRecipeDefinition

Describes one recipe defined by Planet Crafter.

View source ↗
CMAPI 1.0.0Standalone runtimeWindows x64Tested with Planet Crafter 2.008
Namespace CMAPIInterfaceAssembly CMAPI.API.dll
public interface IRecipeDefinition

Describes one recipe defined by Planet Crafter.

Members

OutputId

property
string OutputId

Gets the stable game group ID produced by the recipe.

OutputDisplayName

property
string OutputDisplayName

Gets the output's localized display name.

OutputKind

property
ContentKind OutputKind

Gets the broad kind of output produced.

Ingredients

property
IReadOnlyList<IRecipeIngredient> Ingredients

Gets a snapshot of distinct ingredients and quantities.

CraftingStations

property
IReadOnlyList<string> CraftingStations

Gets the game's stable crafting-station identifiers at which this item can be made. Construction recipes normally return an empty list because they are placed through the construction interface.