This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
add_item_to_container [2019/12/23 22:04] – justin | add_item_to_container [2020/01/17 09:45] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Adds one or more of the specified item to an item container. The ID of the item is case-sensitive and should match the ID assigned to it in the [[item_editor|Item Editor]] (e.g. " | + | Adds one or more of the specified item to an item container. The ID of the item is case-sensitive and should match the ID assigned to it in the [[item_editor|Item Editor]] (e.g. " |
====Signature: | ====Signature: | ||
Line 15: | Line 15: | ||
====Example: | ====Example: | ||
- | < | + | < |
- | add_item_to_container(" | + | add_item_to_container(self, " |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
Line 29: | Line 29: | ||
<WRAP half column> | <WRAP half column> | ||
====Editor Node:==== | ====Editor Node:==== | ||
- | {{:wiki:give_item_node.png? | + | {{:wiki:add_item_to_container_node.png? |
</ | </ | ||