Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. if(prob(30)&&usr.treasuredrop<1)
  2. var/obj/Item/A = new/obj/Item/Leather_Boots
  3. A.loc = usr
  4. usr.treasuredrop++
  5. usr << "<b><font color = yellow><i>After searching the container for some time, you find [A.name]!"
  6. if(prob(5)&&usr.treasuredrop<1)
  7. var/obj/Item/A = new/obj/Item/Pistol
  8. A.loc = usr
  9. usr.treasuredrop++
  10. usr << "<b><font color = yellow><i>After searching the container for some time, you find [A.name]!"
  11. if(prob(3)&&usr.treasuredrop<1)
  12. var/obj/Item/A = new/obj/Item/Gold_Bracelet
  13. A.loc = usr
  14. usr.treasuredrop+=2
  15. usr << "<b><font color = yellow><i>After searching the container for some time, you find [A.name]!"
  16. if(prob(1)&&usr.treasuredrop<1)
  17. var/obj/Item/A = new/obj/Item/Guard_Helmet
  18. A.loc = usr
  19. usr.treasuredrop+=2
  20. usr << "<b><font color = yellow><i>After searching the container for some time, you find [A.name]!"
  21. if(prob(40)&&usr.treasuredrop<2)
  22. var/obj/Item/A = new/obj/Item/Dagger
  23. A.loc = usr
  24. usr.treasuredrop++
  25. usr << "<b><font color = yellow><i>After searching the container for some time, you find [A.name]!"
  26. if(prob(10)&&usr.treasuredrop<2)
  27. var/obj/Item/A = new/obj/Item/Rustic_Armor
  28. A.loc = usr
  29. usr.treasuredrop++
  30. usr << "<b><font color = yellow><i>After searching the container for some time, you find [A.name]!"
  31. if(prob(10)&&usr.treasuredrop<3)
  32. var/obj/Item/A = new/obj/Item/Brown_Cloak
  33. A.loc = usr
  34. usr.treasuredrop++
  35. usr << "<b><font color = yellow><i>After searching the container for some time, you find [A.name]!"
  36. if(usr.treasuredrop<2)
  37. var/obj/Item/A = new/obj/Item/Buckler
  38. A.loc = usr
  39. usr.treasuredrop++
  40. usr << "<b><font color = yellow><i>After searching the container for some time, you find [A.name]!"
  41. usr.treasuredrop=0
  42. del(src)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement