root/npc/custom/quests/magicalhatquest.txt @ 1

Revision 1, 2.0 kB (checked in by jinshiro, 17 years ago)
RevLine 
[1]1//===== eAthena Script =======================================
2//= Wizard Hat Custom Quest
3//===== By: ==================================================
4//= Who
5//===== Current Version: =====================================
6//= 1.1
7//===== Compatible With: =====================================
8//= eAthena
9//===== Description: =========================================
10//= Wizard Hat quest. Harmless, doesn't screw game balance.
11//===== Additional Comments: =================================
12//= 1.1 Reversed ingreadients and the quest result due to
13//=     treasue boxes drops fix [Lupus]
14//============================================================
15
16geffen,126,107,5        script  Wizard Hat Dude 51,{
17        mes "[Wizard Hat Dude]";
18        mes "Huh! What do you want?";
19        mes "Ohh, I see, you want me to make you something.";
20        emotion e_what;
21        next;
22        mes "[Wizard Hat Dude]";
23        mes "Well if you want this Wizard Hat here is a list of the items I need you to go out and get them for me:";
24        mes "1 Magican Hat";
25        mes "1 Bathory Card";
26        mes "and 200,000z for my efforts";
27        next;
28        mes "[Wizard Hat Dude]";
29        mes "Are you ready for me to make this magical item?";
30        next;
31        menu "Sure am!",-,"These requirements are unfathomable!",M_RIPOFF;
32
33        mes "[Wizard Hat Dude]";
34        if(countitem(5045) < 1 || countitem(4119) < 1 || Zeny < 200000) goto L_NotEnough;
35        delitem 5045,1;
36        delitem 4119,1;
37        set Zeny,Zeny-200000;
38        mes "Wow!  You are brave indeed!";
39        emotion e_no1;
40        next;
41        mes "[Wizard Hat Dude]";
42        mes "Enjoy your Wizard Hat!";
43        getitem 2252,1;
44        close;
45
46L_NotEnough:
47        mes ". . .I'm sorry .. You don't have enough money and items ..";
48        mes "I can't afford to make this if you don't bring all materials needed.  Please understand this is to benefit heroes such as yourself!";
49        emotion e_sry;
50        close;
51
52M_RIPOFF:
53        mes "[Wizard Hat Dude]";
54        mes "What I had to go through was more unfathomable..";
55        mes "If you succeed in getting these items, you will have incredible strength!";
56        emotion e_hmm;
57        close;
58}
Note: See TracBrowser for help on using the browser.