Guest User

Untitled

a guest
May 10th, 2014
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.99 KB | None | 0 0
  1. options:
  2. #Tag skryptu
  3. tag:
  4.  
  5. #Ustawiasz na co ma się zmienić ruda po wykopaniu stone/air, air czyli ma zniknąć
  6. ustaw: stone
  7.  
  8. #Ustawienie Procentkow (Nie Edytuj -Dix)
  9. redstone: 3
  10. diamond: 1.5
  11. iron: 4
  12. gold: 3
  13. coal: 4
  14. lapis: 1.4
  15. kwarc: 2
  16.  
  17. #Wysokosc wydobycia (Nie Edytuj -Dix)
  18. ydiamond: 25
  19. yiron: 100
  20. ygold: 40
  21. ycoal: 150
  22. yredstone: 20
  23. ylapis: 40
  24. ykwarc: 255
  25.  
  26.  
  27.  
  28. errord: &b&lDiament &7wypada tylko ze stone, wiecej informacji &8&o/stone! #diamond
  29. errori: &8&lZelazo &7wypada tylko ze stone, wiecej informacji &8&o/stone! #iron
  30. errorg: &6&lZloto &7wypada tylko ze stone, wiecej informacji &8&o/stone! #gold
  31. errorc: &8&lWegiel &7wypada tylko ze stone, wiecej informacji &8&o/stone! #wegiel
  32. errorr: &4&lRedstone &7wypada tylko ze stone, wiecej informacji &8&o/stone! #wegiel
  33. errorl: &3&lLapis Lazuli &7wypada tylko ze stone, wiecej informacji &8&o/stone! #lapis
  34. errork: &f&lKwarc &7wypada tylko ze netherracka, wiecej informacji &8&o/stone! #kwarc
  35.  
  36. #Wiadomosci przy wl/wyl (Nie Edytuj -Dix)
  37. offd: &bWylaczono wypadanie diamentu #diamond
  38. ond: &bWlaczono wypadanie diamentu #diamond
  39. offi: &fWylaczono wypadanie zelaza #iron
  40. oni: &fWlaczono wypadanie zelaza #iron
  41. offg: &eWylaczono wypadanie zlota #gold
  42. ong: &eWlaczono wypadanie zlota #gold
  43. offe: &2Wylaczono wypadanie szmaragdu #emerald
  44. one: &2Wlaczono wypadanie szmaragdu #emerald
  45.  
  46. #NIE RUSZAJ TEGO (Nie Edytuj -Dix)
  47. variables:
  48. {vdiamond} = true #diamond
  49. {viron} = true #iron
  50. {vgold} = true #gold
  51. {vcoal} = true #coal
  52. {vredstone} = true #redstone
  53. {vlapis} = true #lapis
  54. {vkwarc} = true #lkwarc
  55. #Anty Bug TNT (Nie Edytuj -Dix)
  56. on explode:
  57. if entity is TNT:
  58. loop blocks in radius 10:
  59. if loop-block is diamond ore:
  60. set loop-block to {@ustaw}
  61. if loop-block is gold ore:
  62. set loop-block to {@ustaw}
  63. if loop-block is iron ore:
  64. set loop-block to {@ustaw}
  65. if loop-block is emerald ore:
  66. set loop-block to {@ustaw}
  67. if loop-block is lapis lazuli ore:
  68. set loop-block to {@ustaw}
  69. if loop-block is coal ore:
  70. set loop-block to {@ustaw}
  71. if loop-block is redstone ore:
  72. set loop-block to {@ustaw}
  73.  
  74. #Ogolny Drop na zelazku (Nie Edytuj -Dix)
  75. On Mine Of Stone:
  76. if {vdiamond} is true:
  77. if player's y-coordinate is smaller than {@ydiamond}:
  78. if player is holding diamond pickaxe or iron pickaxe:
  79. chance of {@diamond}%:
  80. player's gamemode is survival
  81. give diamond to the player
  82. stop
  83. if {viron} is true:
  84. if player's y-coordinate is smaller than {@yiron}:
  85. if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
  86. chance of {@iron}%:
  87. player's gamemode is survival
  88. give iron ore to the player
  89. stop
  90. if {vgold} is true:
  91. if player's y-coordinate is smaller than {@ygold}:
  92. if player is holding diamond pickaxe or iron pickaxe:
  93. chance of {@gold}%:
  94. player's gamemode is survival
  95. give gold ore to the player
  96. stop
  97. if {vcoal} is true:
  98. if player's y-coordinate is smaller than {@ycoal}:
  99. chance of {@coal}%:
  100. player's gamemode is survival
  101. give coal to the player
  102. stop
  103. if {vredstone} is true:
  104. if player's y-coordinate is smaller than {@yredstone}:
  105. if player is holding diamond pickaxe or iron pickaxe:
  106. chance of {@redstone}%:
  107. player's gamemode is survival
  108. drop a random number between 1 and 6 of redstone
  109. stop
  110. if {vlapis} is true:
  111. if player's y-coordinate is smaller than {@ylapis}:
  112. chance of {@lapis}%:
  113. player's gamemode is survival
  114. drop a random number between 1 and 6 of lapis
  115. stop
  116.  
  117. #Nie edytuj (Nie Edytuj -Dix)
  118. On Mine Of Diamond Ore:
  119. if {vdiamond} is true:
  120. cancel event
  121. set block to air
  122. message "{@errord}"
  123. stop
  124.  
  125. On Mine Of Iron Ore:
  126. if {viron} is true:
  127. cancel event
  128. set block to air
  129. message "{@errori}"
  130. stop
  131.  
  132. On Mine Of Gold Ore:
  133. if {vgold} is true:
  134. cancel event
  135. set block to air
  136. message "{@errorg}"
  137. stop
  138.  
  139. On Mine Of Coal Ore:
  140. if {vcoal} is true:
  141. cancel event
  142. set block to air
  143. message "{@errorc}"
  144. stop
  145.  
  146. On Mine Of Redstone Ore:
  147. if {vredstone} is true:
  148. cancel event
  149. set block to air
  150. message "{@errorr}"
  151. stop
  152. On Mine Of Lapis Lazuli Ore:
  153. if {vlapis} is true:
  154. cancel event
  155. set block to air
  156. message "{@errorl}"
  157. stop
  158.  
  159. on mine of stone:
  160. chance of 90%:
  161. add 1 exp to player
  162. chance of 10%:
  163. add 2 exp to player
  164. On Mine Of Netherrack:
  165. if {vkwarc} is true:
  166. if player's y-coordinate is smaller than {@ykwarc}:
  167. chance of {@kwarc}%:
  168. player's gamemode is survival
  169. drop a random number between 1 and 3 of nether quartz
  170. stop
  171. On Mine Of Nether Quartz Ore:
  172. if {vkwarc} is true:
  173. cancel event
  174. set block to netherrack
  175. message "{@errork}"
  176. stop
  177.  
  178. On Mine Of Netherrack:
  179. chance of 25%:
  180. add 2 exp to player
Advertisement
Add Comment
Please, Sign In to add comment