User Tools

Site Tools


random_number

Differences

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

Link to this comparison view

Next revisionBoth sides next revision
random_number [2018/08/29 09:03] – created justinrandom_number [2018/08/29 09:05] justin
Line 8: Line 8:
 wait(random(1, 5)) wait(random(1, 5))
 </code> </code>
 +Waits for a random amount of time between 1 and 5 seconds.
  
 <code python> <code python>
Line 16: Line 17:
 end end
 </code> </code>
 +Gives either ITEM_0001 or ITEM_0002 to the player, with a 25% chance that the item will be ITEM_0001.
  
 ~~NOTOC~~ ~~NOTOC~~
random_number.txt · Last modified: 2020/05/26 10:35 by justin