Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &a[&bStone&a] &7 #Prefix na wiadomosciach
- block: end stone #Block (staly) jaki ma byc uzywany za stoniarke
- named: &1Stoniarka #Nazwa bloku stoniarki
- chance: 100% #Szansa na wypadniecie stoniarki z zniszczonego bloku
- #Opcja dodatek jest nie tylko ciekawa jak i zawierajaca bugi w dalszych opcjach
- #Poniewaz dodatek WildSkript umozliwia ustawienie ilosci itemu, lecz SK+ nie
- #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
- #Sk+ nie posiada ustawienia ilości itemu na crafting !!!
- #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
- #Przy reloadzie, gdy macie SK+ też nie wnikajcie w błędy bo to nie ma zależności przy poprawnym funkcjonowaniu skryptu
- #Możecie także wyłączyć tą usługę wpisując w dodatku byle co i wtedy crafting nie będzie uznawany na serwerze
- dodatek: true #true - wildskript / WS false - sk+ / Skript+
- replace: 3 #Czas po jakim ma się odrodzić stone
- 1.slot.ilosc: 1 #Ilosc itemu w slocie 1
- 1.slot.item: redstone #Item jaki ma byc ustawiony w craftingu w slocie 1
- 2.slot.ilosc: 1 #Ilosc itemu w slocie 2
- 2.slot.item: stone #Item jaki ma byc ustawiony w craftingu w slocie 2
- 3.slot.ilosc: 1
- 3.slot.item: redstone
- 4.slot.ilosc: 1
- 4.slot.item: stone
- 5.slot.ilosc: 1
- 5.slot.item: piston
- 6.slot.ilosc: 1
- 6.slot.item: stone
- 7.slot.ilosc: 1
- 7.slot.item: redstone
- 8.slot.ilosc: 1
- 8.slot.item: stone
- 9.slot.ilosc: 1
- 9.slot.item: redstone
- on place:
- player is holding {@block} named "{@named}":
- add location of block to {stone::*}
- add location of block above block to {ston::*}
- set block above block to stone
- send "{@prefix}Utworzyles stoniarke"
- on break of {@block}:
- location of block is {stone::*}:
- chance of {@chance}:
- cancel event
- set block to air
- drop {@block} named "{@named}"
- send "{@prefix}Usunales stoniarke"
- remove location of block from {stone::*}
- remove location of block above block from {ston::*}
- stop
- cancel event
- set block to air
- send "{@prefix}Usunales stoniarke"
- remove location of block from {stone::*}
- remove location of block above block from {ston::*}
- stop
- send "{@prefix}&cBlad."
- cancel event
- set block to air
- drop {@block} named "{@named}"
- stop
- on break of stone:
- location of block is {ston::*}:
- loop {@replace} times:
- wait 1 second
- block below block is not {@block}:
- stop
- set block to stone
- command /stone [<text>]:
- aliases: stoniarka
- trigger:
- arg 1 is not set:
- send "{@prefix}Informacje:"
- send "&7Jest to skrypt stworzony przez &3knugi&7."
- send "&7Dziala na takiej zasadzie ze:"
- send "&7Jezeli polozysz blok &a{@block} &7o nazwie &b{@named}"
- send "&7To utworzysz stoniarke. Stone bedzie sie pokazywal nad &a{@block}"
- stop
- arg 1 is set:
- player has permission "stone.admin":
- arg 1 is "reset":
- clear {stone::*}
- clear {ston::*}
- send "{@prefix}Zrestartowales wszystkie stoniarki"
- stop
- send "{@prefix}Komendy:"
- send "&7/stone reset &8- restartuje wszystkie stoniarki"
- stop
- send "{@prefix}Informacje:"
- send "&7Jest to skrypt stworzony przez &3knugi&7."
- send "&7Dziala na takiej zasadzie ze:"
- send "&7Jezeli polozysz blok &a{@block} &7o nazwie &b{@named}"
- send "&7To utworzysz stoniarke. Stone bedzie sie pokazywal nad &a{@block}"
- stop
- on script load:
- {@dodatek} is true:
- set {_stone} to "Stone"
- Recipe.new{ {_stone} }
- {_stone}.Recipe.registerIngredient{1, {@1.slot.ilosc} {@1.slot.item}}
- {_stone}.Recipe.registerIngredient{2, {@2.slot.ilosc} {@2.slot.item}}
- {_stone}.Recipe.registerIngredient{3, {@3.slot.ilosc} {@3.slot.item}}
- {_stone}.Recipe.registerIngredient{4, {@4.slot.ilosc} {@4.slot.item}}
- {_stone}.Recipe.registerIngredient{5, {@5.slot.ilosc} {@5.slot.item}}
- {_stone}.Recipe.registerIngredient{6, {@6.slot.ilosc} {@6.slot.item}}
- {_stone}.Recipe.registerIngredient{7, {@7.slot.ilosc} {@7.slot.item}}
- {_stone}.Recipe.registerIngredient{8, {@8.slot.ilosc} {@8.slot.item}}
- {_stone}.Recipe.registerIngredient{9, {@9.slot.ilosc} {@9.slot.item}}
- {_stone}.Recipe.registerResult{1 {@block} named "{@named}"}
- {_stone}.Recipe.register
- {@dodatek} is false:
- 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