Guest User

Untitled

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