IncrementItemQuantity

From ARK Modding Wiki
Jump to navigation Jump to search


This article or chapter is incomplete and its contents need further attention. Some information may be missing or may be wrong, spelling and grammar may have to be improved, use your judgment!

Look for (Confirmation Needed) areas on this page, and help out where you can.

NoticeIcon.png

Replication Important

NoticeIconInactive.png

Must run on server

NoticeIconInactive.png

Should run on server

NoticeIcon.png

Must run on client

NoticeIconInactive.png

Should run on client

NoticeIconInactive.png

Requires Multicasting

NoticeIconInactive.png

IncrementItemQuantity - PrimalItem

How to Use

Modify the quantity of a PrimalItem in an inventory component by reference

Notes:
Negative values will decremented the stack.
If the value reaches 0 then the item will be removed from the inventory component automatically.

Details

Inputs
Pin Reference Type Description
Target PrimalItem PrimalItem Reference
Amount Integer value which the quantity will be modified by
Replicate to Client Bool Trigger automatic replication of this change to the inventory component to all viewing clients immediately
Don't Update Weight Bool Prevent this item from being figured into weight calculations (Confirmation Needed)
Is From Use Consumption Bool Trigger use consumption events (Confirmation Needed)
Is Ark Tribute Item Bool Needs Further Clarification (Confirmation Needed)
Is From Crafting Consumption Bool Trigger crafting consumption events (Confirmation Needed)


Outputs
Pin Reference Type Description
Return Value Integer The current size of this "Stack" of items after this node has been executed (Confirmation Needed)

Related Articles

What Links Here