Kondi60PL

KondiDrop

Oct 16th, 2014
519
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.13 KB | None | 0 0
  1.  
  2. options:
  3. ydiax: 20
  4. procentdiax: 6.0
  5. yemerald: 20
  6. procentemerald: 4.0
  7. yzloto: 30
  8. procentzloto: 8.0
  9. yzelazo: 40
  10. procentzelazo: 9.0
  11. ywegiel: 50
  12. procentwegiel: 5.4
  13. ystring: 20
  14. procentstring: 0.5
  15. yredstone: 20
  16. procentredstone: 7.0
  17. yapple: 20
  18. procentapple: 0.3
  19. yenderpearl: 10
  20. procentenderpearl: 0.1
  21. ytnt: 20
  22. procenttnt: 1.0
  23. yobsydian: 30
  24. procentobsydian: 4.0
  25.  
  26. tag: &a[Skript]&6
  27. #<--> Drop Gracza<-->#
  28. on break of stone:
  29. if player has permission "kondidrop.gracz":
  30. chance of {@procentdiax}:
  31. if block's y-coordinate is smaller than {@ydiax}:
  32. add 1 diamond to the player
  33. message "&6Trafiles na: &bDiament&6!"
  34.  
  35. chance of {@procentzloto}:
  36. if block's y-coordinate is smaller than {@yzloto}:
  37. add 1 gold ore to the player
  38. message "&6Trafiles na: &eZloto&6!"
  39.  
  40. chance of {@procentemerald}:
  41. if block's y-coordinate is smaller than {@yemerald}:
  42. add 1 emerald to the player
  43. message "&6Trafiles na: &2Emerald&6!"
  44.  
  45. chance of {@procentzelazo}:
  46. if block's y-coordinate is smaller than {@yzelazo}:
  47. add 1 iron ore to the player
  48. message "&6Trafiles na: &fZelazo&6!"
  49.  
  50. chance of {@procentwegiel}:
  51. if block's y-coordinate is smaller than {@ywegiel}:
  52. drop coal
  53. add 1 to {wegiel.%player%}
  54. message "&6Trafiles na: &0Wegiel&6!"
  55.  
  56. chance of {@procentstring}:
  57. if block's y-coordinate is smaller than {@ystring}:
  58. add 1 string to the player
  59. message "&6Trafiles na: &fString&6!"
  60.  
  61. chance of {@procentredstone}:
  62. if block's y-coordinate is smaller than {@yredstone}:
  63. add 1 or 2 or 3 or 4 to the player
  64. message "&6Trafiles na: &4Redstone&6!"
  65.  
  66. chance of {@procentapple}:
  67. if block's y-coordinate is smaller than {@yapple}:
  68. add 1 or 2 apple to the player
  69. message "&6Trafiles na: &cJablko&6!"
  70.  
  71. chance of {@procentobsydian}:
  72. if block's y-coordinate is smaller than {@yobsydian}:
  73. add 1 obsidian to the player
  74. message "&6Trafiles na: &aObsydian&6!"
  75.  
  76. #<--> Blokada Dropu z rud <-->#
  77. on mine of any ore:
  78. cancel event
  79. set block to air
  80. send "{@tag} Ten surowiec jest zablokowany ! Wpisz /stone aby dowiedziec sie wiecej"
  81. #<--> Komendy <-->#
  82. command /stone:
  83. aliases: kamien, drop
  84. trigger:
  85. show "s;1;i;diamont;n;&bDiament;&7Szansa 6.0" with 1 rows named "{@tag}" to player
  86. show "s;2;i;emerald;n;&6Szmaragd;l;&7Szansa 4.0" with 1 rows named "{@tag}" to player
  87. show "s;3;i;gold ingot;n;&6Zloto;l;&7Szansa 8.0" with 1 rows named "{@tag}" to player
  88. show "s;4;i;iron ingot;n;&fZelazo;l;&7Szansa 9.0" with 1 rows named "{@tag}" to player
  89. show "s;5;i;redstone;n;&4Redstone;l;&7Szansa 7.0" with 1 rows named "{@tag}" to player
  90. show "s;6;i;coal;n;&0Wegiel;&7Szansa 5.0" with 1 rows named "{@tag}" to player
  91. show "s;7;i;ender pearl;n;&3Perla Endermana;l;&7Szansa 0.1" with 1 rows named "{@tag}" to player
  92. show "s;8;i;tnt;n;&4T&cN&4T;l;&7Szansa 1.0" with 1 rows named "{@tag}" to player
  93. show "s;1;i;apple;n;&aJablko;l;&7Szansa 0.3" with 2 rows named "{@tag}" to player
  94. show "s;2;i;obsidian;n;&5Obsydian;l;&7Szansa 4.0" with 2 rows named "{@tag}" to player
Advertisement
Add Comment
Please, Sign In to add comment