Skip to main content

Execute_GiveTipFromDialog

Description

Gives a tip directly to the Self employee character through a friendly dialog interaction with the Target customer. The tip amount is randomly selected within the range defined in the HouseholdBiz data asset TipConfig. A "tip success" buff is applied to the employee, and a wall notification is sent to the household monitoring component.

Note

Self (employee) and Target (customer) are resolved as EB1BaseObject::Self and EB1BaseObject::Target, not via BaseObject. The probability of triggering this Execute is controlled by the calling script's Prob field, not by this function. If Target is the possessed character, the tip is deducted from Target's currency; if Target cannot afford it, no tip is given. Otherwise (e.g., crowd customers), the tip is not deducted from Target. The tip is not added to the tip bottle; tip bottle income is handled by the GiveTip interaction.

Parameters

ParameterDescription
BaseObjectSelf is the employee receiving the tip; Target is the customer giving the tip

Examples

DescriptionBaseObjectCommand
Employee receives a tip from a satisfied customerSelfGiveTipFromDialog
Friendly conversation results in a direct tip to staffSelfGiveTipFromDialog