User Tools

Site Tools


add_item_to_container

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
add_item_to_container [2021/04/21 18:57] justinadd_item_to_container [2023/01/02 21:08] (current) justin
Line 13: Line 13:
 |item_id|ID of the [[item|item]] (as assigned in the [[item_editor|Item Editor]]).|[[string|String]]|Yes| |item_id|ID of the [[item|item]] (as assigned in the [[item_editor|Item Editor]]).|[[string|String]]|Yes|
 |count|How many of the [[item|item]] to add (defaults to 1).|[[number|Number]]|No| |count|How many of the [[item|item]] to add (defaults to 1).|[[number|Number]]|No|
 +
 +^Return Value^Description^Type^
 +|Number Added|Returns the actual number of [[item|items]] that were added to the [[item container]]. This could be less than the count supplied to the function, for example if the [[item container]] becomes full.|[[Number]]|
  
 ====Example:==== ====Example:====
add_item_to_container.txt · Last modified: 2023/01/02 21:08 by justin