Choose a Version 1 Item Action to inspect, drop, transfer or use an Item, or open a panel for a choice. The sixteen concrete core types below receive the selected ItemInfo; preserve its Item, amount, source collection and acting Item User.

Set every visible Name deliberately. Confirmation, cross-Inventory move and hotbar-unassign actions start unnamed; the external-panel action starts as Select ExternalItemAction.

Inspect, drop or remove

Type Defaults Supported setup and result
DebugItemAction Name: Debug Logs Item Info, Definition, Category and resolved attributes, including missing Item data.
DebugItemObjectAction Name: Debug Adds Item Object and Item User details; supply the scene target through SetItemObject.
DropItemAction Name: Drop; Pick Up Item Prefab: none; Drop One: off; Remove On Drop: off; Drop Radius: 2; Center Offset: (0, 0, 0) Assign a prefab with an ItemObject or Inventory on its root. Spawns near Item User, falling back to Inventory. Enable Remove On Drop for a transfer; off creates a world copy.
QuantityDropItemAction Name: Drop; Quantity Panel Prefab: none; other drop settings as above, without Drop One Supply a QuantityPickerPanel prefab and parent-panel context. Chooses 1 through the selected amount; a single Item bypasses the picker.
RemoveItemAction Name: Remove; Remove Amount: -1 Deletes from the selected collection. Zero/negative removes the selected amount; positive removes at most that value.
DuplicateItemAction Name: Duplicate Adds one of the same runtime Item to its collection, subject to restrictions/overflow. Use project cloning code when a separate mutable Item is required.

Before enabling a drop, provide its actor, prefab and permitted source removal. Verify the world pickup and source count together. For an integrated Opsive character, use the character-controller drop actions.

Equip or transfer

Type Defaults Supported setup and result
MoveToCollectionItemAction Name: Equip; First Collection ID: Main; Second Collection ID: Equipped; directional names: Equip / Unequip Moves the selected amount within one Inventory. Empty/stackable destinations receive full-acceptance checks. For an occupied different-Item slot, preflight incoming destination restrictions separately; the action checks the displaced Item’s return to the source.
MoveToInventoryItemAction Name: empty; Target Inventory ID: 1; Target Collection ID: Equipped Use for a different Inventory Identifier, such as storage. Provide valid target references and preflight source removal, destination acceptance and any displaced Item’s return. Unaccepted incoming amounts return to the source.
MoveItemAction Name: Move Requires the originating Item View Slots Container and its ItemViewSlotMoveCursor; starts cursor-driven destination selection.

For normal Equip/Unequip, make Bag Purpose: Main and an Equipment ItemSlotCollection Purpose: Equipped. The same-Inventory action toggles its label by direction and returns displaced equipment to the source. Test empty and occupied destinations with the actual restrictions; expose exchanges only when both incoming acceptance after replacement and outgoing return can succeed.

Use, combine or confirm effects

Type Defaults Supported setup and result
UseItemActionSetAttribute Name: Use; Attribute Name: ItemActionSet; Action Index: 0; Use One: on; Remove On Use: off; Cooldown Attribute Name: Cooldown; Cooldown Item User Data Name: ItemCooldown References an ItemActionSet attribute and invokes its indexed action. Use One passes amount one. Enable removal only when the nested effect’s eligibility is also satisfied. A float cooldown needs a valid Item User and stores its next-use time there.
MultiItemAction Name: Use; All Conditions Must Pass: off; Item Action Set: none Assign the set. Invokes actions in list order. Enable All Conditions Must Pass to require every nested eligibility check before starting; each invocation also performs its own check.
ItemActionWithConfirmationPopUp Name: empty; Confirmation Pop Up Prefab, Item Action Set On Confirm, Item Action Set On Cancel: none Supply a ConfirmationPopUp prefab, parent display panel/transform and previous selection through a panel-aware binding. Each choice runs its corresponding set and closes the popup.
PlayAudioClipItemAction Name: Play Audio; Audio Clip Set: empty Configure clips for feedback. Subclass to supply a particular scene sound origin.

For Health Potion, put the health-restoration action at index 0 of a referenced set, name the wrapper Drink, keep Use One on and enable Remove On Use only with a preflight for that effect. Verify healing, removal and cooldown together. Use a custom cast action for Fire Wand; combine it with audio through MultiItemAction when appropriate. Put healing, casting and animation behavior in the gameplay system or integration action.

Hotbars and external panels

Type Defaults Supported setup and result
AssignHotbarItemAction Name: Assign; Display Panel Manager ID: 0; Hotbar Panel Name: Item Hotbar; Toggle Assign: off; Show Item Names: off; Use Item View Slot If Available: on Resolve the named panel and its bound ItemHotbar. ID 0 can use the parent manager. Supply an AsyncFuncActionsPanel<int> prefab, keep the Item in its collection and choose a slot; assignment leaves the Item there.
UnAssignHotbarItemAction Name: empty Use from the hotbar’s own action set to clear its selected assignment while retaining the Inventory Item.
OpenOtherItemViewSlotContainerItemAction Name: Select ExternalItemAction; Display Unique Name: empty Match the target panel’s unique name. Both panels need container bindings; the origin needs a configured slot cursor. A choice uses the origin’s ItemViewDropHandler when present, otherwise adds the target ItemInfo through the origin container.

Hotbar assignment inherits Async Func Action Panel Prefab (none) and Add Cancel Option (on). Toggle Assign clears a matching assignment; Show Item Names labels choices with current Item names or Empty instead of one-based numbers. With compatible Item View Slot buttons, Use Item View Slot If Available displays their current Item Info.

Verify the configured actions

Add each type under Item Actions in the set mapped to its Category, assign its references and choose clear names. Check these outcomes through the actual inventory binding:

Command Observable result
Drink Health Potion Healing occurs once, the intended amount is removed and configured cooldown blocks immediate reuse.
Equip / Unequip Iron Sword The exact sword moves between Bag and Equipment, the views update and the label changes direction. Restricted replacements remain unavailable until preflight succeeds.
Assign Fire Wand The slot-choice panel opens, the chosen hotbar slot shows the wand and its Inventory ownership stays intact.
Drop Health Potion A usable pickup appears near the actor; the source amount changes when Remove On Drop is enabled.

Troubleshooting

Symptom Check and fix
Missing action Correct Category/exception mapping and action prerequisites; use DebugItemAction to inspect the selected data.
Drop copies an Item or creates no useful pickup Enable Remove On Drop for transfers; assign the root-compatible prefab and actor, then verify both amounts.
Choice panel fails Supply the matching quantity/confirmation/async prefab and parent/selection context through the binding.
Move or Assign does nothing Check collection restrictions, slot cursor, exact panel name and hotbar container binding.
Use changes amount without its effect Require the nested effect’s eligibility before enabling consumption, then test effect and amount together.

Developer reference

Initialize actions before calling InvokeAction(ItemInfo, ItemUser); it checks CanInvoke. Omitted users fall back to Inventory.ItemUser when available. Collection mutations raise normal add/remove/update/rejection/overflow events. Panel events bracket invocation attempts; check the resulting transaction or gameplay state for success. The used-with-cooldown event is EventNames.c_CharacterGameObject_UsedItemActionWithCooldown_ItemAction_ItemInfo_Float.

Abstract extension types

Base type Context and extension point
ItemActionWithQuantityPickerPanel Quantity Panel Prefab; override SetupQuantityPickerSettings and InvokeWithAwaitedValue.
ItemActionWithAsyncFuncActionPanel<T> Async choices with Add Cancel Option; override InvokeWithAwaitedValue.
ItemObjectAction Call SetItemObject with the scene target.
ItemViewSlotsContainerItemAction Origin container, selected slot, display panel and previous selection supplied by the UI flow.

Save Inventory, Item and hotbar results through their savers. Persist custom cooldowns separately and rebuild transient panels after load. Execute inventory-changing actions through your networking authority and replicate the resulting state.

Related: Item Actions, Item Info, Item Collections, Item Hotbar, Save System.