variables: {chicken::%player%} = false {pig::%player%} = false {cow::%player%} = false {sheep::%player%} = false {wolf::%player%} = false {horse::%player%} = false {w.chicken::%player%} = false {w.pig::%player%} = false {w.cow::%player%} = false {w.sheep::%player%} = false {w.wolf::%player%} = false {w.horse::%player%} = false {p.chicken::%player%} = false {p.pig::%player%} = false {p.cow::%player%} = false {p.sheep::%player%} = false {p.wolf::%player%} = false {p.horse::%player%} = false {wybrany::%player%} = false {przywolany::%player%} = false {spawned::chicken::%player%} = true {spawned::pig::%player%} = true {spawned::cow::%player%} = true {spawned::horse::%player%} = true {spawned::sheep::%player%} = true {spawned::wolf::%player%} = true {podaj::%player%} = false command /pets []: aliases: pet, zwierzaki, zwierzak, pupil, pupile, hiPets trigger: arg 1 isn't set: open chest with 6 rows named "%{Gui.Nazwa}%" to player wait 1 tick set {t::%player%} to 0 loop 36 times: set player's current inventory's slot {t::%player%} to ({Gui.Tlo} parsed as item) named " " add 1 to {t::%player%} set {p::%player%} to 36 loop 9 times: set player's current inventory's slot {p::%player%} to ({Gui.Pasek} parsed as item) named " " add 1 to {p::%player%} wait 1 tick {chicken::%player%} = true: replace all "{t/n}" with "&a&l✔" in {Pets.Chicken.Posiadanie} else: replace all "{t/n}" with "&c&l✘" in {Pets.Chicken.Posiadanie} {w.chicken::%player%} = false: set player's current inventory's slot 12 to spawn egg:93 named "%{Pets.Chicken.Nazwa}%" with lore "%{Pets.Chicken.Posiadanie}%|| ||%{Pets.Chicken.Opis}%|| ||&7Koszt: &a%{Pets.Chicken.Koszt}%$|| " else: set player's current inventory's slot 12 to spawn egg:93 of unbreaking 10 named "%{Pets.Chicken.Nazwa}%" with lore "%{Pets.Chicken.Posiadanie}%|| ||%{Pets.Chicken.Opis}%|| ||&7Koszt: &a%{Pets.Chicken.Koszt}%$|| " {pig::%player%} = true: replace all "{t/n}" with "&a&l✔" in {Pets.Pig.Posiadanie} else: replace all "{t/n}" with "&c&l✘" in {Pets.Pig.Posiadanie} {w.pig::%player%} = false: set player's current inventory's slot 13 to spawn egg:90 named "%{Pets.Pig.Nazwa}%" with lore "%{Pets.Pig.Posiadanie}%|| ||%{Pets.Pig.Opis}%|| ||&7Koszt: &a%{Pets.Pig.Koszt}%$|| " else: set player's current inventory's slot 13 to spawn egg:90 of unbreaking 10 named "%{Pets.Pig.Nazwa}%" with lore "%{Pets.Pig.Posiadanie}%|| ||%{Pets.Pig.Opis}%|| ||&7Koszt: &a%{Pets.Pig.Koszt}%$|| " {cow::%player%} = true: replace all "{t/n}" with "&a&l✔" in {Pets.Cow.Posiadanie} else: replace all "{t/n}" with "&c&l✘" in {Pets.Cow.Posiadanie} {w.cow::%player%} = false: set player's current inventory's slot 14 to spawn egg:92 named "%{Pets.Cow.Nazwa}%" with lore "%{Pets.Cow.Posiadanie}%|| ||%{Pets.Cow.Opis}%|| ||&7Koszt: &a%{Pets.Cow.Koszt}%$|| " else: set player's current inventory's slot 14 to spawn egg:92 of unbreaking 10 named "%{Pets.Cow.Nazwa}%" with lore "%{Pets.Cow.Posiadanie}%|| ||%{Pets.Cow.Opis}%|| ||&7Koszt: &a%{Pets.Cow.Koszt}%$|| " {sheep::%player%} = true: replace all "{t/n}" with "&a&l✔" in {Pets.Sheep.Posiadanie} else: replace all "{t/n}" with "&c&l✘" in {Pets.Sheep.Posiadanie} {w.sheep::%player%} = false: set player's current inventory's slot 21 to spawn egg:91 named "%{Pets.Sheep.Nazwa}%" with lore "%{Pets.Sheep.Posiadanie}%|| ||%{Pets.Sheep.Opis}%|| ||&7Koszt: &a%{Pets.Sheep.Koszt}%$|| " else: set player's current inventory's slot 21 to spawn egg:91 of unbreaking 10 named "%{Pets.Sheep.Nazwa}%" with lore "%{Pets.Sheep.Posiadanie}%|| ||%{Pets.Sheep.Opis}%|| ||&7Koszt: &a%{Pets.Sheep.Koszt}%$|| " {wolf::%player%} = true: replace all "{t/n}" with "&a&l✔" in {Pets.Wolf.Posiadanie} else: replace all "{t/n}" with "&c&l✘" in {Pets.Wolf.Posiadanie} {w.wolf::%player%} = false: set player's current inventory's slot 22 to spawn egg:95 named "%{Pets.Wolf.Nazwa}%" with lore "%{Pets.Wolf.Posiadanie}%|| ||%{Pets.Wolf.Opis}%|| ||&7Koszt: &a%{Pets.Wolf.Koszt}%$|| " else: set player's current inventory's slot 22 to spawn egg:95 of unbreaking 10 named "%{Pets.Wolf.Nazwa}%" with lore "%{Pets.Wolf.Posiadanie}%|| ||%{Pets.Wolf.Opis}%|| ||&7Koszt: &a%{Pets.Wolf.Koszt}%$|| " {horse::%player%} = true: replace all "{t/n}" with "&a&l✔" in {Pets.Horse.Posiadanie} else: replace all "{t/n}" with "&c&l✘" in {Pets.Horse.Posiadanie} {w.horse::%player%} = false: set player's current inventory's slot 23 to spawn egg:100 named "%{Pets.Horse.Nazwa}%" with lore "%{Pets.Horse.Posiadanie}%|| ||%{Pets.Horse.Opis}%|| ||&7Koszt: &a%{Pets.Horse.Koszt}%$|| " else: set player's current inventory's slot 23 to spawn egg:100 of unbreaking 10 named "%{Pets.Horse.Nazwa}%" with lore "%{Pets.Horse.Posiadanie}%|| ||%{Pets.Horse.Opis}%|| ||&7Koszt: &a%{Pets.Horse.Koszt}%$|| " set player's current inventory's slot 48 to bed named "%{Pets.Functions.Odwolaj_Przywolaj.Nazwa}%" with lore "%{Pets.Functions.Odwolaj_Przywolaj.Opis}%|| " set player's current inventory's slot 49 to name tag named "%{Pets.Functions.Nazwij.Nazwa}%" with lore "%{Pets.Functions.Nazwij.Opis}%|| " set player's current inventory's slot 50 to minecart named "%{Pets.Functions.Ujedz.Nazwa}%" with lore "%{Pets.Functions.Ujedz.Opis}%|| " on inventory click: inventory name of player's current inventory is "%{Gui.Zakup.Nazwa}%&c": cancel event clicked slot = 11: balance of player >= {Pets.Chicken.Koszt}: send "&7&l* &aPomyslnie zakupiles &d&l%{Pets.Chicken.Nazwa}%" remove {Pets.Chicken.Koszt} from balance of player set {chicken::%player%} to true set {w.chicken::%player%} to true make player execute command "pet" else: send "&7&l* &cMasz niewystarczajaco pieniedzy" make player execute command "pet" clicked slot = 15: make player execute command "pet" inventory name of player's current inventory is "%{Gui.Zakup.Nazwa}%&a": cancel event clicked slot = 11: balance of player >= {Pets.Pig.Koszt}: send "&7&l* &aPomyslnie zakupiles &d&l%{Pets.Pig.Nazwa}%" remove {Pets.Pig.Koszt} from balance of player set {pig::%player%} to true set {w.pig::%player%} to true make player execute command "pet" else: send "&7&l* &cMasz niewystarczajaco pieniedzy" make player execute command "pet" clicked slot = 15: make player execute command "pet" inventory name of player's current inventory is "%{Gui.Zakup.Nazwa}%&e": cancel event clicked slot = 11: balance of player >= {Pets.Cow.Koszt}: send "&7&l* &aPomyslnie zakupiles &d&l%{Pets.Cow.Nazwa}%" remove {Pets.Cow.Koszt} from balance of player set {cow::%player%} to true set {w.cow::%player%} to true make player execute command "pet" else: send "&7&l* &cMasz niewystarczajaco pieniedzy" make player execute command "pet" clicked slot = 15: make player execute command "pet" inventory name of player's current inventory is "%{Gui.Zakup.Nazwa}%&9": cancel event clicked slot = 11: balance of player >= {Pets.Sheep.Koszt}: send "&7&l* &aPomyslnie zakupiles &d&l%{Pets.Sheep.Nazwa}%" remove {Pets.Sheep.Koszt} from balance of player set {sheep::%player%} to true set {w.sheep::%player%} to true make player execute command "pet" else: send "&7&l* &cMasz niewystarczajaco pieniedzy" make player execute command "pet" clicked slot = 15: make player execute command "pet" inventory name of player's current inventory is "%{Gui.Zakup.Nazwa}%&1": cancel event clicked slot = 11: balance of player >= {Pets.Wolf.Koszt}: send "&7&l* &aPomyslnie zakupiles &d&l%{Pets.Wolf.Nazwa}%" remove {Pets.Wolf.Koszt} from balance of player set {wolf::%player%} to true set {w.wolf::%player%} to true make player execute command "pet" else: send "&7&l* &cMasz niewystarczajaco pieniedzy" make player execute command "pet" clicked slot = 15: make player execute command "pet" inventory name of player's current inventory is "%{Gui.Zakup.Nazwa}%&3": cancel event clicked slot = 11: balance of player >= {Pets.Horse.Koszt}: send "&7&l* &aPomyslnie zakupiles &d&l%{Pets.Horse.Nazwa}%" remove {Pets.Horse.Koszt} from balance of player set {horse::%player%} to true set {w.horse::%player%} to true make player execute command "pet" else: send "&7&l* &cMasz niewystarczajaco pieniedzy" make player execute command "pet" clicked slot = 15: make player execute command "pet" inventory name of player's current inventory is "%{Gui.Nazwa}%": cancel event clicked slot = 12: wait 1 tick {chicken::%player%} = true: {w.chicken::%player%} = false: set {w.chicken::%player%} to true set {w.pig::%player%} to false set {w.cow::%player%} to false set {w.sheep::%player%} to false set {w.wolf::%player%} to false set {w.horse::%player%} to false set {wybrany::%player%} to true make player execute command "pet" wait 1 tick stop {w.chicken::%player%} = true: set {w.chicken::%player%} to false set {w.pig::%player%} to false set {w.cow::%player%} to false set {w.sheep::%player%} to false set {w.wolf::%player%} to false set {w.horse::%player%} to false set {wybrany::%player%} to false make player execute command "pet" wait 1 tick stop else: open chest with 3 rows named "%{Gui.Zakup.Nazwa}%&c" to player wait 1 tick set player's current inventory's slot 11 to wool:5 named "&a&l%coloured {Gui.Zakup.Akceptuj}%" set player's current inventory's slot 13 to sign named "&e&lNapewno?" with lore "&7Czy napewno chcesz||&7zakupic &d&l%{Pets.Chicken.Nazwa}%&7?|| ||&7Koszt: &a%{Pets.Chicken.Koszt}%$|| " set player's current inventory's slot 15 to wool:14 named "&c&l%coloured {Gui.Zakup.Anuluj}%" clicked slot = 13: {pig::%player%} = true: {w.pig::%player%} = false: set {w.pig::%player%} to true set {w.chicken::%player%} to false set {w.cow::%player%} to false set {w.sheep::%player%} to false set {w.wolf::%player%} to false set {w.horse::%player%} to false set {wybrany::%player%} to true make player execute command "pet" stop {w.pig::%player%} = true: set {w.pig::%player%} to false set {w.chicken::%player%} to false set {w.cow::%player%} to false set {w.sheep::%player%} to false set {w.wolf::%player%} to false set {w.horse::%player%} to false set {wybrany::%player%} to false make player execute command "pet" stop else: open chest with 3 rows named "%{Gui.Zakup.Nazwa}%&a" to player wait 1 tick set player's current inventory's slot 11 to wool:5 named "&a&l%coloured {Gui.Zakup.Akceptuj}%" set player's current inventory's slot 13 to sign named "&e&lNapewno?" with lore "&7Czy napewno chcesz||&7zakupic &d&l%{Pets.Pig.Nazwa}%&7?|| ||&7Koszt: &a%{Pets.Pig.Koszt}%$|| " set player's current inventory's slot 15 to wool:14 named "&c&l%coloured {Gui.Zakup.Anuluj}%" clicked slot = 14: {cow::%player%} = true: {w.cow::%player%} = false: set {w.cow::%player%} to true set {w.chicken::%player%} to false set {w.pig::%player%} to false set {w.sheep::%player%} to false set {w.wolf::%player%} to false set {w.horse::%player%} to false set {wybrany::%player%} to true make player execute command "pet" stop {w.cow::%player%} = true: set {w.cow::%player%} to false set {w.chicken::%player%} to false set {w.pig::%player%} to false set {w.sheep::%player%} to false set {w.wolf::%player%} to false set {w.horse::%player%} to false set {wybrany::%player%} to false make player execute command "pet" stop else: open chest with 3 rows named "%{Gui.Zakup.Nazwa}%&e" to player wait 1 tick set player's current inventory's slot 11 to wool:5 named "&a&l%coloured {Gui.Zakup.Akceptuj}%" set player's current inventory's slot 13 to sign named "&e&lNapewno?" with lore "&7Czy napewno chcesz||&7zakupic &d&l%{Pets.Cow.Nazwa}%&7?|| ||&7Koszt: &a%{Pets.Cow.Koszt}%$|| " set player's current inventory's slot 15 to wool:14 named "&c&l%coloured {Gui.Zakup.Anuluj}%" clicked slot = 21: {sheep::%player%} = true: {w.sheep::%player%} = false: set {w.sheep::%player%} to true set {w.chicken::%player%} to false set {w.pig::%player%} to false set {w.cow::%player%} to false set {w.wolf::%player%} to false set {w.horse::%player%} to false set {wybrany::%player%} to true make player execute command "pet" stop {w.sheep::%player%} = true: set {w.sheep::%player%} to false set {w.chicken::%player%} to false set {w.pig::%player%} to false set {w.cow::%player%} to false set {w.wolf::%player%} to false set {w.horse::%player%} to false set {wybrany::%player%} to false make player execute command "pet" stop else: open chest with 3 rows named "%{Gui.Zakup.Nazwa}%&9" to player wait 1 tick set player's current inventory's slot 11 to wool:5 named "&a&l%coloured {Gui.Zakup.Akceptuj}%" set player's current inventory's slot 13 to sign named "&e&lNapewno?" with lore "&7Czy napewno chcesz||&7zakupic &d&l%{Pets.Sheep.Nazwa}%&7?|| ||&7Koszt: &a%{Pets.Sheep.Koszt}%$|| " set player's current inventory's slot 15 to wool:14 named "&c&l%coloured {Gui.Zakup.Anuluj}%" clicked slot = 22: {wolf::%player%} = true: {w.wolf::%player%} = false: set {w.wolf::%player%} to true set {w.chicken::%player%} to false set {w.pig::%player%} to false set {w.cow::%player%} to false set {w.sheep::%player%} to false set {w.horse::%player%} to false set {wybrany::%player%} to true make player execute command "pet" stop {w.wolf::%player%} = true: set {w.wolf::%player%} to false set {w.chicken::%player%} to false set {w.pig::%player%} to false set {w.cow::%player%} to false set {w.sheep::%player%} to false set {w.horse::%player%} to false set {wybrany::%player%} to false make player execute command "pet" stop else: open chest with 3 rows named "%{Gui.Zakup.Nazwa}%&1" to player wait 1 tick set player's current inventory's slot 11 to wool:5 named "&a&l%coloured {Gui.Zakup.Akceptuj}%" set player's current inventory's slot 13 to sign named "&e&lNapewno?" with lore "&7Czy napewno chcesz||&7zakupic &d&l%{Pets.Wolf.Nazwa}%&7?|| ||&7Koszt: &a%{Pets.Wolf.Koszt}%$|| " set player's current inventory's slot 15 to wool:14 named "&c&l%coloured {Gui.Zakup.Anuluj}%" clicked slot = 23: {horse::%player%} = true: {w.horse::%player%} = false: set {wybrany::%player%} to true set {w.horse::%player%} to true set {w.chicken::%player%} to false set {w.pig::%player%} to false set {w.cow::%player%} to false set {w.sheep::%player%} to false set {w.wolf::%player%} to false make player execute command "pet" stop {w.horse::%player%} = true: set {wybrany::%player%} to false set {w.horse::%player%} to false set {w.chicken::%player%} to false set {w.pig::%player%} to false set {w.cow::%player%} to false set {w.sheep::%player%} to false set {w.wolf::%player%} to false make player execute command "pet" stop else: open chest with 3 rows named "%{Gui.Zakup.Nazwa}%&3" to player wait 1 tick set player's current inventory's slot 11 to wool:5 named "&a&l%coloured {Gui.Zakup.Akceptuj}%" set player's current inventory's slot 13 to sign named "&e&lNapewno?" with lore "&7Czy napewno chcesz||&7zakupic &d&l%{Pets.Horse.Nazwa}%&7?|| ||&7Koszt: &a%{Pets.Horse.Koszt}%$|| " set player's current inventory's slot 15 to wool:14 named "&c&l%coloured {Gui.Zakup.Anuluj}%" clicked slot = 48: {przywolany::%player%} = false: {wybrany::%player%} = true: {w.chicken::%player%} = true: send "%{Pets.Functions.Odwolaj_Przywolaj.Sukces}%" set {przywolany::%player%} to true set {p.chicken::%player%} to true set {spawned::chicken::%player%} to false stop {w.pig::%player%} = true: send "%{Pets.Functions.Odwolaj_Przywolaj.Sukces}%" set {przywolany::%player%} to true set {p.pig::%player%} to true set {spawned::pig::%player%} to false stop {w.cow::%player%} = true: send "%{Pets.Functions.Odwolaj_Przywolaj.Sukces}%" set {przywolany::%player%} to true set {p.cow::%player%} to true set {spawned::cow::%player%} to false stop {w.sheep::%player%} = true: send "%{Pets.Functions.Odwolaj_Przywolaj.Sukces}%" set {przywolany::%player%} to true set {p.sheep::%player%} to true set {spawned::sheep::%player%} to false stop {w.wolf::%player%} = true: send "%{Pets.Functions.Odwolaj_Przywolaj.Sukces}%" set {przywolany::%player%} to true set {p.wolf::%player%} to true set {spawned::wolf::%player%} to false stop {w.horse::%player%} = true: send "%{Pets.Functions.Odwolaj_Przywolaj.Sukces}%" set {przywolany::%player%} to true set {p.horse::%player%} to true set {spawned::horse::%player%} to false stop else: send "%{Pets.Functions.Odwolaj_Przywolaj.Blad}%" set {przywolany::%player%} to false set {p.chicken::%player%} to false set {p.cow::%player%} to false set {p.pig::%player%} to false set {p.sheep::%player%} to false set {p.wolf::%player%} to false set {p.horse::%player%} to false stop else: send "%{Pets.Functions.Odwolaj_Przywolaj.Blad2}%" set {przywolany::%player%} to false set {p.chicken::%player%} to false set {spawned::chicken::%player%} to true kill {kurczak::%player%} set {p.pig::%player%} to false set {spawned::pig::%player%} to true kill {swinia::%player%} set {p.cow::%player%} to false set {spawned::cow::%player%} to true kill {krowa::%player%} set {p.sheep::%player%} to false set {spawned::sheep::%player%} to true kill {owca::%player%} set {p.wolf::%player%} to false set {spawned::wolf::%player%} to true kill {wilk::%player%} set {p.horse::%player%} to false set {spawned::horse::%player%} to true kill {kon::%player%} clicked slot = 49: {wybrany::%player%} = true: set {podaj::%player%} to true send "%{Pets.Functions.Nazwij.Podaj}%" else: send "%{Pets.Functions.Odwolaj_Przywolaj.Blad}%" clicked slot = 50: {wybrany::%player%} = true: {w.chicken::%player%} = true: make player ride {kurczak::%player%} while player's vehicle is {kurczak::%player%}: push {kurczak::%player%} in direction of player wait 0.5 second {w.pig::%player%} = true: make player ride {swinia::%player%} while player's vehicle is {swinia::%player%}: push {swinia::%player%} in direction of player wait 0.5 second {w.cow::%player%} = true: make player ride {krowa::%player%} while player's vehicle is {krowa::%player%}: push {krowa::%player%} in direction of player wait 0.5 second {w.sheep::%player%} = true: make player ride {owca::%player%} while player's vehicle is {owca::%player%}: push {owca::%player%} in direction of player wait 0.5 second {w.wolf::%player%} = true: make player ride {wilk::%player%} while player's vehicle is {wilk::%player%}: push {wilk::%player%} in direction of player wait 0.5 second {w.horse::%player%} = true: make player ride {kon::%player%} while player's vehicle is {kon::%player%}: push {kon::%player%} in direction of player wait 0.5 second while player's vehicle is {kon::%player%}: make player ride {kon::%player%} wait 0.1 second else: send "%{Pets.Functions.Odwolaj_Przywolaj.Blad}%" on quit: send "%{Pets.Functions.Odwolaj_Przywolaj.Blad2}%" set {przywolany::%player%} to false set {p.chicken::%player%} to false set {spawned::chicken::%player%} to true kill {kurczak::%player%} set {p.pig::%player%} to false set {spawned::pig::%player%} to true kill {swinia::%player%} set {p.cow::%player%} to false set {spawned::cow::%player%} to true kill {krowa::%player%} set {p.sheep::%player%} to false set {spawned::sheep::%player%} to true kill {owca::%player%} set {p.wolf::%player%} to false set {spawned::wolf::%player%} to true kill {wilk::%player%} set {p.horse::%player%} to false set {spawned::horse::%player%} to true kill {kon::%player%} on chat: {podaj::%player%} = true: cancel event message != "anuluj": message doesn't contain "&": set {nazwa::%player%} to "%message%" send "%{Pets.Functions.Nazwij.Podaj.Sukces}%" set {podaj::%player%} to false else: send "%{Pets.Functions.Nazwij.Blad}%" set {podaj::%player%} to false else: set {podaj::%player%} to false send "%{Pets.Functions.Nazwij.Anuluj}%" every second: loop all players: {spawned::chicken::%loop-player%} = false: {p.chicken::%loop-player%} = true: spawn chicken at loop-player set {spawned::chicken::%loop-player%} to true set {kurczak::%loop-player%} to last spawned entity {nazwa::%loop-player%} is set: set name of last spawned entity to "%{nazwa::%loop-player%}%" else: set name of last spawned entity to "Kurczak" while {p.chicken::%loop-player%} = true: make last spawned entity pathfind to loop-player with speed 1.5 wait 1 second {spawned::pig::%loop-player%} = false: {p.pig::%loop-player%} = true: spawn pig at loop-player set {spawned::pig::%loop-player%} to true set {swinia::%loop-player%} to last spawned entity {nazwa::%loop-player%} is set: set name of last spawned entity to "%{nazwa::%loop-player%}%" else: set name of last spawned entity to "Swinia" while {p.pig::%loop-player%} = true: make last spawned entity pathfind to loop-player with speed 1.5 wait 1 second {spawned::cow::%loop-player%} = false: {p.cow::%loop-player%} = true: spawn cow at loop-player set {spawned::cow::%loop-player%} to true set {krowa::%loop-player%} to last spawned entity {nazwa::%loop-player%} is set: set name of last spawned entity to "%{nazwa::%loop-player%}%" else: set name of last spawned entity to "Krowa" while {p.cow::%loop-player%} = true: make last spawned entity pathfind to loop-player with speed 1.5 wait 1 second {spawned::sheep::%loop-player%} = false: {p.sheep::%loop-player%} = true: spawn sheep at loop-player set {spawned::sheep::%loop-player%} to true set {owca::%loop-player%} to last spawned entity {nazwa::%loop-player%} is set: set name of last spawned entity to "%{nazwa::%loop-player%}%" else: set name of last spawned entity to "Owca" while {p.sheep::%loop-player%} = true: make last spawned entity pathfind to loop-player with speed 1.5 wait 1 second {spawned::wolf::%loop-player%} = false: {p.wolf::%loop-player%} = true: spawn wolf at loop-player set {spawned::wolf::%loop-player%} to true set {wilk::%loop-player%} to last spawned entity {nazwa::%loop-player%} is set: set name of last spawned entity to "%{nazwa::%loop-player%}%" else: set name of last spawned entity to "Wilk" while {p.wolf::%loop-player%} = true: make last spawned entity pathfind to loop-player with speed 1.5 wait 1 second {spawned::horse::%loop-player%} = false: {p.horse::%loop-player%} = true: spawn horse at loop-player set {spawned::horse::%loop-player%} to true set {kon::%loop-player%} to last spawned entity {nazwa::%loop-player%} is set: set name of last spawned entity to "%{nazwa::%loop-player%}%" else: set name of last spawned entity to "Kon" while {p.horse::%loop-player%} = true: make last spawned entity pathfind to loop-player with speed 1.5 wait 1 second on damage: loop all players: victim is {kon::%loop-player%} or {kurczak::%loop-player%} or {swinia::%loop-player%} or {krowa::%loop-player%} or {owca::%loop-player%} or {wilk::%loop-player%}: push attacker 1 backwards cancel event on rightclick on a horse: loop all players: clicked entity is {kon::%loop-player%}: push player 1 backwards cancel event on load: if yaml value "Gui.Nazwa" from "hiPets/config.yml" isn't set: set yaml value "Gui.Nazwa" from "hiPets/config.yml" to "&d&lZwierzaki" set {Gui.Nazwa} to yaml value "Gui.Nazwa" from "hiPets/config.yml" if yaml value "Gui.Tlo" from "hiPets/config.yml" isn't set: set yaml value "Gui.Tlo" from "hiPets/config.yml" to "stained glass pane:6" set {Gui.Tlo} to yaml value "Gui.Tlo" from "hiPets/config.yml" if yaml value "Gui.Pasek" from "hiPets/config.yml" isn't set: set yaml value "Gui.Pasek" from "hiPets/config.yml" to "stained glass pane:2" set {Gui.Pasek} to yaml value "Gui.Pasek" from "hiPets/config.yml" if yaml value "Pets.Chicken.Nazwa" from "hiPets/config.yml" isn't set: set yaml value "Pets.Chicken.Nazwa" from "hiPets/config.yml" to "&d&lKura" set {Pets.Chicken.Nazwa} to yaml value "Pets.Chicken.Nazwa" from "hiPets/config.yml" if yaml value "Pets.Chicken.Posiadanie" from "hiPets/config.yml" isn't set: set yaml value "Pets.Chicken.Posiadanie" from "hiPets/config.yml" to "&7Posiadane: {t/n}" set {Pets.Chicken.Posiadanie} to yaml value "Pets.Chicken.Posiadanie" from "hiPets/config.yml" if yaml value "Pets.Chicken.Opis" from "hiPets/config.yml" isn't set: set yaml value "Pets.Chicken.Opis" from "hiPets/config.yml" to "&7Zwykly||&7Startowy||&7Zwierzak" set {Pets.Chicken.Opis} to yaml value "Pets.Chicken.Opis" from "hiPets/config.yml" if yaml value "Pets.Chicken.Koszt" from "hiPets/config.yml" isn't set: set yaml value "Pets.Chicken.Koszt" from "hiPets/config.yml" to 1000 set {Pets.Chicken.Koszt} to yaml value "Pets.Chicken.Koszt" from "hiPets/config.yml" if yaml value "Pets.Pig.Nazwa" from "hiPets/config.yml" isn't set: set yaml value "Pets.Pig.Nazwa" from "hiPets/config.yml" to "&d&lSwinia" set {Pets.Pig.Nazwa} to yaml value "Pets.Pig.Nazwa" from "hiPets/config.yml" if yaml value "Pets.Pig.Posiadanie" from "hiPets/config.yml" isn't set: set yaml value "Pets.Pig.Posiadanie" from "hiPets/config.yml" to "&7Posiadane: {t/n}" set {Pets.Pig.Posiadanie} to yaml value "Pets.Pig.Posiadanie" from "hiPets/config.yml" if yaml value "Pets.Pig.Opis" from "hiPets/config.yml" isn't set: set yaml value "Pets.Pig.Opis" from "hiPets/config.yml" to "&7Zwierzak||&7dla bardziej||&7zaawansowanych" set {Pets.Pig.Opis} to yaml value "Pets.Pig.Opis" from "hiPets/config.yml" if yaml value "Pets.Pig.Koszt" from "hiPets/config.yml" isn't set: set yaml value "Pets.Pig.Koszt" from "hiPets/config.yml" to 3500 set {Pets.Pig.Koszt} to yaml value "Pets.Pig.Koszt" from "hiPets/config.yml" if yaml value "Pets.Cow.Nazwa" from "hiPets/config.yml" isn't set: set yaml value "Pets.Cow.Nazwa" from "hiPets/config.yml" to "&d&lKrowa" set {Pets.Cow.Nazwa} to yaml value "Pets.Cow.Nazwa" from "hiPets/config.yml" if yaml value "Pets.Cow.Posiadanie" from "hiPets/config.yml" isn't set: set yaml value "Pets.Cow.Posiadanie" from "hiPets/config.yml" to "&7Posiadane: {t/n}" set {Pets.Cow.Posiadanie} to yaml value "Pets.Cow.Posiadanie" from "hiPets/config.yml" if yaml value "Pets.Cow.Opis" from "hiPets/config.yml" isn't set: set yaml value "Pets.Cow.Opis" from "hiPets/config.yml" to "&7Zwierzak||&7dla||&7zaawansowanych" set {Pets.Cow.Opis} to yaml value "Pets.Cow.Opis" from "hiPets/config.yml" if yaml value "Pets.Cow.Koszt" from "hiPets/config.yml" isn't set: set yaml value "Pets.Cow.Koszt" from "hiPets/config.yml" to 5000 set {Pets.Cow.Koszt} to yaml value "Pets.Cow.Koszt" from "hiPets/config.yml" if yaml value "Pets.Sheep.Nazwa" from "hiPets/config.yml" isn't set: set yaml value "Pets.Sheep.Nazwa" from "hiPets/config.yml" to "&d&lOwca" set {Pets.Sheep.Nazwa} to yaml value "Pets.Sheep.Nazwa" from "hiPets/config.yml" if yaml value "Pets.Sheep.Posiadanie" from "hiPets/config.yml" isn't set: set yaml value "Pets.Sheep.Posiadanie" from "hiPets/config.yml" to "&7Posiadane: {t/n}" set {Pets.Sheep.Posiadanie} to yaml value "Pets.Sheep.Posiadanie" from "hiPets/config.yml" if yaml value "Pets.Sheep.Opis" from "hiPets/config.yml" isn't set: set yaml value "Pets.Sheep.Opis" from "hiPets/config.yml" to "&7Zwierzak||&7dla||&7profesjonalistow" set {Pets.Sheep.Opis} to yaml value "Pets.Sheep.Opis" from "hiPets/config.yml" if yaml value "Pets.Sheep.Koszt" from "hiPets/config.yml" isn't set: set yaml value "Pets.Sheep.Koszt" from "hiPets/config.yml" to 10000 set {Pets.Sheep.Koszt} to yaml value "Pets.Sheep.Koszt" from "hiPets/config.yml" if yaml value "Pets.Wolf.Nazwa" from "hiPets/config.yml" isn't set: set yaml value "Pets.Wolf.Nazwa" from "hiPets/config.yml" to "&d&lWilk" set {Pets.Wolf.Nazwa} to yaml value "Pets.Wolf.Nazwa" from "hiPets/config.yml" if yaml value "Pets.Wolf.Posiadanie" from "hiPets/config.yml" isn't set: set yaml value "Pets.Wolf.Posiadanie" from "hiPets/config.yml" to "&7Posiadane: {t/n}" set {Pets.Wolf.Posiadanie} to yaml value "Pets.Wolf.Posiadanie" from "hiPets/config.yml" if yaml value "Pets.Wolf.Opis" from "hiPets/config.yml" isn't set: set yaml value "Pets.Wolf.Opis" from "hiPets/config.yml" to "&7Zwierzak||&7dla najlepszych||&7ekspertow" set {Pets.Wolf.Opis} to yaml value "Pets.Wolf.Opis" from "hiPets/config.yml" if yaml value "Pets.Wolf.Koszt" from "hiPets/config.yml" isn't set: set yaml value "Pets.Wolf.Koszt" from "hiPets/config.yml" to 25000 set {Pets.Wolf.Koszt} to yaml value "Pets.Wolf.Koszt" from "hiPets/config.yml" if yaml value "Pets.Horse.Nazwa" from "hiPets/config.yml" isn't set: set yaml value "Pets.Horse.Nazwa" from "hiPets/config.yml" to "&d&lKon" set {Pets.Horse.Nazwa} to yaml value "Pets.Horse.Nazwa" from "hiPets/config.yml" if yaml value "Pets.Horse.Posiadanie" from "hiPets/config.yml" isn't set: set yaml value "Pets.Horse.Posiadanie" from "hiPets/config.yml" to "&7Posiadane: {t/n}" set {Pets.Horse.Posiadanie} to yaml value "Pets.Horse.Posiadanie" from "hiPets/config.yml" if yaml value "Pets.Horse.Opis" from "hiPets/config.yml" isn't set: set yaml value "Pets.Horse.Opis" from "hiPets/config.yml" to "&7Zwierzak||&7dla najlepszych||&dlegend" set {Pets.Horse.Opis} to yaml value "Pets.Horse.Opis" from "hiPets/config.yml" if yaml value "Pets.Horse.Koszt" from "hiPets/config.yml" isn't set: set yaml value "Pets.Horse.Koszt" from "hiPets/config.yml" to 50000 set {Pets.Horse.Koszt} to yaml value "Pets.Horse.Koszt" from "hiPets/config.yml" if yaml value "Pets.Functions.Odwolaj_Przywolaj.Nazwa" from "hiPets/config.yml" isn't set: set yaml value "Pets.Functions.Odwolaj_Przywolaj.Nazwa" from "hiPets/config.yml" to "&d&lPrzywolaj&5&l/&d&lOdwolaj" set {Pets.Functions.Odwolaj_Przywolaj.Nazwa} to yaml value "Pets.Functions.Odwolaj_Przywolaj.Nazwa" from "hiPets/config.yml" if yaml value "Pets.Functions.Odwolaj_Przywolaj.Opis" from "hiPets/config.yml" isn't set: set yaml value "Pets.Functions.Odwolaj_Przywolaj.Opis" from "hiPets/config.yml" to "&7Przywoluje lub odwoluje wybranego||&7przez ciebie zwierzaka" set {Pets.Functions.Odwolaj_Przywolaj.Opis} to yaml value "Pets.Functions.Odwolaj_Przywolaj.Opis" from "hiPets/config.yml" if yaml value "Pets.Functions.Odwolaj_Przywolaj.Blad" from "hiPets/config.yml" isn't set: set yaml value "Pets.Functions.Odwolaj_Przywolaj.Blad" from "hiPets/config.yml" to "&7&l* &cMusisz wybrac zwierzaka!" set {Pets.Functions.Odwolaj_Przywolaj.Blad} to yaml value "Pets.Functions.Odwolaj_Przywolaj.Blad" from "hiPets/config.yml" if yaml value "Pets.Functions.Odwolaj_Przywolaj.Blad2" from "hiPets/config.yml" isn't set: set yaml value "Pets.Functions.Odwolaj_Przywolaj.Blad2" from "hiPets/config.yml" to "&7&l* &cOdwolano zwierzaka!" set {Pets.Functions.Odwolaj_Przywolaj.Blad2} to yaml value "Pets.Functions.Odwolaj_Przywolaj.Blad2" from "hiPets/config.yml" if yaml value "Pets.Functions.Odwolaj_Przywolaj.Sukces" from "hiPets/config.yml" isn't set: set yaml value "Pets.Functions.Odwolaj_Przywolaj.Sukces" from "hiPets/config.yml" to "&7&l* &aPrzywolales swojego zwierzaka" set {Pets.Functions.Odwolaj_Przywolaj.Sukces} to yaml value "Pets.Functions.Odwolaj_Przywolaj.Sukces" from "hiPets/config.yml" if yaml value "Pets.Functions.Nazwij.Nazwa" from "hiPets/config.yml" isn't set: set yaml value "Pets.Functions.Nazwij.Nazwa" from "hiPets/config.yml" to "&d&lNazwij" set {Pets.Functions.Nazwij.Nazwa} to yaml value "Pets.Functions.Nazwij.Nazwa" from "hiPets/config.yml" if yaml value "Pets.Functions.Nazwij.Opis" from "hiPets/config.yml" isn't set: set yaml value "Pets.Functions.Nazwij.Opis" from "hiPets/config.yml" to "&7Nazywa wybranego przez||&7ciebie zwierzaka" set {Pets.Functions.Nazwij.Opis} to yaml value "Pets.Functions.Nazwij.Opis" from "hiPets/config.yml" if yaml value "Pets.Functions.Nazwij.Podaj" from "hiPets/config.yml" isn't set: set yaml value "Pets.Functions.Nazwij.Podaj" from "hiPets/config.yml" to "&7&l* &aNapisz na chacie nowa nazwe twojego zwierzaka%nl%&7&l* &aNapisz &cANULUJ &aby anulowac" set {Pets.Functions.Nazwij.Podaj} to yaml value "Pets.Functions.Nazwij.Podaj" from "hiPets/config.yml" if yaml value "Pets.Functions.Nazwij.Anuluj" from "hiPets/config.yml" isn't set: set yaml value "Pets.Functions.Nazwij.Anuluj" from "hiPets/config.yml" to "&7&l* &cAnulowales ustawianie nazwy zwierzaka" set {Pets.Functions.Nazwij.Anuluj} to yaml value "Pets.Functions.Nazwij.Anuluj" from "hiPets/config.yml" if yaml value "Pets.Functions.Nazwij.Podaj.Sukces" from "hiPets/config.yml" isn't set: set yaml value "Pets.Functions.Nazwij.Podaj.Sukces" from "hiPets/config.yml" to "&7&l* &aZmieniles nazwe zwierzaka, odwolaj go i przywolaj" set {Pets.Functions.Nazwij.Podaj.Sukces} to yaml value "Pets.Functions.Nazwij.Podaj.Sukces" from "hiPets/config.yml" if yaml value "Pets.Functions.Nazwij.Blad" from "hiPets/config.yml" isn't set: set yaml value "Pets.Functions.Nazwij.Blad" from "hiPets/config.yml" to "&7&l* &cNazwa zwierzaka nie moze zawierac kolorow!" set {Pets.Functions.Nazwij.Blad} to yaml value "Pets.Functions.Nazwij.Blad" from "hiPets/config.yml" if yaml value "Pets.Functions.Ujedz.Nazwa" from "hiPets/config.yml" isn't set: set yaml value "Pets.Functions.Ujedz.Nazwa" from "hiPets/config.yml" to "&d&lUjedz" set {Pets.Functions.Ujedz.Nazwa} to yaml value "Pets.Functions.Ujedz.Nazwa" from "hiPets/config.yml" if yaml value "Pets.Functions.Ujedz.Opis" from "hiPets/config.yml" isn't set: set yaml value "Pets.Functions.Ujedz.Opis" from "hiPets/config.yml" to "&7Ujezdza wybranego||&7przez ciebie zwierzaka" set {Pets.Functions.Ujedz.Opis} to yaml value "Pets.Functions.Ujedz.Opis" from "hiPets/config.yml" if yaml value "Gui.Zakup.Nazwa" from "hiPets/config.yml" isn't set: set yaml value "Gui.Zakup.Nazwa" from "hiPets/config.yml" to "&d&lPotwierdz zakup" set {Gui.Zakup.Nazwa} to yaml value "Gui.Zakup.Nazwa" from "hiPets/config.yml" if yaml value "Gui.Zakup.Akceptuj" from "hiPets/config.yml" isn't set: set yaml value "Gui.Zakup.Akceptuj" from "hiPets/config.yml" to "&a&l✔" set {Gui.Zakup.Akceptuj} to yaml value "Gui.Zakup.Akceptuj" from "hiPets/config.yml" if yaml value "Gui.Zakup.Anuluj" from "hiPets/config.yml" isn't set: set yaml value "Gui.Zakup.Anuluj" from "hiPets/config.yml" to "&c&l✘" set {Gui.Zakup.Anuluj} to yaml value "Gui.Zakup.Anuluj" from "hiPets/config.yml"