Skip to main content

Execute_BuyObjectAtTinyShop

Description

BaseObject character purchases the non-BaseObject item from a TinyShop. On success, ownership is transferred to the buyer, the item is moved to the buyer's inventory, and the price is deducted from the buyer's household currency.

Note

The item's site must have a TinyShopComponent. If TinyShopComponent's SellObject returns false, nothing happens.

Parameters

ParameterDescription
BaseObjectThe character that is buying the item; the non-BaseObject entity is the item being bought

Examples

DescriptionBaseObjectCommand
Self buys the non-BaseObject item from a tiny shopSelfBuyObjectAtTinyShop
Target character purchases item from tiny shopTargetBuyObjectAtTinyShop