Guest User

Untitled

a guest
Jun 27th, 2018
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. ##############################
  2. # Twórca: IkarusPvP_ #
  3. # Nazwa skryptu: IStoniarka #
  4. ##############################
  5.  
  6.  
  7. # Crafting stoniarki
  8.  
  9. options:
  10. 1: redstone # Jak wygląda crafting
  11. 2: diamond
  12. 3: redstone
  13. 4: diamond # # # # # # # # # # # # # #
  14. 5: stone # | | #
  15. 6: diamond # 1 | 2 | 3 #
  16. 7: redstone #________|________|________#
  17. 8: piston # | | #
  18. 9: redstone # 4 | 5 | 6 #
  19. #________|________|________#
  20. # | | #
  21. # 7 | 8 | 9 #
  22. # | | #
  23. # # # # # # # # # # # # # #
  24.  
  25.  
  26. # Jak działa stoniarka
  27.  
  28. on break of stone:
  29. {IStoniarka.%event-block%} is true:
  30. player is holding gold pickaxe:
  31. set {IStoniarka.%event-block%} to false
  32. send "&8» &cUsunales stoniarke!"
  33. player can hold 1 end stone:
  34. give 1 end stone named "&f&lI&3&lStoniarka" to the player
  35. player doesn't have enough space for 1 end stone named "&f&lI&3&lStoniarka":
  36. drop 1 end stone named "&f&lI&3&lStoniarka"
  37. else:
  38. wait 1.5 second
  39. set the event-block to stone
  40. stop
  41. on place of end stone:
  42. if tool is end stone named "&f&lI&3&lStoniarka":
  43. send "&8» &aPostawiles stoniarke!"
  44. set {IStoniarka.%event-block%} to true
  45. wait 1 tick
  46. set event-block to stone
  47. stop
  48. on script load:
  49. register new shaped recipe for 1 end stone named "&f&lI&3&lStoniarka" using {@1}, {@2}, {@3}, {@4}, {@5}, {@6}, {@7}, {@8}, {@9}
Advertisement
Add Comment
Please, Sign In to add comment