dem232

Skript Drop v0.2

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