Skip to main content

Execute_BuyBizStallObject

Description

Purchases the Target game object on sale at the HouseholdBiz site where Self (the buyer) is located. Deducts the sale price from the buyer's currency, transfers the revenue to the business using the HouseholdBiz currency transfer system (with multiplier applied), resets the object's sale state, and transfers ownership to the buyer. Also evaluates purchased item quality for customer satisfaction.

Note

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

Parameters

ParameterDescription
BaseObjectSelf is the buyer character at the HouseholdBiz site; Target is the game object to buy

Examples

DescriptionBaseObjectCommand
Customer buys a displayed item from the biz stallSelfBuyBizStallObject
Player purchases a product from a player-owned shopSelfBuyBizStallObject