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
| Parameter | Description |
|---|---|
| BaseObject | Self is the employee receiving the tip; Target is the customer giving the tip |
Examples
| Description | BaseObject | Command |
|---|---|---|
| Employee receives a tip from a satisfied customer | Self | GiveTipFromDialog |
| Friendly conversation results in a direct tip to staff | Self | GiveTipFromDialog |
See alsoHousehold Biz & Restaurant
- AbortRestaurantCustomerSequence
- ActivateAssignedRestaurantTable
- AddCustomerSatisfaction
- AddTinyShopScore
- BeginReceivingRestaurantOrder
- BindRestaurantCookingTray
- ClaimRestaurantCookingBatch
- ClaimRestaurantServingBatch
- CommitPendingRestaurantGroupOrder
- CompleteRestaurantMeal
- CompleteRestaurantTableCleanup
- FleaMarket