diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-12 03:55:38 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-12 03:55:38 -0300 |
commit | 8586a2ddff7f8c56c2836646b7ae83655bd28de5 (patch) | |
tree | 39de1bfd540ef208c0bb880c1413aa4143e7c441 /npc/00000SAVE/EPISODE | |
parent | 125c93a03d1fcb89f5ecf81287d3f680cad5b0e0 (diff) | |
download | serverdata-8586a2ddff7f8c56c2836646b7ae83655bd28de5.tar.gz serverdata-8586a2ddff7f8c56c2836646b7ae83655bd28de5.tar.bz2 serverdata-8586a2ddff7f8c56c2836646b7ae83655bd28de5.tar.xz serverdata-8586a2ddff7f8c56c2836646b7ae83655bd28de5.zip |
Bring all LoF unique scripts temporary to npc/0000SAVE folder
Diffstat (limited to 'npc/00000SAVE/EPISODE')
-rw-r--r-- | npc/00000SAVE/EPISODE/009-2_drwho.txt | 129 | ||||
-rw-r--r-- | npc/00000SAVE/EPISODE/020-2_miler.txt | 56 |
2 files changed, 185 insertions, 0 deletions
diff --git a/npc/00000SAVE/EPISODE/009-2_drwho.txt b/npc/00000SAVE/EPISODE/009-2_drwho.txt new file mode 100644 index 000000000..71bf31be2 --- /dev/null +++ b/npc/00000SAVE/EPISODE/009-2_drwho.txt @@ -0,0 +1,129 @@ + +009-2.gat,110,44,0 script The Doctor NPC184,{ + if (BaseLevel < 25) goto L_Lvl_too_low; + + if (QUEST_Episode == 1) goto L_Check; + if (QUEST_Episode == 2 && BaseLevel >= 40) goto L_Miler; + if (QUEST_Episode >= 2) goto L_Redo_tea; + + mes "[The Doctor]"; + mes "\"Quite interesting, quite interesting indeed.\""; + menu + "Um, might I ask, what is so interesting?", L_Intro; + +L_Intro: + mes "[The Doctor]"; + mes "\"Well, you are. You're quite interesting. I've been watching you for some time now, as you've been helping so many people: you're quite a master at what you do, you know.\""; + menu + "Well, thanks.", L_IntroContinue; + +L_IntroContinue: + mes "[The Doctor]"; + mes "\"I don't suppose you have some herbs and a few bottles of water with you, do you?\""; + menu + "'Some herbs and water'? Could you be more specific?", L_IntroSpecify; + +L_IntroSpecify: + mes "[The Doctor]"; + mes "\"Ah, sorry, of course. I need 50 mauve herbs, 50 cobalt herbs, 50 gamboge herbs, 50 alizarin herbs and 10 bottles of water as well.\""; + menu + "That shouldn't been too hard, but do I get something in return?", L_IntroReward; + +L_IntroReward: + mes "[The Doctor]"; + mes "\"I suppose, what would you like?"; + mes "Er, nevermind, I've thought of something to give you. You can go off now and get what I need.\""; + QUEST_Episode = 1; + goto L_close; + +L_Lvl_too_low: + mes "[The Doctor]"; + mes "\"Hmm, it's very interesting, very ... (mumbling).\""; + goto L_close; + +L_Miler: + mes "[The Doctor]"; + mes "\"Thank you for helping me make my tea. I hope the potions have been helpful..."; + mes "That reminds me. I have a friend in Nivalis named Miler who gave me some hints on the recipe. Would you take him a sample of what I gave you?"; + mes "If you've used all the ones I've given, you can always bring me more ingredients.\""; + QUEST_Episode = 3; + menu + "I'll go right away.", L_close, + "Ah, I suppose I need to gather more ingredients first...", L_close, + "Oh, I have some more ingredients right here!", L_Check3; + +S_Tea_Check: + if (countitem("MauveHerb") < 50 || countitem("CobaltHerb") < 50 || + countitem("GambogeHerb") < 50 || countitem("AlizarinHerb") < 50 || + countitem("BottleOfWater") < 10) set @failed, 1; + if (@failed != 1) goto S_Take_Items; + return; + +S_Take_Items: + delitem "MauveHerb", 50; + delitem "CobaltHerb", 50; + delitem "GambogeHerb", 50; + delitem "AlizarinHerb", 50; + delitem "BottleOfWater", 10; + return; + +L_Check: + callsub S_Tea_Check; + if (@failed == 1) goto L_NotEnough; + + mes "[The Doctor]"; + mes "\"Mmm, it's been so long since I have had herbal tea. You have my gratitude.\""; + menu + "Seriously? What sort of reward is that?", L_Get_Reward; + +L_Check2: + callsub S_Tea_Check; + if (@failed == 1) goto L_NotEnough; + + getitem "DarkConcentrationPotion", 5; + mes "[The Doctor]"; + mes "\"Thanks, enjoy!\""; + goto L_close; + +L_Check3: + callsub S_Tea_Check; + if (@failed == 1) goto L_NotEnough; + + mes "[The Doctor]"; + mes "\"Remember to save one for Miler!\""; + getitem "DarkConcentrationPotion", 5; + goto L_close; + +L_Get_Reward: + mes "[The Doctor]"; + mes "\"Well, I suppose you can have what's left of my tea.\""; + getitem "DarkConcentrationPotion", 5; + QUEST_Episode = 2; + menu + "Oh, thank you!", L_close; + +L_Redo_tea: + mes "[The Doctor]"; + mes "\"If you want, you can bring me some more of those herbs and water.\""; + menu + "Alright, I have them here!", L_Check2, + "Can you remind me what I need to get again?", L_Remind, + "No thanks, see ya!", L_close; + +L_Remind: + mes "[The Doctor]"; + mes "\"Ah, sorry, of course, I need 50 mauve herbs, 50 cobalt herbs, 50 gamboge herbs, 50 alizarin herbs and 10 bottles of water.\""; + goto L_close; + +L_NotEnough: + @failed = 0; + + mes "[The Doctor]"; + mes "\"Sorry, you do not have enough ingredients. You'd better search thoroughly.\""; + menu + "Can you remind me what I need to get?", L_Remind, + "Ok, I'll go find what you need.", L_close; + +L_close: + close; +} diff --git a/npc/00000SAVE/EPISODE/020-2_miler.txt b/npc/00000SAVE/EPISODE/020-2_miler.txt new file mode 100644 index 000000000..e1bb52ab7 --- /dev/null +++ b/npc/00000SAVE/EPISODE/020-2_miler.txt @@ -0,0 +1,56 @@ +// IMPORTANT: This NPC was never finished :o We must finish it, please follow +// directives stated on http://forums.landoffire.org/viewtopic.php?f=7&t=1320&sid=80d2c735b55ccb06a39955a8fbca3913 +020-2.gat,100,28,0 script Miler NPC100,{ + if (QUEST_Episode >= 18) goto L_Episode_Thank; + if (QUEST_Episode >= 4) goto L_Episode_AskBoxes; + if (QL_WELL == 2 && QUEST_Episode == 3) goto L_Episode_Start; + + mes "[Miler]"; + mes "\"Hello!\""; + + if (QL_WELL == 1) goto L_Well_Menu; + + goto L_close; + +L_Well_Menu: + menu + "Hello.", L_close, + "Hello, Can you help me?", L_Well_Help; + +L_Well_Help: + mes "[Miler]"; + mes "\"What's the problem?\""; + menu "Someone fell into the well.", L_Well_Finish; + +L_Well_Finish: + mes "[Miler]"; + mes "\"Ho! I'll help him!\""; + getexp (BaseLevel * 111), 0; + QL_WELL = 2; + goto L_close; + +L_Episode_Start: + mes "[Miler]"; + mes "\"Oh dear, oh dear, where could I have possibly left it?!\""; + menu + "What are you looking for?", L_Episode_Looking, + "Uh, bye.", L_close; + +L_Episode_Looking: + mes "[Miler]"; + mes "\"My ring! My one precious golden ring, oh where, oh where could it be...."; + next; + mes "How could I lose it, how could I lose it, how could I lose it...\""; + if (countitem("DarkConcentrationPotion") == 0) goto L_close; + +L_Episode_AskBoxes: + mes "[Miler]"; + +L_Episode_Thank: + mes "[Miler]"; + mes "\"Thank you so much for finding my precious ring!\""; + goto L_close; + +L_close: + close; +} |