Guest User

Untitled

a guest
Dec 22nd, 2014
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. #- - - - - - - - - - - - - - - - - - - - - - -#
  2. #-Autor skryptu: TrudnyPL #
  3. #-Komendy: #
  4. #-/obs - Daje Obsydianarke!. #
  5. #-/obsydian - Informacje o Obsydianarce #
  6. #- - - - - -Licencja skryptu- - - - - - - - - #
  7. #-Zakaz podszywania sie pod autora. #
  8. #-Zakaz usuwania autora oraz licencji. #
  9. #-Zabraniam sprzedazy skryptu. #
  10. #- - - - - - - - - - - - - - - - - - - - - - -#
  11. options:
  12.  
  13. obsydian: 100.0%
  14. on mine of bricks:
  15. if player's tool is pickaxe of fortune 0:
  16. chance of {@obsydian}:
  17. give a random number between 30 of obsidian to the player
  18. stop
  19. command /obs:
  20. trigger:
  21. send "&6Niemasz 64 Obsydianu w Ekwipunku!"
  22. player have 64 obsidian
  23. add sponge named "&3&lGenerator Obsa" to the player's inventory
  24. remove 64 obsidian from the player's inventory
  25. on place of sponge:
  26. if name of the player's tool is "&3&lGenerator Obsa":
  27. send "&3&lPostawiles Generator Obsa"
  28. set {s.%event-block%} to true
  29. wait 1 second
  30. set event-block to bricks
  31. stop
  32. on break of bricks:
  33. if {s.%event-block%} is true:
  34. if player is holding gold pickaxe:
  35. cancel event
  36. send "&3&lZniszczyles Generator Obsa"
  37. set block to air
  38. if player can hold 1 sponge named "&3&lGenerator Obsa":
  39. give 1 sponge named "&3&lGenerator Obsa" to the player
  40. stop
  41. else:
  42. drop 1 sponge named "&3&lGenerator Obsa"
  43. stop
  44. else:
  45. wait 30 second
  46. set event-block to bricks
  47. remove 1 and 64 bricks from the player's inventory
  48. stop
  49. command /obsydian:
  50. trigger:
  51. send " &4Obsydianarka"
  52. send "&3&lAby Otrzymac Obsydianarke Musisz Miec 64 Obsa w EQ i wpisac ./obs!"
  53. send "&aObsydianarka Regeneruje Sie co 30 sek!"
Advertisement
Add Comment
Please, Sign In to add comment