User Tools

Site Tools


give_loot

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
give_loot [2024/02/08 14:29] justingive_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)
 </code> </code>
  
 ^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();+
 </code> </code>
 //Results:// //Results://
give_loot.1707431366.txt.gz · Last modified: 2024/02/08 14:29 by justin