Skip to main content

Execute_PlaceHeldObjectToBizSlot

Description

Moves the game object currently held by the NonBaseObject character into a slot on the BaseObject without spawning a new object. Intended for HouseholdBiz usage (e.g., placing prepared food onto tables or counters inside a HouseholdBiz site).

Note

If S2 is "Saleable_HHB", the placed object is marked as saleable for HouseholdBiz with the appropriate household ownership. S2 also specifies the state group to transition to after placement (state name is always "Normal").

Parameters

ParameterDescription
BaseObjectThe target game object that owns the slots (e.g., a table or counter in a HouseholdBiz site)
S1Optional SlotId (ObjectSlotTableRow.Id). If None, finds an empty slot based on ObjectCategory
S2Optional StateGroupId to apply after placement (state is always Normal); "Saleable_HHB" for biz

Examples

DescriptionBaseObjectCommandS1S2
Place held object into first available slot on TargetTargetPlaceHeldObjectToBizSlot
Place held object into specific slot and mark as saleableTargetPlaceHeldObjectToBizSlotSlotId01Saleable_HHB
Place held food into biz slot and change stateTargetPlaceHeldObjectToBizSlotSlotId01Cooking