Skip to main content

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

ParameterDescription
BaseObjectThe character (gift receiver) whose preference state will be checked.
CompareTypeEqual (state matches S2), NotEqual (state does not match S2).
S2The target preference state to compare against (Common, Like, or Dislike).