Advertisement
Guest User

Stoniarka ala SKKF

a guest
Jul 25th, 2014
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.56 KB | None | 0 0
  1. options:
  2. prefix: &a[&bStone&a] &7 #Prefix na wiadomosciach
  3. block: end stone #Block (staly) jaki ma byc uzywany za stoniarke
  4. named: &1Stoniarka #Nazwa bloku stoniarki
  5. chance: 100% #Szansa na wypadniecie stoniarki z zniszczonego bloku
  6.  
  7. #Opcja dodatek jest nie tylko ciekawa jak i zawierajaca bugi w dalszych opcjach
  8. #Poniewaz dodatek WildSkript umozliwia ustawienie ilosci itemu, lecz SK+ nie
  9. #Więc jak macie sk+ i ustawicie ilość itemu to do mnie nie piszcie że nie działa, bo tylko jeden można dać, na crafting
  10. #Sk+ nie posiada ustawienia ilości itemu na crafting !!!
  11. #Przy reloadzie bedziecie mieli bledy gdy macie WS to bedziecie mieli 1 blad "Understand condition" nie wnikajcie w to, lecz skrypt będzie działał poprawnie
  12. #Przy reloadzie, gdy macie SK+ też nie wnikajcie w błędy bo to nie ma zależności przy poprawnym funkcjonowaniu skryptu
  13. #Możecie także wyłączyć tą usługę wpisując w dodatku byle co i wtedy crafting nie będzie uznawany na serwerze
  14.  
  15.  
  16. dodatek: true #true - wildskript / WS false - sk+ / Skript+
  17.  
  18. replace: 3 #Czas po jakim ma się odrodzić stone
  19.  
  20. 1.slot.ilosc: 1 #Ilosc itemu w slocie 1
  21. 1.slot.item: redstone #Item jaki ma byc ustawiony w craftingu w slocie 1
  22.  
  23. 2.slot.ilosc: 1 #Ilosc itemu w slocie 2
  24. 2.slot.item: stone #Item jaki ma byc ustawiony w craftingu w slocie 2
  25.  
  26. 3.slot.ilosc: 1
  27. 3.slot.item: redstone
  28.  
  29. 4.slot.ilosc: 1
  30. 4.slot.item: stone
  31.  
  32. 5.slot.ilosc: 1
  33. 5.slot.item: piston
  34.  
  35. 6.slot.ilosc: 1
  36. 6.slot.item: stone
  37.  
  38. 7.slot.ilosc: 1
  39. 7.slot.item: redstone
  40.  
  41. 8.slot.ilosc: 1
  42. 8.slot.item: stone
  43.  
  44. 9.slot.ilosc: 1
  45. 9.slot.item: redstone
  46.  
  47.  
  48. on place:
  49. player is holding {@block} named "{@named}":
  50. add location of block to {stone::*}
  51. add location of block above block to {ston::*}
  52. set block above block to stone
  53. send "{@prefix}Utworzyles stoniarke"
  54. on break of {@block}:
  55. location of block is {stone::*}:
  56. chance of {@chance}:
  57. cancel event
  58. set block to air
  59. drop {@block} named "{@named}"
  60. send "{@prefix}Usunales stoniarke"
  61. remove location of block from {stone::*}
  62. remove location of block above block from {ston::*}
  63. stop
  64. cancel event
  65. set block to air
  66. send "{@prefix}Usunales stoniarke"
  67. remove location of block from {stone::*}
  68. remove location of block above block from {ston::*}
  69. stop
  70. send "{@prefix}&cBlad."
  71. cancel event
  72. set block to air
  73. drop {@block} named "{@named}"
  74. stop
  75. on break of stone:
  76. location of block is {ston::*}:
  77. loop {@replace} times:
  78. wait 1 second
  79. block below block is not {@block}:
  80. stop
  81. set block to stone
  82. command /stone [<text>]:
  83. aliases: stoniarka
  84. trigger:
  85. arg 1 is not set:
  86. send "{@prefix}Informacje:"
  87. send "&7Jest to skrypt stworzony przez &3knugi&7."
  88. send "&7Dziala na takiej zasadzie ze:"
  89. send "&7Jezeli polozysz blok &a{@block} &7o nazwie &b{@named}"
  90. send "&7To utworzysz stoniarke. Stone bedzie sie pokazywal nad &a{@block}"
  91. stop
  92. arg 1 is set:
  93. player has permission "stone.admin":
  94. arg 1 is "reset":
  95. clear {stone::*}
  96. clear {ston::*}
  97. send "{@prefix}Zrestartowales wszystkie stoniarki"
  98. stop
  99. send "{@prefix}Komendy:"
  100. send "&7/stone reset &8- restartuje wszystkie stoniarki"
  101. stop
  102. send "{@prefix}Informacje:"
  103. send "&7Jest to skrypt stworzony przez &3knugi&7."
  104. send "&7Dziala na takiej zasadzie ze:"
  105. send "&7Jezeli polozysz blok &a{@block} &7o nazwie &b{@named}"
  106. send "&7To utworzysz stoniarke. Stone bedzie sie pokazywal nad &a{@block}"
  107. stop
  108. on script load:
  109. {@dodatek} is true:
  110. set {_stone} to "Stone"
  111. Recipe.new{ {_stone} }
  112. {_stone}.Recipe.registerIngredient{1, {@1.slot.ilosc} {@1.slot.item}}
  113. {_stone}.Recipe.registerIngredient{2, {@2.slot.ilosc} {@2.slot.item}}
  114. {_stone}.Recipe.registerIngredient{3, {@3.slot.ilosc} {@3.slot.item}}
  115. {_stone}.Recipe.registerIngredient{4, {@4.slot.ilosc} {@4.slot.item}}
  116. {_stone}.Recipe.registerIngredient{5, {@5.slot.ilosc} {@5.slot.item}}
  117. {_stone}.Recipe.registerIngredient{6, {@6.slot.ilosc} {@6.slot.item}}
  118. {_stone}.Recipe.registerIngredient{7, {@7.slot.ilosc} {@7.slot.item}}
  119. {_stone}.Recipe.registerIngredient{8, {@8.slot.ilosc} {@8.slot.item}}
  120. {_stone}.Recipe.registerIngredient{9, {@9.slot.ilosc} {@9.slot.item}}
  121. {_stone}.Recipe.registerResult{1 {@block} named "{@named}"}
  122. {_stone}.Recipe.register
  123. {@dodatek} is false:
  124. register new shaped recipe for {@block} named "{@named}" using {@1.slot.item}, {@2.slot.item}, {@3.slot.item}, {@4.slot.item}, {@5.slot.item}, {@6.slot.item}, {@7.slot.item}, {@8.slot.item}, {@9.slot.item}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement