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
Next revision
Previous revision
Next revisionBoth sides next revision
add_item_to_container [2020/02/19 11:28] justinadd_item_to_container [2020/02/19 11:29] justin
Line 15: Line 15:
  
 ====Example:==== ====Example:====
-<code lua>+<code bauxite>
 add_item_to_container(self, "ITEM_0001", 1) add_item_to_container(self, "ITEM_0001", 1)
 </code> </code>
-//Results:// One of ITEM_0001 is placed into the container entity from which the script was triggered.+//Results:// One of ITEM_0001 is placed into the [[item_container|container]] [[entity]] from which the [[script]] was triggered.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Add Item Container** function to place a new item into a chest or onto a table after the player has performed an action to build, generate, or "craft" the item.+Use the **Add Item Container** function to place a new [[item]] into a chest or onto a table after the player has performed an action to build, generate, or "craft" the [[item]].
 </WRAP> </WRAP>
  
add_item_to_container.txt · Last modified: 2023/01/02 21:08 by justin