From 3d0823d5c9b56be5c3892c0a4e717f961cb93e69 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 1 Jun 2011 15:27:26 -0600 Subject: Change the Converter to use different folder names And update everything to use it. --- npc/001-1/mikhail.txt | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 npc/001-1/mikhail.txt (limited to 'npc/001-1/mikhail.txt') diff --git a/npc/001-1/mikhail.txt b/npc/001-1/mikhail.txt new file mode 100644 index 00000000..6514c07d --- /dev/null +++ b/npc/001-1/mikhail.txt @@ -0,0 +1,68 @@ +// + +001-1.gat,50,46,0 script Mikhail 120, { + if (TMW_Quest >= 6) goto L_Done; + if (TMW_Quest == 5) goto L_Progress; + if (TMW_Quest == 4) goto L_Start; + if (TMW_Quest < 4) goto L_Convince_Mikhail_First; + + // If this happens, something is wrong with the above case handling. + mes "Mikhail looks confused."; + close; + +L_Convince_Mikhail_First: + mes "[Mikhail]"; + mes "\"Hello...\""; + mes ""; + mes "It seems that the boy would like to say more, but does not dare to open up to you. Maybe you should help someone else first, so that he sees your intentions are good."; + close; + +L_Start: + mes "[Mikhail]"; + mes "\"My grandma sent me to get five [Maggot Slime]s from the maggots in the desert, but they scare me so bad!\""; + next; + mes "\"You look like a nice person. Would you go get them for me?\""; + menu + "Of course, I'll go get them for you.", L_accept, + "I've got other things to do right now.", L_close; + close; + +L_close: + close; + +L_accept: + mes "[Mikhail]"; + mes "\"Thank you so much! I'll wait for you here.\""; + set TMW_Quest, 5; + close; + +L_Progress: + mes "[Mikhail]"; + mes "\"Did you bring me the five [Maggot Slime]s i need?\""; + next; + menu + "Yes, here they are, kiddo!", L_try, + "Not yet, but I'll be back soon.", L_close; + close; + +L_try: + if countitem("MaggotSlime") >= 5 goto L_get; + mes "[Mikhail]"; + mes "\"It doesn't look like you have them all...\""; + close; + +L_get: + delitem "MaggotSlime", 5; + set TMW_Quest, 6; + mes "[Mikhail]"; + mes "\"Ooh! Thank you so much! I can get back to my grandma now!\""; + next; + getexp 100, 0; + mes "You get 100 xp."; + close; + +L_Done: + mes "[Mikhail]"; + mes "\"Thanks again for helping me get those [Maggot Slime]s!\""; + close; +} -- cgit v1.2.3-70-g09d2