Guest User

DJDrop Update 1.0!!

a guest
Nov 10th, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.09 KB | None | 0 0
  1. #======================================#
  2. #Autor: DJNileox #
  3. #Wersja: 1.0v #
  4. #Co Dodano: #
  5. #Fortuna i zmiana wiadomosci dozwolona!#
  6. #======================================#
  7.  
  8.  
  9. #=-=-=-=-=-=-=-=-=-=-=-=#
  10. # OPCJE #
  11. #=-=-=-=-=-=-=-=-=-=-=-=#
  12.  
  13. options:
  14. tag: &b[&6&lDJ&7Drop&b]
  15.  
  16. #Drop Bez Fortuny
  17.  
  18. zelazo: 4.5%
  19. zloto: 3.5%
  20. diament: 2.0%
  21. szmaragd: 1.0%
  22. wegiel: 4.0%
  23. redstone: 2.5%
  24. lapis: 2.5%
  25.  
  26. #Fortuna 1
  27.  
  28. zelazo1: 5.0%
  29. zloto1: 4.0%
  30. diament1: 2.5%
  31. szmaragd1: 1.5%
  32. wegiel1: 4.5%
  33. redstone1: 3.0%
  34. lapis1: 3.0%
  35.  
  36. #Fortuna 2
  37.  
  38. zelazo2: 5.5%
  39. zloto2: 4.5%
  40. diament2: 3.0%
  41. szmaragd2: 2.0%
  42. wegiel2: 5.0%
  43. redstone2: 3.5%
  44. lapis2: 3.5%
  45.  
  46. #Fortuna 3
  47.  
  48. zelazo3: 6.0%
  49. zloto3: 5.0%
  50. diament3: 3.5%
  51. szmaragd3: 2.5%
  52. wegiel3: 5.5%
  53. redstone3: 4.0%
  54. lapis3: 4.0%
  55.  
  56.  
  57. #=-=-=-=-=-=-=-=-=-=-=-=#
  58. # KOD SKRYPTU #
  59. #=-=-=-=-=-=-=-=-=-=-=-=#
  60. on mine of any ore:
  61. cancel event
  62. delete block
  63. send "{@tag}&7 Drop Jest Z Stone :) /stone (drop, f1, f2, f3)"
  64. on mine of stone:
  65. if player's tool is pickaxe of fortune 0:
  66. chance of {@zelazo}:
  67. give a random number between 3 and 1 of iron ingot to the player
  68. send "{@tag}&7 Znalazles zelazo!"
  69. stop
  70. else:
  71. if player's tool is pickaxe of fortune 1:
  72. chance of {@zelazo1}:
  73. give a random number between 4 and 2 of iron ingot to the player
  74. send "{@tag}&7 Znalazles zelazo!"
  75. stop
  76. else:
  77. if player's tool is pickaxe of fortune 2:
  78. chance of {@zelazo2}:
  79. give a random number between 5 and 3 of iron ingot to the player
  80. send "{@tag}&7 Znalazles zelazo!"
  81. stop
  82. else:
  83. if player's tool is pickaxe of fortune 3:
  84. chance of {@zelazo3}:
  85. give a random number between 6 and 4 of iron ingot to the player
  86. send "{@tag}&7 Znalazles zelazo!"
  87. stop
  88. if player's tool is pickaxe of fortune 0:
  89. chance of {@zloto}:
  90. give a random number between 3 and 1 of gold ingot to the player
  91. send "{@tag}&7 Znalazles zloto!"
  92. stop
  93. else:
  94. if player's tool is pickaxe of fortune 1:
  95. chance of {@zloto1}:
  96. give a random number between 4 and 2 of gold ingot to the player
  97. send "{@tag}&7 Znalazles zloto!"
  98. stop
  99. else:
  100. if player's tool is pickaxe of fortune 2:
  101. chance of {@zloto2}:
  102. give a random number between 5 and 3 of gold ingot to the player
  103. send "{@tag}&7 Znalazles zloto!"
  104. stop
  105. else:
  106. if player's tool is pickaxe of fortune 3:
  107. chance of {@zloto3}:
  108. give a random number between 6 and 4 of gold ingot to the player
  109. send "{@tag}&7 Znalazles zloto!"
  110. stop
  111. if player's tool is pickaxe of fortune 0:
  112. chance of {@diament}:
  113. give a random number between 2 and 1 of diamond to the player
  114. send "{@tag}&7 Znalazles diament!"
  115. stop
  116. else:
  117. if player's tool is pickaxe of fortune 1:
  118. chance of {@diament1}:
  119. give a random number between 3 and 1 of diamond to the player
  120. send "{@tag}&7 Znalazles diament!"
  121. stop
  122. else:
  123. if player's tool is pickaxe of fortune 2:
  124. chance of {@diament2}:
  125. give a random number between 3 and 2 of diamond to the player
  126. send "{@tag}&7 Znalazles diament!"
  127. stop
  128. else:
  129. if player's tool is pickaxe of fortune 3:
  130. chance of {@diament3}:
  131. give a random number between 4 and 2 of diamond to the player
  132. send "{@tag}&7 Znalazles diament!"
  133. stop
  134. if player's tool is pickaxe of fortune 0:
  135. chance of {@szmaragd}:
  136. give 1 emerald to the player
  137. send "{@tag}&7 Znalazles szmaragd!"
  138. stop
  139. else:
  140. if player's tool is pickaxe of fortune 1:
  141. chance of {@szmaragd1}:
  142. give a random number between 2 and 1 of emerald to the player
  143. send "{@tag}&7 Znalazles szmaragd!"
  144. stop
  145. else:
  146. if player's tool is pickaxe of fortune 2:
  147. chance of {@szmaragd2}:
  148. give a random number between 3 and 1 of emerald to the player
  149. send "{@tag}&7 Znalazles szmaragd!"
  150. stop
  151. else:
  152. if player's tool is pickaxe of fortune 3:
  153. chance of {@szmaragd2}:
  154. give a random number between 3 and 2 of emerald to the player
  155. send "{@tag}&7 Znalazles szmaragd!"
  156. stop
  157. if player's tool is pickaxe of fortune 0:
  158. chance of {@wegiel}:
  159. give a random number between 4 and 1 of coal to the player
  160. send "{@tag}&7 Znalazles wegiel!"
  161. stop
  162. else:
  163. if player's tool is pickaxe of fortune 1:
  164. chance of {@wegiel1}:
  165. give a random number between 4 and 2 of coal to the player
  166. send "{@tag}&7 Znalazles wegiel!"
  167. stop
  168. else:
  169. if player's tool is pickaxe of fortune 2:
  170. chance of {@wegiel2}:
  171. give a random number between 5 and 2 of coal to the player
  172. send "{@tag}&7 Znalazles wegiel!"
  173. stop
  174. else:
  175. if player's tool is pickaxe of fortune 3:
  176. chance of {@wegiel3}:
  177. give a random number between 6 and 3 of coal to the player
  178. send "{@tag}&7 Znalazles wegiel!"
  179. stop
  180. if player's tool is pickaxe of fortune 0:
  181. chance of {@redstone}:
  182. give a random number between 4 and 1 of redstone to the player
  183. send "{@tag}&7 Znalazles redstone!"
  184. stop
  185. else:
  186. if player's tool is pickaxe of fortune 1:
  187. chance of {@redstone1}:
  188. give a random number between 4 and 2 of redstone to the player
  189. send "{@tag}&7 Znalazles redstone!"
  190. stop
  191. else:
  192. if player's tool is pickaxe of fortune 2:
  193. chance of {@redstone2}:
  194. give a random number between 5 and 2 of redstone to the player
  195. send "{@tag}&7 Znalazles redstone!"
  196. stop
  197. else:
  198. if player's tool is pickaxe of fortune 3:
  199. chance of {@redstone3}:
  200. give a random number between 6 and 3 of redstone to the player
  201. send "{@tag}&7 Znalazles redstone!"
  202. stop
  203. if player's tool is pickaxe of fortune 0:
  204. chance of {@lapis}:
  205. give a random number between 4 and 1 of lapis lazuli to the player
  206. send "{@tag}&7 Znalazles lapis!"
  207. stop
  208. else:
  209. if player's tool is pickaxe of fortune 1:
  210. chance of {@lapis1}:
  211. give a random number between 4 and 2 of lapis lazuli to the player
  212. send "{@tag}&7 Znalazles lapis!"
  213. stop
  214. else:
  215. if player's tool is pickaxe of fortune 2:
  216. chance of {@lapis2}:
  217. give a random number between 5 and 2 of lapis lazuli to the player
  218. send "{@tag}&7 Znalazles lapis!"
  219. stop
  220. else:
  221. if player's tool is pickaxe of fortune 3:
  222. chance of {@lapis3}:
  223. give a random number between 6 and 3 of lapis lazuli to the player
  224. send "{@tag}&7 Znalazles lapis!"
  225. stop
  226.  
  227. command /stone <text>:
  228. trigger:
  229. if arg 1 is "drop":
  230. send " "
  231. send "Drop"
  232. send "{@tag}&8 Zelazo:&7 4.5"
  233. send "{@tag}&6 Zloto:&7 3.5"
  234. send "{@tag}&b Diament:&7 2.0"
  235. send "{@tag}&2 Szmaragd:&7 1.0"
  236. send "{@tag}&0 Wegiel:&7 4.0"
  237. send "{@tag}&4 Redstone:&7 2.5"
  238. send "{@tag}&1 Lapis lazuli:&7 2.5"
  239. send " "
  240. if arg 1 is "f1":
  241. send " "
  242. send "Drop z fortune 1"
  243. send "{@tag}&8 Zelazo:&7 5.0"
  244. send "{@tag}&6 Zloto:&7 4.0"
  245. send "{@tag}&b Diament:&7 2.5"
  246. send "{@tag}&2 Szmaragd:&7 1.5"
  247. send "{@tag}&0 Wegiel:&7 4.5"
  248. send "{@tag}&4 Redstone:&7 3.0"
  249. send "{@tag}&1 Lapis lazuli:&7 3.0"
  250. send " "
  251. if arg 1 is "f2":
  252. send " "
  253. send "Drop z fortune 2"
  254. send "{@tag}&8 Zelazo:&7 5.5"
  255. send "{@tag}&6 Zloto:&7 4.5"
  256. send "{@tag}&b Diament:&7 3.0"
  257. send "{@tag}&2 Szmaragd:&7 2.0"
  258. send "{@tag}&0 Wegiel:&7 5.0"
  259. send "{@tag}&4 Redstone:&7 3.5"
  260. send "{@tag}&1 Lapis lazuli:&7 3.5"
  261. send " "
  262. if arg 1 is "f3":
  263. send " "
  264. send "Drop z fortune 3"
  265. send "{@tag}&8 Zelazo:&7 6.0"
  266. send "{@tag}&6 Zloto:&7 5.0"
  267. send "{@tag}&b Diament:&7 3.5"
  268. send "{@tag}&2 Szmaragd:&7 2.5"
  269. send "{@tag}&0 Wegiel:&7 5.5"
  270. send "{@tag}&4 Redstone:&7 4.0"
  271. send "{@tag}&1 Lapis lazuli:&7 4.0"
  272. send " "
Advertisement
Add Comment
Please, Sign In to add comment