IncrementItemQuantity

From ARK Modding Wiki
Revision as of 03:52, 15 May 2016 by Jslay (talk | contribs)
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

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.

Related Articles

What Links Here

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)