This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
give_loot [2024/02/08 14:29] – justin | give_loot [2024/02/22 21:05] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
(WIP) | (WIP) | ||
+ | |||
+ | Generates [[item|items]] for a loot drop one or more times, then gives the resulting [[item|items]] to the specified [[character]]. | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | give_loot() | + | give_loot(loot_name, count, character) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | | | | | | | + | |loot_name| |[[String]]|Yes| |
+ | |count| |[[Number]]|No| | ||
+ | |character| |[[Entity]]|No| | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | give_loot(); | + | |
</ | </ | ||
// | // |