This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
use_item [2024/02/05 01:37] – created justin | use_item [2024/02/22 21:12] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
(WIP) | (WIP) | ||
+ | |||
+ | Uses/ | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | use_item() | + | use_item(item_id, character) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | | | | | | | + | |item_id| |[[String]]|Yes| |
+ | |character|Defaults to the main [[player character]].|[[Entity]]|No| | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | use_item(); | + | |
</ | </ | ||
// | // |