Difference between revisions of "IncrementItemQuantity"

From ARK Modding Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Category:Nodes]]
 
[[Category:Nodes]]
 
[[Category:PrimalItem Nodes]]
 
[[Category:PrimalItem Nodes]]
{{Incomplete|reason=This page is not complete, and may have incorrect information}}
+
{{Incomplete}}
 +
{{NodeInfoBanner||||||}}
 
[[File:Node_IncrementItemQuantity.jpg|frame|IncrementItemQuantity - PrimalItem]]
 
[[File:Node_IncrementItemQuantity.jpg|frame|IncrementItemQuantity - PrimalItem]]
  
Line 10: Line 11:
 
If the value reaches 0 then the item will be removed from the inventory component automatically.
 
If the value reaches 0 then the item will be removed from the inventory component automatically.
  
=== Related Articles ===
+
=== Details ===
[[Special:WhatLinksHere/IncrementItemQuantity|What Links Here]]<br />
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 61: Line 61:
 
|The current size of this "Stack" of items after this node has been executed {{NoMention}}
 
|The current size of this "Stack" of items after this node has been executed {{NoMention}}
 
|}
 
|}
 +
 +
=== Related Articles ===
 +
[[Special:WhatLinksHere/{{PAGENAME}}|What Links Here]]<br />

Revision as of 19:52, 15 May 2016


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

NoticeIconInactive.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