Skip to content

Has Item in Slot

Tests Has Item in Slot using the configured inputs. Its Boolean result selects whether the If body runs; it does not assign a numeric result.

If → Target Object: Player or a compatible subtype → Choose Operation → Inventory. Requires Dev access to configure, then a successful compile to activate.

Input Type Role Requirement Default / constraint
Slot (1–41) Number Value Required Required
Item Item Value Required Required

Returns a Boolean test for If.

Block: If
Operation: Has Item in Slot
Target Object: Player target in this plot
Slot (1–41): 1
Item: Stone

Use this as an editor configuration: declare any Variables/collections first and choose real locations/eligible targets for your plot. It is not pasteable source code.

The receiver must satisfy the declared native capability and remain eligible for the running plot. Player actions require an appropriate Play participant; a Build/Dev player is not automatically eligible.

Reference identifier: player.has_slot_item.