Jezyk

Drop

Apr 11th, 2015
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.23 KB | None | 0 0
  1. options:
  2. #Procent dropu:
  3. diamond: 4
  4. emerald: 5
  5. gold: 2.5
  6. iron: 5
  7. pearl: 0.5
  8. book: 3
  9. coal: 4
  10. gun: 2.5
  11. redstone: 4
  12. #Wysokosc dropu:
  13. wdiamond: 21
  14. wemerald: 21
  15. wgold: 21
  16. wiron: 65
  17. wpearl: 21
  18. wbook: 45
  19. wcoal: 65
  20. wgun: 45
  21. wredstone: 45
  22. #Procent dropu vipa
  23. vdiament: 6
  24. vszmaragd: 7
  25. vzloto: 4.5
  26. vzelazo: 7
  27. vperla: 1
  28. vksiazka: 5
  29. vwegiel: 6
  30. vproch: 4.5
  31. vczerwony: 6
  32.  
  33. #GŁÓWNY KOD [NIE DOTYKAJ !]
  34. #Diamond
  35. on mine of stone:
  36. give 2 xp to the player
  37. if player's gamemode is survival:
  38. if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  39. chance of {@diamond}%:
  40. if player's y-coordinate is smaller than {@wdiamond}:
  41. give 1 diamond to the player
  42. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  43. chance of {@diamond}%:
  44. if player's y-coordinate is smaller than {@wdiamond}:
  45. give a random number between 2 and 1 of diamond to the player
  46. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  47. chance of {@diamond}%:
  48. if player's y-coordinate is smaller than {@wdiamond}:
  49. give a random number between 3 and 1 of diamond to the player
  50. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  51. chance of {@diamond}%:
  52. if player's y-coordinate is smaller than {@wdiamond}:
  53. give a random number between 4 and 1 of diamond to the player
  54.  
  55. #Emerald
  56. on mine of stone:
  57. give 2 xp to the player
  58. if player's gamemode is survival:
  59. if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  60. chance of {@emerald}%:
  61. if player's y-coordinate is smaller than {@wemerald}:
  62. give 1 emerald to the player
  63. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  64. chance of {@emerald}%:
  65. if player's y-coordinate is smaller than {@wemerald}:
  66. give random number between 2 and 1 of emerald to the player
  67. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  68. chance of {@emerald}%:
  69. if player's y-coordinate is smaller than {@wemerald}:
  70. give random number between 3 and 1 of emerald to the player
  71. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  72. chance of {@emerald}%:
  73. if player's y-coordinate is smaller than {@wemerald}:
  74. give random number between 4 and 1 of emerald to the player
  75.  
  76. #Gold
  77. on mine of stone:
  78. give 2 xp to the player
  79. if player's gamemode is survival:
  80. if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  81. chance of {@gold}%:
  82. if player's y-coordinate is smaller than {@wgold}:
  83. give 1 gold ingot to the player
  84. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  85. chance of {@gold}%:
  86. if player's y-coordinate is smaller than {@wgold}:
  87. give random number between 2 and 1 of gold ingot to the player
  88. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  89. chance of {@gold}%:
  90. if player's y-coordinate is smaller than {@wgold}:
  91. give random number between 3 and 1 of gold ingot to the player
  92. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  93. chance of {@gold}%:
  94. if player's y-coordinate is smaller than {@wgold}:
  95. give random number between 4 and 1 of gold ingot to the player
  96.  
  97. #Iron
  98. on mine of stone:
  99. give 2 xp to the player
  100. if player's gamemode is survival:
  101. if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  102. chance of {@iron}%:
  103. if player's y-coordinate is smaller than {@wiron}:
  104. give 1 iron ingot to the player
  105. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  106. chance of {@iron}%:
  107. if player's y-coordinate is smaller than {@wiron}:
  108. give random number between 2 and 1 of iron ingot to the player
  109. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  110. chance of {@iron}%:
  111. if player's y-coordinate is smaller than {@wiron}:
  112. give random number between 3 and 1 of iron ingot to the player
  113. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  114. chance of {@iron}%:
  115. if player's y-coordinate is smaller than {@wiron}:
  116. give random number between 4 and 1 of iron ingot to the player
  117.  
  118. #Pearl
  119. on mine of stone:
  120. give 2 xp to the player
  121. if player's gamemode is survival:
  122. if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  123. chance of {@pearl}%:
  124. if player's y-coordinate is smaller than {@wpearl}:
  125. give 1 ender pearl to the player
  126. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  127. chance of {@pearl}%:
  128. if player's y-coordinate is smaller than {@wpearl}:
  129. give 1 ender pearl to the player
  130. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  131. chance of {@pearl}%:
  132. if player's y-coordinate is smaller than {@wpearl}:
  133. give 1 ender pearl to the player
  134. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  135. chance of {@pearl}%:
  136. if player's y-coordinate is smaller than {@wpearl}:
  137. give random number between 2 and 1 of ender pearl to the player
  138.  
  139. #Book
  140. on mine of stone:
  141. give 2 xp to the player
  142. if player's gamemode is survival:
  143. if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  144. chance of {@book}%:
  145. if player's y-coordinate is smaller than {@wbook}:
  146. give 1 book to the player
  147. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  148. chance of {@book}%:
  149. if player's y-coordinate is smaller than {@wbook}:
  150. give random number between 2 and 1 of book to the player
  151. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  152. chance of {@book}%:
  153. if player's y-coordinate is smaller than {@wbook}:
  154. give random number between 3 and 1 of book to the player
  155. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  156. chance of {@book}%:
  157. if player's y-coordinate is smaller than {@wbook}:
  158. give random number between 4 and 1 of book to the player
  159.  
  160. #Coal
  161. on mine of stone:
  162. give 2 xp to the player
  163. if player's gamemode is survival:
  164. if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  165. chance of {@coal}%:
  166. if player's y-coordinate is smaller than {@wcoal}:
  167. give 1 coal to the player
  168. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  169. chance of {@coal}%:
  170. if player's y-coordinate is smaller than {@wcoal}:
  171. give random number between 2 and 1 of coal to the player
  172. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  173. chance of {@coal}%:
  174. if player's y-coordinate is smaller than {@wcoal}:
  175. give random number between 3 and 1 of coal to the player
  176. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  177. chance of {@coal}%:
  178. if player's y-coordinate is smaller than {@wcoal}:
  179. give random number between 4 and 1 of coal to the player
  180.  
  181. #Gun
  182. on mine of stone:
  183. give 2 xp to the player
  184. if player's gamemode is survival:
  185. if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  186. chance of {@gun}%:
  187. if player's y-coordinate is smaller than {@wgun}:
  188. give 1 gunpowder to the player
  189. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  190. chance of {@gun}%:
  191. if player's y-coordinate is smaller than {@wgun}:
  192. give random number between 2 and 1 of gunpowder to the player
  193. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  194. chance of {@gun}%:
  195. if player's y-coordinate is smaller than {@wgun}:
  196. give random number between 3 and 1 of gunpowder to the player
  197. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  198. chance of {@gun}%:
  199. if player's y-coordinate is smaller than {@wgun}:
  200. give random number between 4 and 1 of gunpowder to the player
  201.  
  202. #RedStone
  203. on mine of stone:
  204. give 2 xp to the player
  205. if player's gamemode is survival:
  206. if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  207. chance of {@redstone}%:
  208. if player's y-coordinate is smaller than {@wredstone}:
  209. give random number between 3 and 1 of redstone to the player
  210. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  211. chance of {@redstone}%:
  212. if player's y-coordinate is smaller than {@wredstone}:
  213. give random number between 5 and 1 of redstone to the player
  214. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  215. chance of {@redstone}%:
  216. if player's y-coordinate is smaller than {@wredstone}:
  217. give random number between 7 and 1 of redstone to the player
  218. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  219. chance of {@redstone}%:
  220. if player's y-coordinate is smaller than {@wredstone}:
  221. give random number between 10 and 1 of redstone to the player
  222.  
  223. #=============================================================================================
  224.  
  225. #Drop cobble
  226. command /cobble [<text>]:
  227. permission: drop.cobble
  228. permission message: &cNie masz uprawnien do tej komendy!
  229. trigger:
  230. if arg 1 is not set:
  231. send "&3/cobble on &8» &6wlacza drop cobbla"
  232. send "&3/cobble off &8» &6wylacza drop cobbla"
  233. if arg 1 is "off":
  234. set {%player%.cobble} to false
  235. send "&cWylaczyles drop cobbla!"
  236. stop
  237. if arg 1 is "on":
  238. set {%player%.cobble} to true
  239. send "&aWlaczyles drop cobbla!"
  240. stop
  241. on login:
  242. if {%player%.cobble} is false:
  243. set {%player%.cobble} to true
  244.  
  245. on mine:
  246. if event-block is stone:
  247. if {%player%.cobble} is false:
  248. cancel event
  249. set event-block to air
  250.  
  251. #Komenda /stone
  252. command /alahagba [<player>]:
  253. permission: ujezyka.drop
  254. permission message: &cNie masz uprawnien do komendy!
  255. trigger:
  256. open chest with 1 rows named "&7» &3Drop z stone" to arg 1
  257. wait 1 tick
  258. format slot 0 of player with 1 of diamond named "&3Diament" with lore "&6Szansa &7» &34 &6procent" to be unstealable
  259. format slot 1 of player with 1 of emerald named "&aEmerald" with lore "&6Szansa &7» &35 &6procent" to be unstealable
  260. format slot 2 of player with 1 of gold ingot named "&eZloto" with lore "&6Szansa &7» &32.5 &6procent" to be unstealable
  261. format slot 3 of player with 1 of iron ingot named "&7Zelazo" with lore "&6Szansa &7» &35 &6procent" to be unstealable
  262. format slot 4 of player with 1 of ender pearl named "&9Ender Perla" with lore "&6Szansa &7» &30.5 &6procent" to be unstealable
  263. format slot 5 of player with 1 of book named "&2Ksiazka" with lore "&6Szansa &7» &33 &6procent" to be unstealable
  264. format slot 6 of player with 1 of 263 named "&0Wegiel" with lore "&6Szansa &7» &34 &6procent" to be unstealable
  265. format slot 7 of player with 1 of gunpowder named "&8Proch" with lore "&6Szansa &7» &32.5 &6procent" to be unstealable
  266. format slot 8 of player with 1 of redstone named "&cRedstone" with lore "&6Szansa &7» &34 &6procent" to be unstealable
  267.  
  268. command /stone:
  269. permission: ujezyka.stone
  270. permission message: &cNie masz uprawnien do komendy!
  271. aliases: drop
  272. trigger:
  273. execute player command "/alahagba %player%"
  274.  
  275. #Zablokowanie rud
  276. on mine of diamond ore or emerald ore or gold ore or iron ore or redstone ore or coal ore:
  277. cancel event
  278. set block to air
  279. send "&6Drop z rud jest wylaczony"
  280. send "&6Wpisz /drop aby dowiedziec sie wiecej o dropie!"
  281. stop
  282.  
  283. #Zniszczenia kilofa
  284. on mine of stone:
  285. Damage player's tool by 1
  286. stop
  287. #DROP VIP
  288. #Diamond
  289. on mine of stone:
  290. if player has permission "ujezyka.drop.x2":
  291. give 2 xp to the player
  292. if player's gamemode is survival:
  293. if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  294. chance of {@vdiament}%:
  295. if player's y-coordinate is smaller than {@wdiamond}:
  296. give 1 diamond to the player
  297. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  298. chance of {@vdiament}%:
  299. if player's y-coordinate is smaller than {@wdiamond}:
  300. give a random number between 2 and 1 of diamond to the player
  301. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  302. chance of {@vdiament}%:
  303. if player's y-coordinate is smaller than {@wdiamond}:
  304. give a random number between 3 and 1 of diamond to the player
  305. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  306. chance of {@vdiament}%:
  307. if player's y-coordinate is smaller than {@wdiamond}:
  308. give a random number between 4 and 1 of diamond to the player
  309.  
  310. #Emerald
  311. on mine of stone:
  312. if player has permission "ujezyka.drop.x2":
  313. give 2 xp to the player
  314. if player's gamemode is survival:
  315. if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  316. chance of {@vszmaragd}%:
  317. if player's y-coordinate is smaller than {@wemerald}:
  318. give 1 emerald to the player
  319. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  320. chance of {@vszmaragd}%:
  321. if player's y-coordinate is smaller than {@wemerald}:
  322. give random number between 2 and 1 of emerald to the player
  323. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  324. chance of {@vszmaragd}%:
  325. if player's y-coordinate is smaller than {@wemerald}:
  326. give random number between 3 and 1 of emerald to the player
  327. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  328. chance of {@vszmaragd}%:
  329. if player's y-coordinate is smaller than {@wemerald}:
  330. give random number between 4 and 1 of emerald to the player
  331.  
  332. #Gold
  333. on mine of stone:
  334. if player has permission "ujezyka.drop.x2":
  335. give 2 xp to the player
  336. if player's gamemode is survival:
  337. if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  338. chance of {@vzloto}%:
  339. if player's y-coordinate is smaller than {@wgold}:
  340. give 1 gold ingot to the player
  341. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  342. chance of {@vzloto}%:
  343. if player's y-coordinate is smaller than {@wgold}:
  344. give random number between 2 and 1 of gold ingot to the player
  345. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  346. chance of {@vzloto}%:
  347. if player's y-coordinate is smaller than {@wgold}:
  348. give random number between 3 and 1 of gold ingot to the player
  349. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  350. chance of {@vzloto}%:
  351. if player's y-coordinate is smaller than {@wgold}:
  352. give random number between 4 and 1 of gold ingot to the player
  353.  
  354. #Iron
  355. on mine of stone:
  356. if player has permission "ujezyka.drop.x2":
  357. give 2 xp to the player
  358. if player's gamemode is survival:
  359. if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  360. chance of {@vzelazo}%:
  361. if player's y-coordinate is smaller than {@wiron}:
  362. give 1 iron ingot to the player
  363. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  364. chance of {@vzelazo}%:
  365. if player's y-coordinate is smaller than {@wiron}:
  366. give random number between 2 and 1 of iron ingot to the player
  367. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  368. chance of {@vzelazo}%:
  369. if player's y-coordinate is smaller than {@wiron}:
  370. give random number between 3 and 1 of iron ingot to the player
  371. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  372. chance of {@vzelazo}%:
  373. if player's y-coordinate is smaller than {@wiron}:
  374. give random number between 4 and 1 of iron ingot to the player
  375.  
  376. #Pearl
  377. on mine of stone:
  378. if player has permission "ujezyka.drop.x2":
  379. give 2 xp to the player
  380. if player's gamemode is survival:
  381. if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  382. chance of {@vperla}%:
  383. if player's y-coordinate is smaller than {@wpearl}:
  384. give 1 ender pearl to the player
  385. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  386. chance of {@vperla}%:
  387. if player's y-coordinate is smaller than {@wpearl}:
  388. give 1 ender pearl to the player
  389. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  390. chance of {@vperla}%:
  391. if player's y-coordinate is smaller than {@wpearl}:
  392. give 1 ender pearl to the player
  393. else if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  394. chance of {@vperla}%:
  395. if player's y-coordinate is smaller than {@wpearl}:
  396. give random number between 2 and 1 of ender pearl to the player
  397.  
  398. #Book
  399. on mine of stone:
  400. if player has permission "ujezyka.drop.x2":
  401. give 2 xp to the player
  402. if player's gamemode is survival:
  403. if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  404. chance of {@vksiazka}%:
  405. if player's y-coordinate is smaller than {@wbook}:
  406. give 1 book to the player
  407. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  408. chance of {@vksiazka}%:
  409. if player's y-coordinate is smaller than {@wbook}:
  410. give random number between 2 and 1 of book to the player
  411. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  412. chance of {@vksiazka}%:
  413. if player's y-coordinate is smaller than {@wbook}:
  414. give random number between 3 and 1 of book to the player
  415. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  416. chance of {@vksiazka}%:
  417. if player's y-coordinate is smaller than {@wbook}:
  418. give random number between 4 and 1 of book to the player
  419.  
  420. #Coal
  421. on mine of stone:
  422. if player has permission "ujezyka.drop.x2":
  423. give 2 xp to the player
  424. if player's gamemode is survival:
  425. if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  426. chance of {@vwegiel}%:
  427. if player's y-coordinate is smaller than {@wcoal}:
  428. give 1 coal to the player
  429. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  430. chance of {@vwegiel}%:
  431. if player's y-coordinate is smaller than {@wcoal}:
  432. give random number between 2 and 1 of coal to the player
  433. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  434. chance of {@vwegiel}%:
  435. if player's y-coordinate is smaller than {@wcoal}:
  436. give random number between 3 and 1 of coal to the player
  437. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  438. chance of {@vwegiel}%:
  439. if player's y-coordinate is smaller than {@wcoal}:
  440. give random number between 4 and 1 of coal to the player
  441.  
  442. #Gun
  443. on mine of stone:
  444. if player has permission "ujezyka.drop.x2":
  445. give 2 xp to the player
  446. if player's gamemode is survival:
  447. if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  448. chance of {@vproch}%:
  449. if player's y-coordinate is smaller than {@wgun}:
  450. give 1 gunpowder to the player
  451. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  452. chance of {@vproch}%:
  453. if player's y-coordinate is smaller than {@wgun}:
  454. give random number between 2 and 1 of gunpowder to the player
  455. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  456. chance of {@vproch}%:
  457. if player's y-coordinate is smaller than {@wgun}:
  458. give random number between 3 and 1 of gunpowder to the player
  459. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  460. chance of {@vproch}%:
  461. if player's y-coordinate is smaller than {@wgun}:
  462. give random number between 4 and 1 of gunpowder to the player
  463.  
  464. #RedStone
  465. on mine of stone:
  466. if player has permission "ujezyka.drop.x2":
  467. give 2 xp to the player
  468. if player's gamemode is survival:
  469. if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 0:
  470. chance of {@vczerwony}%:
  471. if player's y-coordinate is smaller than {@wredstone}:
  472. give random number between 3 and 1 of redstone to the player
  473. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 1:
  474. chance of {@vczerwony}%:
  475. if player's y-coordinate is smaller than {@wredstone}:
  476. give random number between 5 and 1 of redstone to the player
  477. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 2:
  478. chance of {@vczerwony}%:
  479. if player's y-coordinate is smaller than {@wredstone}:
  480. give random number between 7 and 1 of redstone to the player
  481. else if player's tool is stone pickaxe or iron pickaxe or gold pickaxe or diamond pickaxe of fortune 3:
  482. chance of {@vczerwony}%:
  483. if player's y-coordinate is smaller than {@wredstone}:
  484. give random number between 10 and 1 of redstone to the player
  485.  
  486. #=============================================================================================
Advertisement
Add Comment
Please, Sign In to add comment