This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
remove_item_from_container [2024/02/08 13:52] – created justin | remove_item_from_container [2024/02/22 21:08] (current) – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Function====== | + | ======Remove Item From Container====== |
---- | ---- | ||
(WIP) | (WIP) | ||
+ | |||
+ | Removes one or more of the specified [[item]] from an [[item container]]. | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | function() | + | remove_item_from_container(entity, item_id, count) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | | | | | | | + | |entity| |[[Entity]]|Yes| |
+ | |item_id| |[[String]]|Yes| | ||
+ | |count| |[[Number]]|No| | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | function(); | + | |
</ | </ | ||
// | // | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Function** function to... | + | Use the **Remove Item From Container** function to... |
</ | </ | ||
Line 26: | Line 30: | ||
<WRAP half column> | <WRAP half column> | ||
====Editor Node:==== | ====Editor Node:==== | ||
- | {{:function_node.png? | + | {{:remove_item_from_container_node.png? |
</ | </ | ||