kryxkan

Magic Water v 0.2.2

Aug 27th, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1. #Magic Water#
  2. #by kryxkan#
  3. #skrypt wymaga dodatku WildSkript#
  4. #posiadanie tego dodatku wymagaja receptury i event "on any move" :P#
  5. #skrypt udostepniany na licencji freeware#
  6. #zmienne#
  7. variables:
  8. {water.%player%} = false
  9. #crafting#
  10. on load:
  11. new Recipe "zaklecia";
  12. "zaklecia".setIngredient{2, emerald};
  13. "zaklecia".setIngredient{5, paper}; "zaklecia".setIngredient{8, enchantment table};
  14. "zaklecia".setResult{1 paper named "<red>Zaklecia Wody"};
  15. "zaklecia".register{};
  16. new recipe "butywody";
  17. "butywody".setIngredient{2, emerald};
  18. "butywody".setIngredient{5, diamond boots}; "butywody".setIngredient{8, enchantment table};
  19. "butywody".setResult{1 diamond boots with sharpness 1 named "<blue>Buty Wody"
  20. "butywody".register{};
  21. new recipe "catemerald";
  22. "catemerald".setIngredient{2, ghast tear named "<blue>koci pazur"};
  23. "catemerald".setIngredient{5, emerald};
  24. "catemerald".setResult{emerald with infinity 1 named "<blue>Koci szmaragd"};
  25. "catemerald".register{};
  26. new recipe "koci sztylet";
  27. "kocisztylet".setIngredient{2, emerald named "<blue>Koci szmaragd"}
  28. "kocisztylet".setIngredient{4, iron sword};
  29. "kocisztylet".setResult{iron sword named "<blue>Koci sztylet"}
  30. "kocisztylet".register{};
  31. new recipe "minikusza";
  32. "minikusza".setIngredient{5, bow};
  33. "minikusza".setIngredient{8, stick}
  34. "minikusza".setResult{stick named "<red>Mini-kusza"};
  35. "minikusza".register{};
  36. #tworzenie#
  37. on place sign:
  38. line 1 is "aquaheal":
  39. block above event-block is water:
  40. block 2 meters above event-block is emerald block:
  41. player has 1 paper named "<red>Zaklecia Wody":
  42. set line 2 of event-block to "<blue>regen"
  43. send "&kutworzyles zrodlo regeneracji." to player
  44. block 2 meters above event block is redstone block:
  45. set line 2 of event-block to "<light green>fastheal"
  46. send "&kutworzyles zrodlo leczenia." to player
  47. on any move:
  48. block at location of player is water:
  49. block above player is emerald block:
  50. line 1 of block below location of player is "aquaheal":
  51. line 2 of block above location of player is "<blue>regen":
  52. player boots is diamond boots with sharpness 1 named "<blue>Buty wody":
  53. {water.%player%} is false:
  54. apply regeneration 1 for 15 seconds to player
  55. set {water.%player%} to true
  56. wait 2.5 minutes:
  57. set {water.%player%} to false
  58. else:
  59. apply poison 1 for 15 second to player
  60. else:
  61. apply poison 1 for 15 seconds to player
  62. block above player is redstone block:
  63. line 1 of block below location of player is "aquaheal":
  64. line 2 of block below location of player is "<green>fastheal":
  65. player boots is diamond boots is diamond boots with sharpness 1 named "<blue>Buty wody":
  66. {water.%player%} is false:
  67. heal player by 2.5 hearts
  68. set {water.%player%} to true
  69. wait 2.5 minutes:
  70. set {water.%player%} to false
  71. else:
  72. damage player by 0.5 heart
  73. else:
  74. damage player by 0.5 heart
  75. on death of ocelot:
  76. attacker is player:
  77. chance of 25%:
  78. drop 1 ghast tear named "<blue>koci pazur"
  79. on damage:
  80. attacker tool is iron sword named "<blue>Koci sztylet":
  81. apply speed 2 for 10 seconds to player
  82. #jezeli sa bledy#
  83. on parse error:
  84. send "w skrypcie Magic water sa bledy. wyslij ich log do mnie na PW na forum: skript.pl bede wdzieczny!" to console
  85. command /magicwater autor:
  86. trigger:
  87. send "<blue>Magicwater to skrypt utworzony przez kryxkana. kontakt: [email protected]" to player
  88. send "<blue>Temat skryptu: http://skript.pl/index.php/topic/2683-magicwater/" to player
  89. on join:
  90. send "<light green>Magicwater! /magicwater autor" to player
Advertisement
Add Comment
Please, Sign In to add comment