User Tools

Site Tools


give_loot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
give_loot [2024/02/08 13:52] – created justingive_loot [2024/02/08 20:00] justin
Line 1: Line 1:
-======Function======+======Give Loot======
 ---- ----
 (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>
-function()+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>
-function();+give_loot();
 </code> </code>
 //Results:// //Results://
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Function** function to...+Use the **Give Loot** function to...
 </WRAP> </WRAP>
  
Line 26: Line 30:
 <WRAP half column> <WRAP half column>
 ====Editor Node:==== ====Editor Node:====
-{{:function_node.png?nolink|}}+{{:give_loot_node.png?nolink|}}
 </WRAP> </WRAP>
  
give_loot.txt · Last modified: 2024/02/22 21:05 by justin