dem232

Skript Drop v0.2b

Jun 28th, 2013
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. #Skript Drop
  2. #Wersja 0.2b
  3. options:
  4. diament: 0.6%
  5. zelazo: 0.7%
  6. zloto: 0.8%
  7. exp: 1
  8.  
  9.  
  10. variables:
  11. {diament2} = true
  12. {zelazo2} = true
  13. {zloto2} = true
  14.  
  15.  
  16. On Break Of Stone:
  17. execute console command "/xp {@exp} %name of player%"
  18. stop
  19.  
  20. On Mine Of Stone:
  21. if {diament2} is true:
  22. chance of {@diament}:
  23. message "&bWykopales diament"
  24. drop a diamond
  25. stop
  26. if {zelazo2} is true:
  27. chance of {@zelazo}:
  28. message "&fWykopales zelazo"
  29. drop a iron ore
  30. stop
  31. if {zloto2} is true:
  32. chance of {@zloto}:
  33. message "&eWykopales zloto"
  34. drop a gold ore
  35. stop
  36.  
  37.  
  38. On Mine Of Diamond Ore:
  39. if {diament2} is true:
  40. cancel event
  41. set block to stone
  42. message "&4Diament wypada tylko ze stone wiecej info /drop!"
  43. stop
  44.  
  45.  
  46. On Mine Of Iron Ore:
  47. if {zelazo2} is true:
  48. cancel event
  49. set block to stone
  50. message "&4Zelazo wypada tylko ze stone wiecej info /drop!"
  51. stop
  52.  
  53.  
  54. On Mine Of Gold Ore:
  55. if {zloto2} is true:
  56. cancel event
  57. set block to stone
  58. message "&4Zloto wypada tylko ze stone wiecej info /drop!"
  59. stop
  60.  
  61.  
  62. command /drop:
  63. description: Pokazuje drop ze stone
  64. trigger:
  65. message "&2=====Drop====="
  66. message "&bDiament: 0.6 procent"
  67. message "&fZelazo: 0.7 procent"
  68. message "&eZloto: 0.8 procent"
  69. message "&2=====Drop====="
  70. stop
  71.  
  72. command /drops [<text>]:
  73. description: Wlaczanie i wylaczanie rud
  74. permission: drop.wliwyl
  75. trigger:
  76. if argument 1 is "diament":
  77. if {diament2} is true:
  78. set {diament2} to false
  79. message "&bWylaczono wypadanie diamentu"
  80. stop
  81. if {diament2} is false:
  82. set {diament2} to true
  83. message "&bWlaczono wypadanie diamentu"
  84. stop
  85. if argument 1 is "zelazo":
  86. if {zelazo2} is true:
  87. set {zelazo2} to false
  88. message "&fWylaczono wypadanie zelaza"
  89. stop
  90. if {zelazo2} is false:
  91. set {zelazo2} to true
  92. message "&fWlaczono wypadanie zelaza"
  93. stop
  94. if argument 1 is "zloto":
  95. if {zloto2} is true:
  96. set {zloto2} to false
  97. message "&eWylaczono wypadanie zlota"
  98. stop
  99. if {zloto2} is false:
  100. set {zloto2} to true
  101. message "&eWlaczono wypadanie zlota"
  102. stop
  103. if argument 1 is "list":
  104. message "&bdiament"
  105. message "&fzelazo"
  106. message "&ezloto"
  107. stop
Advertisement
Add Comment
Please, Sign In to add comment