Skip to main content

Condition_IsMetRecipeRequirements

Description

Checks whether the starting conditions for the first step of the specified recipe are satisfied. Self is used as the crafter entity and Target is used as the workbench entity. The crafting policy determines how strictly the requirements are evaluated (e.g., CheckAll requires all conditions to be met; CheckIngredient only checks ingredient availability).

Parameters

ParameterDescription
BaseObjectNot directly used; Self is the crafter, Target is the workbench
CompareTypeEqual: all first-step requirements are met; NotEqual: requirements are not met
S1Recipe ID from the crafting data table (row key)
S2Crafting policy type (e.g., CheckAll, CheckIngredient); defaults to CheckAll if omitted

Examples

DescriptionBaseObjectCommandCompareTypeS1S2
Does self meet all requirements to start making BreadRecipe?SelfIsMetRecipeRequirementsEqualBreadRecipeCheckAll
Does self meet requirements for PotionRecipe (ingredient only)?SelfIsMetRecipeRequirementsEqualPotionRecipeCheckIngredient
Has self NOT met the requirements for SwordRecipe?SelfIsMetRecipeRequirementsNotEqualSwordRecipeCheckAll