Skip to main content

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

ParameterDescription
BaseObjectThe character entity carrying the flower.
CompareTypeSupported compare types: Equal, NotEqual.
S1The enchant ID to compare. If empty, checks for any enchant existence.

Examples

DescriptionBaseObjectCommandCompareType
Check if the flower being carried has any enchantSelfHasFlowerEnchantCarryingEqual
Check if the flower being carried has the Love enchantSelfHasFlowerEnchantCarryingEqual
Check if the flower being carried does not have Curse enchantSelfHasFlowerEnchantCarryingNotEqual