Difference between revisions of "IncrementItemQuantity"

From ARK Modding Wiki
Jump to navigation Jump to search
(Created page with "Category:Nodes Category:PrimalItem Nodes frame|Increment Item Quantity - PrimalItem == How to Use == Modify the quantity of a...")
 
m
Line 59: Line 59:
 
|Return Value
 
|Return Value
 
|Integer
 
|Integer
|The current size of this "Stack" of items after this node has been executed
+
|The current size of this "Stack" of items after this node has been executed '''+'''
 
|}
 
|}
  
 
=== Legend ===
 
=== Legend ===
 
'''+''' Needs Further Clarification, could be incorrect, author made a guess
 
'''+''' Needs Further Clarification, could be incorrect, author made a guess

Revision as of 01:06, 15 May 2016


Increment Item Quantity - 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 +
Is From Use Consumption Bool Trigger use consumption events +
Is Ark Tribute Item Bool Needs Further Clarification +
Is From Crafting Consumption Bool Trigger crafting consumption events +


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

Legend

+ Needs Further Clarification, could be incorrect, author made a guess