Guest User

Untitled

a guest
Feb 7th, 2014
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. variables:
  2. {diamenty.%player%} = 0
  3. {zloto.%player%} = 0
  4. {zelazo.%player%} = 0
  5. #options:
  6. #tag: &8[&6Skript&aDrop*8]
  7. command /kamien [<text>]:
  8. trigger:
  9. if arg 1 is not set:
  10. send "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
  11. send "&5>> &8/kamien statystyki &r- &6Pokazuje wykopane surowce."
  12. send "&5>> &8/kamien drop &r- &6Pokazuje drop ze stone."
  13. send "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
  14. if arg 1 is "drop":
  15. send "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
  16. send "&bDiament : &82%"
  17. send "&6Zloto : &83%"
  18. send "Zelazo : &85%"
  19. send "&eSkrzynia : &83%"
  20. send "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
  21. if arg 1 is "statystyki":
  22. send "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
  23. send "&bDiament : &8%{diamenty.%player%}%"
  24. send "&6Zloto : &8%{zloto.%player%}%"
  25. send "Zelazo : &8%{zelazo.%player%}%"
  26. send "&6=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
  27. on mine of stone:
  28. if chance of 2%:
  29. drop diamond
  30. add 1 to {diamenty.%player%}
  31. send "&aZnalazles&5 >> &bDiament &r[&8+1&r]"
  32. if chance of 5%:
  33. drop iron ore
  34. add 1 to {zelazo.%player%}
  35. send "&aZnalazles&5 >> &fZelazo &r[&8+1&r]"
  36. if chance of 3%:
  37. drop gold ore
  38. add 1 to {zloto.%player%}
  39. send "&aZnalazles&5 >> &6Zloto &r[&8+1&r]"
  40. on place of chest:
  41. if player has permissions "op.op":
  42. set block to chest
  43. else:
  44. cancel event
  45. send "&cNie mozez tego klasc"
  46. on mine of stone:
  47. if chance of 3%:
  48. set block to chest
  49. execute console command "/playsound random.successful_hit %player%"
  50. on rightclick on chest:
  51. set block to air
  52. execute console command "/playsound random.successful_hit %player%"
  53. if chance of 50%:
  54. give diamond pickaxe to the player
  55. if chance of 80%:
  56. give ender pearl to the player
  57. if chance of 69%:
  58. give 8 wood to the player
  59. if chance of 40%:
  60. give 16 arrow to the player
  61. if chance of 70%:
  62. give bow to the player
Advertisement
Add Comment
Please, Sign In to add comment