Guest User

Gamble

a guest
Aug 8th, 2014
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. on mine of coal ore:
  2. if {gamble} is true:
  3. clear drops
  4. set {_mine} to a random integer between 1 and 100
  5. set {_other} to a random player
  6. if {_mine} is less than 51:
  7. drop 1 coal
  8. stop
  9. if {_mine} is less than 91:
  10. drop 2 coal
  11. stop
  12. if {_mine} is less than 101:
  13. give 1 coal to {_other}
  14. stop
Advertisement
Add Comment
Please, Sign In to add comment