Guest User

Untitled

a guest
Feb 5th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.07 KB | None | 0 0
  1. options:
  2. tag: &b[Drop]
  3. #Drop gracza
  4. zelazo: 4.5%
  5. zloto: 2.5%
  6. diament: 2.5%
  7. szmaragd: 3.0%
  8. wegiel: 4.0%
  9. redstone: 2.5%
  10. perla: 1.5%
  11. proch: 3.0%
  12. #Drop VIPa
  13. zelazoVIP: 4.5%
  14. zlotoVIP: 2.5%
  15. diamentVIP: 2.5%
  16. szmaragdVIP: 3.0%
  17. wegielVIP: 4.0%
  18. redstoneVIP: 2.5%
  19. perlaVIP: 1.0%
  20. prochVIP: 3.0%
  21.  
  22. #Skrypt na drop
  23. on mine of any ore:
  24. cancel event
  25. delete block
  26. send "{@tag}&7 Ten surowiec wypada tylko ze stone."
  27. on mine of stone:
  28. if player has permission "drop.gracz":
  29. if player's tool is pickaxe of fortune 0:
  30. chance of {@zelazo}:
  31. give a random number between 3 and 1 of iron ingot to the player
  32. stop
  33. else:
  34. if player's tool is pickaxe of fortune 1:
  35. chance of {@zelazo}:
  36. give a random number between 3 and 1 of iron ingot to the player
  37. stop
  38. else:
  39. if player's tool is pickaxe of fortune 2:
  40. chance of {@zelazo}:
  41. give a random number between 4 and 1 of iron ingot to the player
  42. stop
  43. else:
  44. if player's tool is pickaxe of fortune 3:
  45. chance of {@zelazo}:
  46. give a random number between 4 and 2 of iron ingot to the player
  47. stop
  48. if player's tool is pickaxe of fortune 0:
  49. chance of {@zloto}:
  50. give a random number between 1 and 1 of gold ingot to the player
  51. stop
  52. else:
  53. if player's tool is pickaxe of fortune 1:
  54. chance of {@zloto}:
  55. give a random number between 2 and 1 of gold ingot to the player
  56. stop
  57. else:
  58. if player's tool is pickaxe of fortune 2:
  59. chance of {@zloto}:
  60. give a random number between 3 and 1 of gold ingot to the player
  61. stop
  62. else:
  63. if player's tool is pickaxe of fortune 3:
  64. chance of {@zloto}:
  65. give a random number between 5 and 2 of gold ingot to the player
  66. stop
  67. if player's tool is pickaxe of fortune 0:
  68. chance of {@diament}:
  69. give a random number between 1 and 1 of diamond to the player
  70. stop
  71. else:
  72. if player's tool is pickaxe of fortune 1:
  73. chance of {@diament}:
  74. give a random number between 2 and 1 of diamond to the player
  75. stop
  76. else:
  77. if player's tool is pickaxe of fortune 2:
  78. chance of {@diament}:
  79. give a random number between 3 and 1 of diamond to the player
  80. stop
  81. else:
  82. if player's tool is pickaxe of fortune 3:
  83. chance of {@diament}:
  84. give a random number between 4 and 2 of diamond to the player
  85. stop
  86. if player's tool is pickaxe of fortune 0:
  87. chance of {@szmaragd}:
  88. give 1 emerald to the player
  89. stop
  90. else:
  91. if player's tool is pickaxe of fortune 1:
  92. chance of {@szmaragd}:
  93. give a random number between 2 and 1 of emerald to the player
  94. stop
  95. else:
  96. if player's tool is pickaxe of fortune 2:
  97. chance of {@szmaragd}:
  98. give a random number between 3 and 1 of emerald to the player
  99. stop
  100. else:
  101. if player's tool is pickaxe of fortune 3:
  102. chance of {@szmaragd}:
  103. give a random number between 3 and 2 of emerald to the player
  104. stop
  105. if player's tool is pickaxe of fortune 0:
  106. chance of {@wegiel}:
  107. give a random number between 4 and 1 of coal to the player
  108. stop
  109. else:
  110. if player's tool is pickaxe of fortune 1:
  111. chance of {@wegiel}:
  112. give a random number between 4 and 1 of coal to the player
  113. stop
  114. else:
  115. if player's tool is pickaxe of fortune 2:
  116. chance of {@wegiel}:
  117. give a random number between 5 and 1 of coal to the player
  118. stop
  119. else:
  120. if player's tool is pickaxe of fortune 3:
  121. chance of {@wegiel}:
  122. give a random number between 5 and 1 of coal to the player
  123. stop
  124. if player's tool is pickaxe of fortune 0:
  125. chance of {@redstone}:
  126. give a random number between 4 and 1 of redstone to the player
  127. stop
  128. else:
  129. if player's tool is pickaxe of fortune 1:
  130. chance of {@redstone}:
  131. give a random number between 4 and 2 of redstone to the player
  132. stop
  133. else:
  134. if player's tool is pickaxe of fortune 2:
  135. chance of {@redstone}:
  136. give a random number between 5 and 2 of redstone to the player
  137. stop
  138. else:
  139. if player's tool is pickaxe of fortune 3:
  140. chance of {@redstone}:
  141. give a random number between 6 and 3 of redstone to the player
  142. stop
  143. if player's tool is pickaxe of fortune 0:
  144. chance of {@perla}:
  145. give a random number between 1 and 1 of ender pearl to the player
  146. stop
  147. else:
  148. if player's tool is pickaxe of fortune 1:
  149. chance of {@perla}:
  150. give a random number between 1 and 1 of ender pearl to the player
  151. stop
  152. else:
  153. if player's tool is pickaxe of fortune 2:
  154. chance of {@perla}:
  155. give a random number between 1 and 1 of ender pearl to the player
  156. stop
  157. else:
  158. if player's tool is pickaxe of fortune 3:
  159. chance of {@perla}:
  160. give a random number between 2 and 1 of ender pearl to the player
  161. stop
  162. if player's tool is pickaxe of fortune 0:
  163. chance of {@perla}:
  164. give a random number between 3 and 1 of gunpowder to the player
  165. stop
  166. else:
  167. if player's tool is pickaxe of fortune 1:
  168. chance of {@perla}:
  169. give a random number between 4 and 2 of gunpowder to the player
  170. stop
  171. else:
  172. if player's tool is pickaxe of fortune 2:
  173. chance of {@perla}:
  174. give a random number between 5 and 3 of gunpowder to the player
  175. stop
  176. else:
  177. if player's tool is pickaxe of fortune 3:
  178. chance of {@perla}:
  179. give a random number between 8 and 4 of gunpowder to the player
  180. stop
  181. add 10 exp to player
  182. else if player has permission "drop.VIP" and "drop.gracz":
  183. if player's tool is pickaxe of fortune 0:
  184. chance of {@zelazoVIP}:
  185. give a random number between 3 and 1 of iron ingot to the player
  186. stop
  187. else:
  188. if player's tool is pickaxe of fortune 1:
  189. chance of {@zelazoVIP}:
  190. give a random number between 3 and 1 of iron ingot to the player
  191. stop
  192. else:
  193. if player's tool is pickaxe of fortune 2:
  194. chance of {@zelazoVIP}:
  195. give a random number between 4 and 1 of iron ingot to the player
  196. stop
  197. else:
  198. if player's tool is pickaxe of fortune 3:
  199. chance of {@zelazoVIP}:
  200. give a random number between 4 and 2 of iron ingot to the player
  201. stop
  202. if player's tool is pickaxe of fortune 0:
  203. chance of {@zlotoVIP}:
  204. give a random number between 1 and 1 of gold ingot to the player
  205. stop
  206. else:
  207. if player's tool is pickaxe of fortune 1:
  208. chance of {@zlotoVIP}:
  209. give a random number between 2 and 1 of gold ingot to the player
  210. stop
  211. else:
  212. if player's tool is pickaxe of fortune 2:
  213. chance of {@zlotoVIP}:
  214. give a random number between 3 and 1 of gold ingot to the player
  215. stop
  216. else:
  217. if player's tool is pickaxe of fortune 3:
  218. chance of {@zlotoVIP}:
  219. give a random number between 5 and 2 of gold ingot to the player
  220. stop
  221. if player's tool is pickaxe of fortune 0:
  222. chance of {@diamentVIP}:
  223. give a random number between 1 and 1 of diamond to the player
  224. stop
  225. else:
  226. if player's tool is pickaxe of fortune 1:
  227. chance of {@diamentVIP}:
  228. give a random number between 2 and 1 of diamond to the player
  229. stop
  230. else:
  231. if player's tool is pickaxe of fortune 2:
  232. chance of {@diamentVIP}:
  233. give a random number between 3 and 1 of diamond to the player
  234. stop
  235. else:
  236. if player's tool is pickaxe of fortune 3:
  237. chance of {@diamentVIP}:
  238. give a random number between 4 and 2 of diamond to the player
  239. stop
  240. if player's tool is pickaxe of fortune 0:
  241. chance of {@szmaragdVIP}:
  242. give 1 emerald to the player
  243. stop
  244. else:
  245. if player's tool is pickaxe of fortune 1:
  246. chance of {@szmaragdVIP}:
  247. give a random number between 2 and 1 of emerald to the player
  248. stop
  249. else:
  250. if player's tool is pickaxe of fortune 2:
  251. chance of {@szmaragdVIP}:
  252. give a random number between 3 and 1 of emerald to the player
  253. stop
  254. else:
  255. if player's tool is pickaxe of fortune 3:
  256. chance of {@szmaragdVIP}:
  257. give a random number between 3 and 2 of emerald to the player
  258. stop
  259. if player's tool is pickaxe of fortune 0:
  260. chance of {@wegielVIP}:
  261. give a random number between 4 and 1 of coal to the player
  262. stop
  263. else:
  264. if player's tool is pickaxe of fortune 1:
  265. chance of {@wegielVIP}:
  266. give a random number between 4 and 1 of coal to the player
  267. stop
  268. else:
  269. if player's tool is pickaxe of fortune 2:
  270. chance of {@wegielVIP}:
  271. give a random number between 5 and 1 of coal to the player
  272. stop
  273. else:
  274. if player's tool is pickaxe of fortune 3:
  275. chance of {@wegielVIP}:
  276. give a random number between 5 and 1 of coal to the player
  277. stop
  278. if player's tool is pickaxe of fortune 0:
  279. chance of {@redstoneVIP}:
  280. give a random number between 4 and 1 of redstone to the player
  281. stop
  282. else:
  283. if player's tool is pickaxe of fortune 1:
  284. chance of {@redstoneVIP}:
  285. give a random number between 4 and 2 of redstone to the player
  286. stop
  287. else:
  288. if player's tool is pickaxe of fortune 2:
  289. chance of {@redstoneVIP}:
  290. give a random number between 5 and 2 of redstone to the player
  291. stop
  292. else:
  293. if player's tool is pickaxe of fortune 3:
  294. chance of {@redstoneVIP}:
  295. give a random number between 6 and 3 of redstone to the player
  296. stop
  297. if player's tool is pickaxe of fortune 0:
  298. chance of {@perlaVIP}:
  299. give a random number between 1 and 1 of ender pearl to the player
  300. stop
  301. else:
  302. if player's tool is pickaxe of fortune 1:
  303. chance of {@perlaVIP}:
  304. give a random number between 1 and 1 of ender pearl to the player
  305. stop
  306. else:
  307. if player's tool is pickaxe of fortune 2:
  308. chance of {@perlaVIP}:
  309. give a random number between 1 and 1 of ender pearl to the player
  310. stop
  311. else:
  312. if player's tool is pickaxe of fortune 3:
  313. chance of {@perlaVIP}:
  314. give a random number between 2 and 1 of ender pearl to the player
  315. stop
  316. if player's tool is pickaxe of fortune 0:
  317. chance of {@perlaVIP}:
  318. give a random number between 3 and 1 of gunpowder to the player
  319. stop
  320. else:
  321. if player's tool is pickaxe of fortune 1:
  322. chance of {@perlaVIP}:
  323. give a random number between 4 and 2 of gunpowder to the player
  324. stop
  325. else:
  326. if player's tool is pickaxe of fortune 2:
  327. chance of {@perlaVIP}:
  328. give a random number between 5 and 3 of gunpowder to the player
  329. stop
  330. else:
  331. if player's tool is pickaxe of fortune 3:
  332. chance of {@perlaVIP}:
  333. give a random number between 8 and 4 of gunpowder to the player
  334. stop
  335. add 20 exp to player
Advertisement
Add Comment
Please, Sign In to add comment