Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. on join:
  2. if {gornictwo::%player%} is not set:
  3. set {gornictwo::%player%} to 0
  4. if {lvlgornictwo::%player%} is not set:
  5. set {lvlgornictwo::%player%} to 0
  6.  
  7. on mine:
  8. if event-block is stone:
  9. add 1 to {gornictwo::%player%}
  10. if event-block is iron ore:
  11. drop iron ore
  12. add 30 to {gornictwo::%player%}
  13. if event-block is gold ore:
  14. drop gold ore
  15. add 30 to {gornictwo::%player%}
  16. if event-block is diamond ore:
  17. drop diamond
  18. add 50 to {gornictwo::%player%}
  19. if event-block is emerald ore:
  20. drop emerald
  21. add 100 to {gornictwo::%player%}
  22. if {lvlgornictwo::%player%} is 1:
  23. chance of 25%:
  24. if event-block is iron ore:
  25. drop iron ore
  26. add 30 to {gornictwo::%player%}
  27. chance of 25%:
  28. if event-block is gold ore:
  29. drop gold ore
  30. add 30 to {gornictwo::%player%}
  31. chance of 25%:
  32. if event-block is diamond ore:
  33. drop diamond
  34. add 50 to {gornictwo::%player%}
  35. chance of 25%:
  36. if event-block is emerald ore:
  37. drop emerald
  38. add 100 to {gornictwo::%player%}
  39. if {gornictwo::%player%} is bigger or equal to 250:
  40. if {lvlgornictwo::%player%} is 0:
  41. add 1 to {lvlgornictwo::%player%}
  42. send "Twoja umiejetnosc gornictwa wzrosla na 1 poziom!"
  43. if {gornictwo::%player%} is bigger or equal to 500:
  44. if {lvlgornictwo::%player%} is 1:
  45. add 1 to {lvlgornictwo::%player%}
  46. send "Twoja umiejetnosc gornictwa wzrosla na 2 poziom!"
  47. command /gornictwo:
  48. trigger:
  49. send "&2===========&6Gornictwo&2==========="
  50. send "&6Poziom twojej umiejetnosci gornictwa to %{lvlgornictwo::%player%}%!"
  51. send "&6Doswiadczenie twojej umiejetnosci gornictwa to %{gornictwo::%player%}%!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement