Jump to content

Horse upgrade quest problem


Recommended Posts

Hello community today i decided to seek for help in this forum i believe i will be able to understand some tips since im not a total newbie in metin2 server developing anymore so here is my problem: i changed the horse_upgrade.quest of my quest folder in the server files and now the Stable Boy does not show the title in his menu. I have runned the make.sh before rebooting and since i translated the script in greek i have done all the necessary spaces in the end of all the lines but still nothing. I dont know what to do the script seems pretty correct to me so if anyone knows what may be wrong please help me thank you :)

Here is the script:

quest horse_levelup begin
        state start begin
              when 20349.chat."Θέλω να αναβαθμήσω το άλογό μου " and horse.get_level()==1 begin
			say_title("Σταβλίτης: ")
			say("")
			say("Για να αναβαθμήσεις το Κανονικό Άλογό σου σε Πολεμικό ")
			say("Άλογο, θα χρειαστείς ένα Μετάλλιο Αλόγου και την Εικόνα ")
			say("Αλόγου σου. Ωραία, έχεις ότι χρειάζεσαι! Ορίστε το νέο ")
			say("αντικείμενο κλήσης ίππου σου. Το άλογό σου είναι τώρα ")
			say("Πολεμικό! ")
			say("")
			pc.set_skill_level (130,11)
                        pc.removeitem("50050", 1)
                        pc.removeitem("50051", 1)
                        pc.give_item2("50052", 1)
			elseif pc.get_level() <= 35 then
			say_title("Σταβλίτης: ")
			say("")
			say("Για να μπορέσεις να ιππεύσεις Πολεμικό Άλογο, το επίπεδό ")
			say("σου θα πρέπει να είναι 35 και πάνω. ")
			say("")
			elseif pc.countitem("50050")<1 then
			say_title("Σταβλίτης: ")
			say("")
			say("Δεν έχεις Μετάλλιο Αλόγου. Χρειάζομαι το Μετάλλιο Αλόγου ")
			say("για να καταγράψω επάνω ορισμένα στοιχεία. Μπορείς να ")
			say("αγοράσεις από το κατάστημα, ή να ψάξεις στην Εύκολη ")
			say("Κατακόμβη των Μαϊμούδων. ")
			say("")
			elseif pc.countitem("50051")<1 then
			say_title("Σταβλίτης: ")
			say("")
			say("Δεν έχεις την Εικόνα Αλόγου σου! Αγόρασε μια άλλη από ")
			say("το κατάστημα και ξαναπροσπάθησε. ")
			say("")
			elseif horse.get_stamina_pct()<=10 then
			say_title("Σταβλίτης: ")
			say("")
			say("Το άλογό σου δεν έχει αρκετή αντοχή. Δοκίμασε όταν θα ")
			say("είναι πιο ξεκούραστο. ")
			say("")
			elseif horse.get_health_pct()<=10 then
			say_title("Σταβλίτης: ")
			say("")
			say("Το άλογό σου είναι πεινασμένο! Τάισε το και ξαναπροσπάθησε. ")
			say("")
			elseif horse.is_riding()==0 then
			say_title("Σταβλίτης: ")
			say("")
			say("Κατέβα πρώτα από το άλογό σου και ξαναπροσπάθησε. ")
			say("")
                        end
                end
        end
end

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.