Skip to main content

Condition_Trait

Description

Checks whether the BaseObject entity possesses the specified trait.

Parameters

ParameterDescription
BaseObjectThe entity to check for trait possession (Self or Target)
CompareTypeSupported compare types: Equal, NotEqual
S1Trait ID to check for (defined in Trait.json)

Examples

DescriptionBaseObjectCommandCompareTypeS1
Checks whether Self has the Bookworm traitSelfTraitEqualBookworm
Checks whether Target does NOT have the Leader traitTargetTraitNotEqualLeader
Checks whether Self has the Perfectionist traitSelfTraitEqualPerfectionist