Condition_HasFlowerEnchantCarrying
Description
Checks if the flower object currently being carried by the BaseObject character has a specific enchant applied.
Enchant refers to the Id field in FlowerEnchant.json. If S1 is empty, checks whether any enchant exists.
Parameters
| Parameter | Description |
|---|
| BaseObject | The character entity carrying the flower. |
| CompareType | Supported compare types: Equal, NotEqual. |
| S1 | The enchant ID to compare. If empty, checks for any enchant existence. |
Examples
| Description | BaseObject | Command | CompareType |
|---|
| Check if the flower being carried has any enchant | Self | HasFlowerEnchantCarrying | Equal |
| Check if the flower being carried has the Love enchant | Self | HasFlowerEnchantCarrying | Equal |
| Check if the flower being carried does not have Curse enchant | Self | HasFlowerEnchantCarrying | NotEqual |