Condition_IsGiftPreferenceState
Description
Checks the BaseObject character's preference state toward the gift currently held in hand. The gift tag is mapped to a Preference through GiftPreferenceMapping and its state is compared against S2. Spoiled/garbage gifts and gifts without a matching Preference return false regardless of CompareType.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character (gift receiver) whose preference state will be checked. |
| CompareType | Equal (state matches S2), NotEqual (state does not match S2). |
| S2 | The target preference state to compare against (Common, Like, or Dislike). |