#=========================================# # # # RPGQuest # # CusT # # # #=========================================# options: Tag: &9&lWEED&3&LRPG&F&L.PL WiadomoscPrzyjeciaQuestu1: Zadanie zostalo przyjete ! WiadomoscPrzyjeciaQuestu2: Zadanie zostalo przyjete ! WiadomoscPrzyjeciaQuestu3: Zadanie zostalo przyjete ! WiadomoscPrzyjeciaQuestu4: Zadanie zostalo przyjete ! WiadomoscPrzyjeciaQuestu5: Zadanie zostalo przyjete ! WiadomoscPrzyjeciaQuestu6: Zadanie zostalo przyjete ! WiadomoscPrzyjeciaQuestu7: Zadanie zostalo przyjete ! WiadomoscPrzyjeciaQuestu8: Zadanie zostalo przyjete ! WiadomoscPrzyjeciaQuestu9: Zadanie zostalo przyjete ! WiadomoscPrzyjeciaQuestu10: Zadanie zostalo przyjete ! WiadomoscPrzyjeciaQuestu11: Zadanie zostalo przyjete ! #=========================================# # # # Zmienne # # CusT # # # #=========================================# variables: {Quest1.%player%} = false {Quest1.wtrakcie.%player%} = false {Quest2.%player%} = false {Quest2.wtrakcie.%player%} = false {Quest3.%player%} = false {Quest3.wtrakcie.%player%} = false {Quest4.%player%} = false {Quest4.wtrakcie.%player%} = false {Quest5.%player%} = false {Quest5.wtrakcie.%player%} = false {Stone.%player%} = 0 {Quest6.%player%} = false {Quest6.wtrakcie.%player%} = false {Quest7.%player%} = false {Quest7.wtrakcie.%player%} = false {Quest8.%player%} = false {Quest8.wtrakcie.%player%} = false {Quest9.%player%} = false {Quest9.wtrakcie.%player%} = false {Quest10.%player%} = false {Quest10.wtrakcie.%player%} = false {Quest11.%player%} = false {Quest11.wtrakcie.%player%} = false #=========================================# # # # Eventy # # CusT # # # #=========================================# on spawn: entity is villager: set name of entity to "Quester" on join: wait 10 second send " &6&l[ZADANIA]" to player send " &aWykonuj zadania u Questera %player% !" to player on mine of stone: if {Quest5.wtrakcie.%player%} is true: add 1 to {Stone.%player%} #=========================================# # # # Questy # # CusT # # # #=========================================# on rightclick on villager: name of villager is "Quester": cancel event if {Quest1.%player%} is false: if {Quest1.wtrakcie.%player%} is false: cancel event send "&8============================================" send "&7Witaj przybyszu ! Mam nadzieje ze mi pomozesz poniewaz ostatnio mam problemy z zdobyciem 10 kamienia na moj dom, czy moglbys mi je przynies ?" send "&7Nagrode zobaczysz po wykonaniu zadania :)" send "&8============================================" send " " send " " send "{@Tag} {@WiadomoscPrzyjeciaQuestu1}" set {Quest1.wtrakcie.%player%} to true stop if {Quest1.wtrakcie.%player%} is true: player has 10 stone: cancel event remove 10 stone from the player send "&8============================================" send "&aDziekuje ze mi przyniosles ten kamien, teraz bede mogl dokonczyc moj dom !" send "&aW nagrode otrzymujesz 2 sztabki zelaza !" send "&8============================================" add 2 iron ingot to the player strike lightning effect at the player set {Quest1.%player%} to true stop else: send "&cNie przyniosles dla mnie 10 kamienia !" if {Quest1.%player%} is true: if {Quest2.%player%} is false: if {Quest2.wtrakcie.%player%} is false: cancel event send "&8============================================" send "&7Ohoho, kogo ja tu widze, to w roli samej %player%, mam nadzieje ze i tym razem mi pomozesz i zdobedziesz dla mnie diamentowy miecz" send "&7Abym mogl sie bronic przed tym dziwactwem w nocy." send "&8============================================" send " " send " " send "{@Tag} {@WiadomoscPrzyjeciaQuestu2}" set {Quest2.wtrakcie.%player%} to true stop if {Quest2.wtrakcie.%player%} is true: player has diamond sword: cancel event remove diamond sword from the player send "&8============================================" send "&aTakich ludzi jak ty na tym swiecie powinno byc wiecej, swietna robota !" send "&aProsze, w nagrode otrzymujesz 300 exp" send "&8============================================" execute console command "/xp 300 %player%" strike lightning effect at the player set {Quest2.%player%} to true stop else: send "&cJa potrzebuje diamentowy miecz !" if {Quest1.%player%} is true: if {Quest2.%player%} is true: if {Quest3.%player%} is false: if {Quest3.wtrakcie.%player%} is false: cancel event send "&8============================================" send "&7Witaj po raz kolejny, musisz dla mnie zrobic przysluge i przyniesc dla mnie 64 zgnilego miesa z zombiakow ;)" send "&8============================================" send " " send " " send "{@Tag} {@WiadomoscPrzyjeciaQuestu3}" set {Quest3.wtrakcie.%player%} to true stop if {Quest3.wtrakcie.%player%} is true: player has 64 rotten flesh: cancel event remove 64 rotten flesh from the player send "&8============================================" send "&aOO dziekuje ci za to, aktualnie niestety nie mam zabardzo co ci dac jako nagrode, lecz dam ci narazie troche kurczakow ;)" send "&aLapaj 25 kurczaczkow prosto z pieca ;)" send "&8============================================" add 25 cooked chicken to the player strike lightning effect at the player set {Quest3.%player%} to true stop else: send "&cNie przyniosles dla mnie tego oco Ciebie prosilem !" if {Quest1.%player%} is true: if {Quest2.%player%} is true: if {Quest3.%player%} is true: if {Quest4.%player%} is false: if {Quest4.wtrakcie.%player%} is false: cancel event send "&8============================================" send "&7Twoje kolejne zadanie bedzie troche uciazliwe, poniewaz potrzebuje 20 obsydianu ! " send "&8============================================" send " " send " " send "{@Tag} {@WiadomoscPrzyjeciaQuestu4}" set {Quest4.wtrakcie.%player%} to true stop if {Quest4.wtrakcie.%player%} is true: player has 20 obsidian: cancel event remove 20 obsidian from the player send "&8============================================" send "&aDzieki ci wielkie ! to juz kolejny raz kiedy mi pomagasz %player%" send "&aMusze cie wynagrodzic za to zadanie, otrzymujesz 500 exp" send "&8============================================" execute console command "/xp 500 %player%" set {Quest4.%player%} to true stop else: send "&cNie posiadasz 20 obsydianu !" if {Quest1.%player%} is true: if {Quest2.%player%} is true: if {Quest3.%player%} is true: if {Quest4.%player%} is true: if {Quest5.%player%} is false: if {Quest5.wtrakcie.%player%} is false: cancel event send "&8============================================" send "&7Dzisiaj bedziesz musial sie troche napracowac, poniewaz musze ciebie sprawdzic w pewnym zadaniu" send "&7Potrzebuje, abys przekopal 500 stone (Kamienia) !" send "&8============================================" send " " send " " send "{@Tag} {@WiadomoscPrzyjeciaQuestu5}" set {Quest5.wtrakcie.%player%} to true if {Quest5.wtrakcie.%player%} is true: if {Stone.%player%} is 500: cancel event send "&8============================================" send "&aOkej, tak wiec jednak jestes kims wiecej niz tylko czlowiekiem tej planety" send "&aTrzymaj twoja nagrode, lecz pamietaj ze od teraz twoje zadanie beda coraz to ciezsze !" send "&8============================================" send " " send " " send "&6Otrzymujesz przedrostek !Weteran! " give diamond pickaxe of efficiency 5 named "&aNagorda" to the player set {Stone.%player%} to 0 set {Quest5.%player%} to true set {Quest5.wtrakcie.%player%} to false stop else: send "&cAktualnie wykopales %{Stone.%player%}% stona ! (Musisz wykopac 500)" if {Quest1.%player%} is true: if {Quest2.%player%} is true: if {Quest3.%player%} is true: if {Quest4.%player%} is true: if {Quest5.%player%} is true: if {Quest6.%player%} is false: if {Quest6.wtrakcie.%player%} is false: cancel event send "&8============================================" send "&7Dobrze, a wiec ostatnio widzialem ze potrafisz dosc wiele" send "&7Potrzebuje, abys przyniosl mi 60 sztabek zelaza !" send "&8============================================" send " " send " " send "{@Tag} {@WiadomoscPrzyjeciaQuestu6}" set {Quest6.wtrakcie.%player%} to true if {Quest6.wtrakcie.%player%} is true: player has 60 iron ingot: cancel event remove 60 iron ingot from the player send "&8============================================" send "&aDziekuje ci ! Wiedzialem ze moge na tobie polegac !" send "&aW nagrode otrzymujesz 2x wiecej sztabek zelaza (120)" send "&8============================================" give 60 iron ingot named "&aNagorda" to the player give 60 iron ingot named "&aNagorda" to the player set {Quest6.%player%} to true set {Quest6.wtrakcie.%player%} to true stop else: send "&cNie posiadasz 60 zelaza !" if {Quest1.%player%} is true: if {Quest2.%player%} is true: if {Quest3.%player%} is true: if {Quest4.%player%} is true: if {Quest5.%player%} is true: if {Quest6.%player%} is true: if {Quest7.%player%} is false: if {Quest7.wtrakcie.%player%} is false: cancel event send "&8============================================" send "&7Mam pewien problem, poniewaz ostatio rozbila mi sie doniczka, moglbys mi ja przyniesc ?" send "&8============================================" send " " send " " send "{@Tag} {@WiadomoscPrzyjeciaQuestu7}" set {Quest7.wtrakcie.%player%} to true if {Quest7.wtrakcie.%player%} is true: player has flower pot: cancel event remove flower pot from the player send "&8============================================" send "&aOO, jest moja doniczka, bardzo ci dziekuje teraz bede mogl wsadzic moja czerwona roze do doniczki !" send "&aTrzymaj tutaj 1 sztabke zlota ;)" send "&8============================================" give gold ingot named "&aNagroda" to the player set {Quest7.%player%} to true set {Quest7.wtrakcie.%player%} to true stop else: send "&c A Gdzie moja doniczka ? !" if {Quest1.%player%} is true: if {Quest2.%player%} is true: if {Quest3.%player%} is true: if {Quest4.%player%} is true: if {Quest5.%player%} is true: if {Quest6.%player%} is true: if {Quest7.%player%} is true: if {Quest8.%player%} is false: if {Quest8.wtrakcie.%player%} is false: cancel event send "&8============================================" send "&7Dobrze ze jestes, bo potrzebuje troche szkla na okna, moglbys mi przyniesc 30 szkla ?" send "&8============================================" send " " send " " send "{@Tag} {@WiadomoscPrzyjeciaQuestu8}" set {Quest8.wtrakcie.%player%} to true if {Quest8.wtrakcie.%player%} is true: player has 30 glass: cancel event remove 30 glass from the player send "&8============================================" send "&aOO Dziekuje ci bardzo, prosze dostaniesz troszeczke expa" send "&8============================================" set {Quest8.%player%} to true execute console command "/xp 200 %player%" stop else: send "&cNie przyniosles mi szkla !" if {Quest1.%player%} is true: if {Quest2.%player%} is true: if {Quest3.%player%} is true: if {Quest4.%player%} is true: if {Quest5.%player%} is true: if {Quest6.%player%} is true: if {Quest7.%player%} is true: if {Quest8.%player%} is true: if {Quest9.%player%} is false: if {Quest9.wtrakcie.%player%} is false: cancel event send "&8============================================" send "&7Siema ! Potrzebuje abys przyniosl mi diamentowa siekiere !" send "&8============================================" send " " send " " send "{@Tag} {@WiadomoscPrzyjeciaQuestu9}" set {Quest9.wtrakcie.%player%} to true if {Quest9.wtrakcie.%player%} is true: player has diamond axe: cancel event remove diamond axe from the player send "&8============================================" send "&aDzieki %player%, Ide troche poscinac drzewa na opal !" send "&8============================================" set {Quest9.%player%} to true give diamond axe of unbreaking 1 named "&aNagroda" to the player stop else: send "&cNie posiadasz siekiery !" if {Quest1.%player%} is true: if {Quest2.%player%} is true: if {Quest3.%player%} is true: if {Quest4.%player%} is true: if {Quest5.%player%} is true: if {Quest6.%player%} is true: if {Quest7.%player%} is true: if {Quest8.%player%} is true: if {Quest9.%player%} is true: if {Quest10.%player%} is false: if {Quest10.wtrakcie.%player%} is false: cancel event send "&8============================================" send "&7Czesc ! Potrzebuje pilnie Marchewke !" send "&8============================================" send " " send " " send "{@Tag} {@WiadomoscPrzyjeciaQuestu10}" set {Quest10.wtrakcie.%player%} to true if {Quest10.wtrakcie.%player%} is true: player has carrot: cancel event remove carrot from the player send "&8============================================" send "&aDziekuje, ide zrobic surowke na obiad ! :)" send "&8============================================" set {Quest10.%player%} to true execute console command "/xp 50 %player%" stop else: send "&cNie posiadasz marchewki !" if {Quest1.%player%} is true: if {Quest2.%player%} is true: if {Quest3.%player%} is true: if {Quest4.%player%} is true: if {Quest5.%player%} is true: if {Quest6.%player%} is true: if {Quest7.%player%} is true: if {Quest8.%player%} is true: if {Quest9.%player%} is true: if {Quest10.%player%} is true: if {Quest11.%player%} is false: if {Quest11.wtrakcie.%player%} is false: cancel event send "&8============================================" send "&7Te obiady, zabraklo mi ziemniakow, moglbys mi przyniesc z 30 ziemniakow ?" send "&8============================================" send " " send " " send "{@Tag} {@WiadomoscPrzyjeciaQuestu11}" set {Quest11.wtrakcie.%player%} to true if {Quest11.wtrakcie.%player%} is true: player has 30 potato: cancel event remove potato from player send "&8============================================" send "&aOO Dzieki, do zobaczenia nastepnym razem !" send "&8============================================" set {Quest11.%player%} to true give 10 emerald named "&aNagroda" to the player stop else: send "&cNie masz ziemniakow ? :(" #=========================================# # # # Komendy # # CusT # # # #=========================================# command /RPGQuest [] []: trigger: arg 1 is not set: send "&7[RPGQuest]&9Uzyj komendy /RPGQuest help !" stop trigger arg 1 is "Help" or "Pomoc": player has permissions "RPGQuest.Help": send "&7=======&8Pomoc Dot. Skryptu&7=======" send "&6/RPGQuest Help - Pomoc Dotyczaca Skryptu" send "&6/RPGQuest Author - Informacje o autorze skryptu" send "&6/RPGQuest reload - Przeladowanie skryptu" send "&6/RPGQuest version - Informacje o Versji Skryptu" send "&6/RPGQuest Spawn - Spawnuje Questera" send "&6/RPGQuest Reset [Player] - Resetuje wszystkie Questy gracza" else: send "&cNie posiadasz uprawnien !" arg 1 is "Author" or "Autor": player has permissions "RPGQuest.Autor": send "&cAutor skryptu: &9CusT" send "http://www.mpcforum.pl/user/909894-cust/" else: send "&cNie posiadasz uprawnien !" arg 1 is "reload" or "Przeladuj": player has permissions "RPGQuest.Przeladuj": send "&aRozpoczecie przeladowania skryptu..." wait 1 second send "&aPrzeladowuje konfiguracje skryptu..." wait 1 second send "&aSprawdzam logi..." wait 1 second send "&aSprawdzam kod skryptu..." wait 1 second execute console command "/sk reload questy" wait 1 second send "&aSkrypt pomyslnie zaladowany !" else: send "&cNie posiadasz uprawnien !" arg 1 is "version" or "Wersja": player has permissions "RPGQuest.version": send "&aAktualna Wersja skryptu: &cBUILD v0.1" else: send "&cNie posiadasz uprawnien !" arg 1 is "Spawn" or "Villager": player has permissions "RPGQuest.Quester": send "&aPoczekaj, spawnuje Questera !" wait 1 second wait 1 second execute player command "/spawnmob villager" wait 1 second send "&aPomyslnie zrespiono Quester ! !" else: send "&cNie posiadasz uprawnien !" arg 1 is "Reset" or "Resetuj": player has permissions "RPGQuest.Reset": send "&aResetuje questy gracza !" wait 3 second set {Quest1.%player%} to false set {Quest2.%player%} to false set {Quest3.%player%} to false set {Quest4.%player%} to false set {Quest5.%player%} to false set {Quest6.%player%} to false set {Quest7.%player%} to false set {Quest8.%player%} to false set {Quest9.%player%} to false set {Quest10.%player%} to false set {Quest11.%player%} to false set {Quest1.wtrakcie.%player%} to false set {Quest2.wtrakcie.%player%} to false set {Quest3.wtrakcie.%player%} to false set {Quest4.wtrakcie.%player%} to false set {Quest5.wtrakcie.%player%} to false set {Quest6.wtrakcie.%player%} to false set {Quest7.wtrakcie.%player%} to false set {Quest8.wtrakcie.%player%} to false set {Quest9.wtrakcie.%player%} to false set {Quest10.wtrakcie.%player%} to false set {Quest11.wtrakcie.%player%} to false set {Stone.%player%} to 0 wait 1 second send "&aQuesty zostaly zresetowane !" else: send "&cNie posiadasz uprawnien !" #=========================================# # # # Koniec # # CusT # # # #=========================================#