options: kowal_a: anvil named "&d&kA &e Zaklete &3Kowadlo &aStarego &9Barnaby &d&kA" with lore "&dArtefakt - przedmiot kolekcjonerski||&dZbierz ich jak najwiecej" sierotka_a: ghast_tear named "&d&kA &e Lza &3Smutku &aSierotki &9Alice &d&kA" with lore "&dArtefakt - przedmiot kolekcjonerski||&dZbierz ich jak najwiecej" szkutnik_a: wooden_slab:0 named "&d&kA &e Deska &3z &aWyciagnietym &9Gwozdziem &d&kA" with lore "&dArtefakt - przedmiot kolekcjonerski||&dZbierz ich jak najwiecej" pirat_a: wooden_shovel named "&d&kA &e Zlamana &3Lopata &aPirata &9Jima &d&kA" with lore "&dArtefakt - przedmiot kolekcjonerski||&dZbierz ich jak najwiecej" # kronikarz_a: feather "&d&kA &e Zuzyte &3Pioro &aKronikarza &9Johnnego &d&kA" with lore "&dArtefakt - przedmiot kolekcjonerski||&dZbierz ich jak najwiecej" kowal_l1: blaze_powder named "&6&kA &e Zaklety &3Ogien &aStarego &9Barnaby &6&kA" with lore "&6Legendarny przedmiot dzieki ktoremu||&6naprawisz wszystkie itemy||&6trzymane w Twojej rece||&6Ilosc uzyc:1" kowal_l2: blaze_powder named "&6&kA &e Zaklety &3Ogien &aStarego &9Barnaby &6&kA" with lore "&6Legendarny przedmiot dzieki ktoremu||&6naprawisz wszystkie itemy||&6trzymane w Twojej rece||&6Ilosc uzyc:2" kowal_l3: blaze_powder named "&6&kA &e Zaklety &3Ogien &aStarego &9Barnaby &6&kA" with lore "&6Legendarny przedmiot dzieki ktoremu||&6naprawisz wszystkie itemy||&6trzymane w Twojej rece||&6Ilosc uzyc:3" kowal_l0: blaze_powder named "&6&kA &e Zaklety &3Ogien &aStarego &9Barnaby &6&kA" with lore "&6Legendarny przedmiot dzieki ktoremu||&6naprawisz wszystkie itemy||&6trzymane w Twojej rece" sierotka_l: totem_of_undying named "&6&kA &e Zaklety &3Totem &aNiesmiertelnosci &6&kA" with lore "&6Legendarny przedmiot dzieki ||&6ktoremu zachowasz zycie||&6w niespodziewanej sytuacji" szkutnik_l: sponge:1 named "&6&kA &e Zakleta &3Drewniarka &aSzkutnika &9Rona &6&kA" with lore "&6Legendarny przedmiot dzieki ktoremu||&6bedziesz mial dostep||&6do nieograniczonego drewna" pirat_l: chest named "&6&kA &e Zmurszała &3Szkrzynia &az &9Piaskiem &6&kA" with lore "&6Legendarny przedmiot ||&6z ktorego po postawieniu||&6wyleci piasek" # kronikarz_l: enchanted_book named "&6&kA &e Zakleta &3Ksiega &aKronikarza &9Johnnego &6&kA" with lore "&6Legendarny przedmiot ||&6wz ktorego wypadna ||&6karty z zakleciami" kartograf_l: seeds named "&6&kA &e Zaklete &3Ziarna &aKrolewskiego &9Kartografa &6&kA" with lore "&6Legendarny przedmiot ||&6kliknij w ziarna||&6aby przywolac pirackie papugi" cook_l1: mushroom_stew named "&6&kA &e Zakleta &3Misa &aCooka &9Tobiego &6&kA" with lore "&6Legendarny miska dzieki ktorej||&6zaspokoisz swoj glod ||&6Ilosc uzyc:1" cook_l2: mushroom_stew named "&6&kA &e Zakleta &3Misa &aCooka &9Tobiego &6&kA" with lore "&6Legendarny miska dzieki ktorej||&6zaspokoisz swoj glod ||&6Ilosc uzyc:2" cook_l3: mushroom_stew named "&6&kA &e Zakleta &3Misa &aCooka &9Tobiego &6&kA" with lore "&6Legendarny miska dzieki ktorej||&6zaspokoisz swoj glod ||&6Ilosc uzyc:3" cook_l0: mushroom_stew named "&6&kA &e Zakleta &3Misa &aCooka &9Tobiego &6&kA" with lore "&6Legendarny miska dzieki ktorej||&6zaspokoisz swoj glod " command /artefakty []: trigger: open chest with 2 rows named "&dArtefakty" to player wait 1 seconds format slot 0 of player with {@kowal_a} to be unstealable format slot 1 of player with {@sierotka_a} to be unstealable format slot 2 of player with {@szkutnik_a} to be unstealable format slot 3 of player with {@pirat_a} to be unstealable # format slot 4 of player with {@kronikarz_a} to be unstealable # format slot 5 of player with {@kronikarz_a} to be unstealable # format slot 6 of player with {@kowal_a} to be unstealable # format slot 7 of player with {@kowal_a} to be unstealable # format slot 8 of player with {@kowal_a} to be unstealable # format slot 9 of player with {@kowal_a} to be unstealable # format slot 10 of player with {@kowal_a} to be unstealable # format slot 11 of player with {@kowal_a} to be unstealable # format slot 12 of player with {@kowal_a} to be unstealable # format slot 13 of player with {@kowal_a} to be unstealable # format slot 14 of player with {@kowal_a} to be unstealable # format slot 15 of player with {@kowal_a} to be unstealable # format slot 16 of player with {@kowal_a} to be unstealable # format slot 17 of player with {@kowal_a} to be unstealable wait 1 seconds command /legendarne []: trigger: open chest with 2 rows named "&dPrzedmioty legendarne" to player wait 1 seconds format slot 0 of player with {@kowal_l0} to be unstealable format slot 1 of player with {@sierotka_l} to be unstealable format slot 2 of player with {@szkutnik_l} to be unstealable format slot 3 of player with {@pirat_l} to be unstealable format slot 4 of player with {@kartograf_l} to be unstealable format slot 5 of player with {@cook_l0} to be unstealable # format slot 6 of player with {@kowal_l0} to be unstealable # format slot 7 of player with {@kowal_l0} to be unstealable # format slot 8 of player with {@kowal_l0} to be unstealable # format slot 9 of player with {@kowal_l0} to be unstealable # format slot 10 of player with {@kowal_l0} to be unstealable # format slot 11 of player with {@kowal_l0} to be unstealable # format slot 12 of player with {@kowal_l0} to be unstealable # format slot 13 of player with {@kowal_l0} to be unstealable # format slot 14 of player with {@kowal_l0} to be unstealable # format slot 15 of player with {@kowal_l0} to be unstealable # format slot 16 of player with {@kowal_l0} to be unstealable # format slot 17 of player with {@kowal_l0} to be unstealable wait 1 seconds command /dajitemki []: permission: skript.dajitemki trigger: give player {@kowal_a} give player {@kowal_l1} give player {@kowal_l2} give player {@kowal_l3} give player {@szkutnik_l} give player {@szkutnik_a} give player {@sierotka_l} give player {@sierotka_a} give player {@pirat_l} give player {@pirat_a} give player {@kartograf_l} give player {@cook_l1} give player {@cook_l2} give player {@cook_l3} # give player {@kronikarz_a} stop on place anvil: if player's tool is {@kowal_a}: cancel event wait 1 tick send "&dTo jest artefakt nie mozesz go postawic" stop on place chest: if player's tool is {@pirat_l}: loop 5 times: drop sand wait 1 second set event-block to air send "&6&kA &e Zmurszała &3Szkrzynia &az &9Piaskiem &6&kA &6 rozpadla sie pozostawiajac piasek" stop on right click: if player's tool is {@kowal_l3}: loop all items in the player's inventory: repair loop-item remove 1 {@kowal_l3} from player give player {@kowal_l2} wait 1 tick send "&6Uzyles magicznego przedmiotu" stop if player's tool is {@kowal_l2}: loop all items in the player's inventory: repair loop-item remove 1 {@kowal_l2} from player give player {@kowal_l1} wait 1 tick send "&6Uzyles magicznego przedmiotu" stop if player's tool is {@kowal_l1}: loop all items in the player's inventory: repair loop-item remove 1 {@kowal_l1} from player give player air wait 1 tick send "&6Uzyles magicznego przedmiotu" stop if player's tool is {@kartograf_l}: loop 5 times: spawn parrot 2 above player wait 1 second remove 1 {@kartograf_l} from player send "&6Przywolales pirackie papugi" stop if player's tool is {@cook_l3}: set the player's food level to 20 remove 1 {@cook_l3} from player give player {@cook_l2} wait 1 tick send "&6Uzyles magicznego przedmiotu - jestes teraz najedzony" stop if player's tool is {@cook_l2}: set the player's food level to 20 remove 1 {@cook_l2} from player give player {@cook_l1} wait 1 tick send "&6Uzyles magicznego przedmiotu - jestes teraz najedzony" stop if player's tool is {@cook_l1}: set the player's food level to 20 remove 1 {@cook_l1} from player give player air wait 1 tick send "&6Uzyles magicznego przedmiotu - jestes teraz najedzony" stop on place of sponge: if player's tool is {@szkutnik_l}: add location of event-block to {drewniarka::*} send "Postawiles &6&kA &e Zakleta &3Drewniarke &aSzkutnika &9Rona &6&kA" set block above event-block to log:0 set block 2 above event-block to log:0 stop on break of log: if "%{drewniarka::*}%" contains "%location of block below event-block%" or "%location of block 2 below event-block%": if player has permission "drewniarka.szybka": set event-block to log:0 stop if player has permission "drewniarka.wolna": wait 10 tick set event-block to log:0 stop wait 1 second set event-block to log:0 stop on break of sponge: if "%{drewniarka::*}%" contains "%location of event-block%": cancel event remove location of event-block from {drewniarka::*} set event-block to air set block above event-block to air set block 2 above event-block to air give 1 {@szkutnik_l} to player stop