Skip to main content

Execute_GiveTip

Description

Processes a customer (Self) giving a tip to the tip bottle at their current HouseholdBiz site. The tip amount is calculated by the HouseholdBiz, deducted from the customer's currency, and added to the tip bottle (using Target as the specific bottle object if valid). A "already gave tip" buff is applied to the customer to enforce a cooldown. If adding to the bottle fails, the customer's currency is refunded.

Note

Self and Target are resolved directly as EB1BaseObject::Self and EB1BaseObject::Target, not via BaseObject.

Parameters

ParameterDescription
BaseObjectSelf is the customer giving the tip; Target is the tip bottle game object (optional)

Examples

DescriptionBaseObjectCommand
Customer puts a tip into the tip bottle at the bizSelfGiveTip
Customer tips via interaction with a specific tip bottleSelfGiveTip