Skip to main content

Condition_HasStolenObject

Description

Checks whether the specified character possesses any stolen objects. The search scope can be controlled via S1: if set to Inventory, only stolen objects in the inventory are checked; if set to Grab, only currently grabbed objects are checked; otherwise both are checked. S2 controls whether system-owned objects are included in the search.

Parameters

ParameterDescription
BaseObjectThe character to check (Self or Target).
CompareTypeSupported compare types: Equal, NotEqual.
S1Scope filter: Inventory (inventory only), Grab (grabbed only), or empty (both).
S2Set to IncludeSystem to include system-owned objects in the search.

Examples

DescriptionBaseObjectCommandCompareTypeS1S2
Check if Self has any stolen objectSelfHasStolenObjectEqual
Check if Self has stolen objects in inventorySelfHasStolenObjectEqualInventory
Check if Target is holding a stolen objectTargetHasStolenObjectEqualGrab
Check including system objectsSelfHasStolenObjectEqualIncludeSystem