Condition_HasCraftingToolGeneralEffect
Description
Checks the confirmed Performance grade of the tool actually used by the BaseObject's active crafting session. Unconfirmed grades fail closed; a confirmed tool without a grade matches empty S2 with NotEqual.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The crafting character. Must be Self |
| CompareType | Equal, NotEqual, or GreaterOrEqual when S2 is set; Equal or NotEqual when S2 is empty |
| S1 | General effect type. Only Performance is supported |
| S2 | Optional EB1ObjectPerformanceQuality value to compare against |
Examples
| Description | BaseObject | Command | CompareType | S1 | S2 |
|---|---|---|---|---|---|
| Was a tool with any Performance grade used? | Self | HasCraftingToolGeneralEffect | Equal | Performance | |
| Was a Stat_Good or better tool used? | Self | HasCraftingToolGeneralEffect | GreaterOrEqual | Performance | Stat_Good |
Back to Command FinderSearch and filter all 491 Script Condition documents