Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.44 KB | None | 0 0
  1. variables:
  2. {diament.napis.%player%} = "&aWlaczony"
  3. {szmaragd.napis.%player%} = "&aWlaczony"
  4. {cobble.napis.%player%} = "&aWlaczony"
  5. {iron.napis.%player%} = "&aWlaczony"
  6. {diament.%player%} = false
  7. {szmaragd.%player%} = false
  8. {iron.%player%} = false
  9. {cobble.%player%} = false
  10. {stone.%player%} = 0
  11. {diax.%player%} = 0
  12. {zelazo.%player%} = 0
  13. {eme.%player%} = 0
  14. variables:
  15. {stone::%player%} = 0
  16. on mine of stone:
  17. add 1 to {stone::%player%}
  18.  
  19. options:
  20. tag: &8[&a&lDrop&8]
  21. command /drop [<text>]:
  22. trigger:
  23. if arg 1 is not set:
  24. open chest with 1 rows named "{@tag}" to player
  25. wait 0.2 second
  26. format slot 7 of player with 1 of diamond pickaxe named "&fWykopany stone: &c%{stone::%player%}%" with lore "Kliknij aby odswiezyc" to run [make player execute "drop"]
  27. format slot 0 of player with 1 of stone named "&1&lDrop z stone" to run [make player execute "droplist"]
  28. format slot 6 of player with 1 paper named "&b&lDurbo&a&lDrop" with lore "&k####################||&cZakupisz na||&6Pracuje nad tym||&k####################)" to run [make player execute "drop"]
  29. format slot 8 of player with 1 of 166 named "&cWyjscie" to close
  30.  
  31. command /droplist [<text>]:
  32. trigger:
  33. if arg 1 is not set:
  34. open chest with 4 rows named "&8[&a&lDrop&8]" to player
  35. wait 0.2 second
  36. format slot 0 of player with 1 of diamond named "&6Diament" with lore "&8Szansa &e12 procent||&8Doswiadczenie &e60||&8Status: &e%{diament.napis.%player%}%" to run [execute player command "/diament"]
  37. format slot 1 of player with 1 of emerald named "&6Emerald" with lore "&8Szansa &e6 procent||&8Doswiadczenie &e80||&8Status: &e%{szmaragd.napis.%player%}%" to run [execute player command "/szmaragd"]
  38. format slot 2 of player with 1 of iron ingot named "&6Zelazo" with lore "&8Szansa &e9 procent||&8Doswiadczenie &e90||&8Status: &e%{iron.napis.%player%}%" to run [execute player command "/iron"]
  39. format slot 13 of player with 1 of 54 named "&7&k||&6FastCase&7&k||" with lore "&8Szansa &e0.03 procent||&8Status: &c&lPRACE TECHNICZNE" to run [execute player command "/droplist"]
  40. format slot 28 of player with 1 of 35:13 named "&7&lWlacza wszystkie dropy" with lore "&8Status: &c&lPRACE TECHNICZNE" to run [execute player command "/droplist"]
  41. format slot 27 of player with 1 of 35:14 named "&7&lWylacza wszystkie dropy" with lore "&8Status: &c&lPRACE TECHNICZNE" to run [execute player command "/droplist"]
  42. format slot 33 of player with 1 paper named "&b&lDurbo&a&lDrop" with lore "&k####################||&cZakupisz na||&6Pracuje nad tym||&k####################)" to run [make player execute "droplist"]
  43. format slot 26 of player with 1 of 1 named "&6Cobblestone" with lore "&cStan: %{cobble.napis.%player%}%" to run [execute player command "/cobble"]
  44. format slot 34 of player with 1 of 399 named "&2Powrot do Menu" with lore "&8» &7Przenosi do glownego Menu" to run [make player execute "drop"]
  45. format slot 35 of player with 1 of 166 named "&cWyjscie" to close
  46. on break stone:
  47. if {cobble.%player%} is false:
  48. chance of 100%:
  49. give 1 cobblestone to the player
  50. add 1 to {stone.%player%}
  51. if {diament.%player%} is false:
  52. chance of 12%:
  53. give 1 diamond to the player
  54. give 60 exp to player
  55. add 1 to {diax.%player%}
  56. if {szmaragd.%player%} is false:
  57. chance of 6%:
  58. give 1 emerald to the player
  59. give 80 exp to player
  60. add 1 to {eme.%player%}
  61. stop
  62. if {iron.%player%} is false:
  63. chance of 9%:
  64. give 1 iron ingot to the player
  65. give 90 exp to player
  66. add 1 to {zelazo.%player%}
  67. stop
  68.  
  69. command /diament:
  70. trigger:
  71. if {diament.%player%} is true:
  72. set {diament.%player%} to false
  73. set {diament.napis.%player%} to "&aWlaczony"
  74. wait 5 ticks
  75. execute player command "droplist"
  76. else:
  77. set {diament.%player%} to true
  78. set {diament.napis.%player%} to "&cWylaczony"
  79. wait 5 ticks
  80. execute player command "droplist"
  81. command /szmaragd:
  82. trigger:
  83. if {szmaragd.%player%} is true:
  84. set {szmaragd.%player%} to false
  85. set {szmaragd.napis.%player%} to "&aWlaczony"
  86. wait 5 ticks
  87. execute player command "droplist"
  88. else:
  89. set {szmaragd.%player%} to true
  90. set {szmaragd.napis.%player%} to "&cWylaczony"
  91. wait 5 ticks
  92. execute player command "droplist"
  93. command /iron:
  94. trigger:
  95. if {iron.%player%} is true:
  96. set {iron.%player%} to false
  97. set {iron.napis.%player%} to "&aWlaczony"
  98. wait 5 ticks
  99. execute player command "droplist"
  100. else:
  101. set {iron.%player%} to true
  102. set {iron.napis.%player%} to "&cWylaczony"
  103. wait 5 ticks
  104. execute player command "droplist"
  105. command /cobble:
  106. trigger:
  107. if {cobble.%player%} is true:
  108. set {cobble.%player%} to false
  109. set {cobble.napis.%player%} to "&aWlaczony"
  110. wait 5 ticks
  111. execute player command "droplist"
  112. else:
  113. set {cobble.%player%} to true
  114. set {cobble.napis.%player%} to "&cWylaczony"
  115. wait 5 ticks
  116. execute player command "droplist"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement