MrChromPL

Drop

Aug 25th, 2015
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.75 KB | None | 0 0
  1. options:
  2. #Diament#
  3. wysdi: 264
  4. di: 4.00
  5. id: air
  6. #Zloto#
  7. wyszl: 264
  8. zl: 3.00
  9. id: air
  10. #Zelazo#
  11. wysir: 264
  12. ir: 4.20
  13. id: air
  14. #Redstone#
  15. wysrs: 264
  16. rs: 2.00
  17. id: air
  18. #Wengiel#
  19. wyswg: 264
  20. wg: 4.40
  21. id: air
  22. #Lapis#
  23. wyslp: 264
  24. lp: 3.00
  25. id: air
  26. #Emerald#
  27. wysem: 264
  28. em: 2.00
  29. id: air
  30. #Perla#
  31. wysper: 264
  32. per: 0.10
  33. id: air
  34. #Ksiazka#
  35. wysks: 264
  36. ks: 2.00
  37. id: air
  38. #Proch#
  39. wysgp: 264
  40. gp: 3.00
  41. id: air
  42. #Jablko#
  43. wysap: 264
  44. ap: 2.00
  45. id: air
  46. #Klucz#
  47. wyskl: 264
  48. kl: 0.01
  49. id: air
  50. #Drop#
  51. on mine of stone:
  52. if player's tool is pickaxe:
  53. damage player's tool by 1
  54. if gamemode of player is survival:
  55. if player's y-coordinate is smaller than {@wysdi}:
  56. chance of {@di}%:
  57. if player can hold 3 diamond:
  58. give a random number between 3 and 1 of diamond to the player
  59. send "&8> &3Trafiles na: &7Diament!"
  60. else:
  61. drop a random number between 2 and 1 of apple
  62. send "&8> &3Trafiles na: &7Diament!"
  63. if player's y-coordinate is smaller than {@wyszl}:
  64. chance of {@zl}%:
  65. if player can hold 3 gold ingot:
  66. give a random number between 3 and 1 of gold ingot to the player
  67. send "&8> &3Trafiles na: &7Zloto!"
  68. else:
  69. drop a random number between 2 and 1 of apple
  70. send "&8> &3Trafiles na: &7Zloto!"
  71. if player's y-coordinate is smaller than {@wysrs}:
  72. chance of {@rs}%:
  73. if player can hold 4 redstone:
  74. give a random number between 4 and 1 of redstone to the player
  75. send "&8> &3Trafiles na: &7Redstone!"
  76. else:
  77. drop a random number between 4 and 1 of redstone
  78. send "&8> &3Trafiles na: &7Redstone!"
  79. if player's y-coordinate is smaller than {@wysir}:
  80. chance of {@ir}%:
  81. if player can hold 3 iron ingot:
  82. give a random number between 3 and 1 of iron ingot to the player
  83. send "&8> &3Trafiles na: &7Zelazo!"
  84. else:
  85. drop a random number between 3 and 1 of iron ingot
  86. send "&8> &3Trafiles na: &7Zelzazo!"
  87. if player's y-coordinate is smaller than {@wyswg}:
  88. chance of {@wg}%:
  89. if player can hold 3 coal:
  90. give a random number between 4 and 1 of coal to the player
  91. send "&8> &3Trafiles na: &7Wegiel!"
  92. else:
  93. drop a random number between 4 and 1 of coal
  94. send "&8> &3Trafiles na: &7Wegiel!"
  95. if player's y-coordinate is smaller than {@wysem}:
  96. chance of {@em}%:
  97. if player can hold 2 emerald:
  98. give a random number between 2 and 1 of emerald to the player
  99. send "&8> &3Trafiles na: &7Emerlad!"
  100. else:
  101. drop a random number between 2 and 1 of emerald
  102. send "&8> &3Trafiles na: &7Emerald!"
  103. if player's y-coordinate is smaller than {@wysper}:
  104. chance of {@per}%:
  105. if player can hold 3 ender pearl:
  106. give a random number between 3 and 1 of ender pearl to the player
  107. send "&8> &3Trafiles na: &7Perle!"
  108. else:
  109. drop a random number between 3 and 1 of ender pearl
  110. send "&8> &3Trafiles na: &7Perle!"
  111. if player's y-coordinate is smaller than {@wysks}:
  112. chance of {@ks}%:
  113. if player can hold 3 book:
  114. give a random number between 3 and 1 of book to the player
  115. send "&8> &3Trafiles na: &7Ksiazke!"
  116. else:
  117. drop a random number between 3 and 1 of book
  118. send "&8> &3Trafiles na: &7Ksiazke!"
  119. if player's y-coordinate is smaller than {@wysgp}:
  120. chance of {@gp}%:
  121. if player can hold 4 gunpowder:
  122. give a random number between 4 and 1 of gunpowder to the player
  123. send "&8> &3Trafiles na: &7Proch!"
  124. else:
  125. drop a random number between 4 and 1 of gunpowder
  126. send "&8> &3Trafiles na: &7Proch!"
  127. if player's y-coordinate is smaller than {@wysap}:
  128. chance of {@ap}%:
  129. if player can hold 2 apple:
  130. give a random number between 2 and 1 of apple to the player
  131. send "&8> &3Trafiles na: &7Jablko!"
  132. else:
  133. drop a random number between 2 and 1 of apple
  134. send "&8> &3Trafiles na: &7Jablko!"
  135. if player's y-coordinate is smaller than {@wyskl}:
  136. chance of {@kl}%:
  137. if player can hold 1 tripwire hook:
  138. give 1 tripwire hook of unbreaking 10 named "&6Klucz" to the player
  139. send "&8> &3Trafiles na: &7Klucz!"
  140. else:
  141. drop 1 tripwire hook of unbreaking 10 named "&6Klucz"
  142. send "&8> &3Trafiles na: &7Klucz!"
  143. #Exp#
  144. cancel event
  145. set block to air
  146. give player 1 cobblestone
  147. give player 8 exp
  148. on break obsidian:
  149. give player 16 exp
  150. #Rudy#
  151. on mine iron ore:
  152. cancel event
  153. set block to {@id}
  154. send "&3Ten surowiec wypada ze stone! Sprawdz drop pod komeda /kamien!"
  155. on mine gold ore:
  156. cancel event
  157. set block to {@id}
  158. send "&3Ten surowiec wypada ze stone! Sprawdz drop pod komeda /kamien!"
  159. on mine diamond ore:
  160. cancel event
  161. set block to {@id}
  162. send "&3Ten surowiec wypada ze stone! Sprawdz drop pod komeda /kamien!"
  163. on mine coal ore:
  164. cancel event
  165. set block to {@id}
  166. send "&3Ten surowiec wypada ze stone! Sprawdz drop pod komeda /kamien!"
  167. on mine emerald ore:
  168. cancel event
  169. set block to {@id}
  170. send "&3Ten surowiec wypada ze stone! Sprawdz drop pod komeda /kamien!"
  171. #Komedy#
  172. command /drop:
  173. aliases: /stone, /kamien
  174. trigger:
  175. open chest with 2 rows named "&6Drop ze stone" to player
  176. format slot 0 of player with 1 of diamond named "&7Szansa na drop 4.00" to be unstealable
  177. format slot 1 of player with 1 of gold ingot named "&7Szansa na drop 3.00" to be unstealable
  178. format slot 2 of player with 1 of iron ingot named "&7Szansa na drop 4.20" to be unstealable
  179. format slot 3 of player with 1 of emerald named "&7Szansa na drop 2.00" to be unstealable
  180. format slot 4 of player with 1 of coal named "&7Szansa na drop 4.40" to be unstealable
  181. format slot 5 of player with 1 of redstone named "&7Szansa na drop 3.00" to be unstealable
  182. format slot 6 of player with 1 of gunpowder named "&7Szansa na drop 3.00" to be unstealable
  183. format slot 7 of player with 1 of lapis named "&7Szansa na drop 3.00" to be unstealable
  184. format slot 8 of player with 1 of book named "&7Szansa na drop 2.00" to be unstealable
  185. format slot 9 of player with 1 of apple named "&7Szansa na drop 2.00" to be unstealable
  186. format slot 10 of player with 1 of ender pearl named "&7Szansa na drop 0.10" to be unstealable
  187. format slot 11 of player with 1 of tripwire hook named "&7Szansa na drop 0.01" to be unstealable
  188. format slot 16 of player with 1 of bottle o' enchanting named "&7Drop exp'a ze stone 8.00" to be unstealable
  189. format slot 17 of player with 1 of obsidian named "&7Drop exp'a z obsidianu 16.00" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment