1 | //===== eAthena Script ======================================= |
---|
2 | //= Valhallen items Quests NPC |
---|
3 | //===== By: ================================================== |
---|
4 | //= Avaji |
---|
5 | //===== Current Version: ===================================== |
---|
6 | //= 1.0 |
---|
7 | //===== Compatible With: ===================================== |
---|
8 | //= eAthena 7.15 + |
---|
9 | //===== Description: ========================================= |
---|
10 | //= All-in-one: Mjollnir,Sleipnir,Brisingammen,Gleipnir,Megingjard |
---|
11 | //===== Additional Comments: ================================= |
---|
12 | //= Custom quest, ingredients based on official RO FAQ |
---|
13 | //============================================================ |
---|
14 | |
---|
15 | prontera,147,171,5 script Lenneth 811,{ |
---|
16 | mes "[Lenneth]"; |
---|
17 | mes "I come from Valhalla to aid you."; |
---|
18 | mes "I can transmute for you many of the Valhallen items."; |
---|
19 | mes "Although they require many rare elements to make."; |
---|
20 | next; |
---|
21 | mes "[Lenneth]"; |
---|
22 | mes "What would you like?"; |
---|
23 | next; |
---|
24 | menu "Mjollnir",-,"Sleipnir",L_SLE,"Brisingammen",L_BRI,"Gleipnir",L_GLE,"Megingjard",L_MEG; |
---|
25 | |
---|
26 | mes "[Lenneth]"; |
---|
27 | mes "^3355FFMjollnir^000000 is the mighty Hammer of Thor."; |
---|
28 | mes "The items I need to transmute 2 ^3355FFSpanners^000000 into ^3355FFMjollnir^000000 are as follows:"; |
---|
29 | mes "20 ^3355FFOridecon^000000 5 ^3355FFElunium^000000 and 40 ^3355FFGold^000000"; |
---|
30 | mes "I also need the following essences:"; |
---|
31 | mes "2 ^3355FFThor's Guntlet^000000"; |
---|
32 | mes "4 ^3355FFIron Maiden^000000"; |
---|
33 | mes "5 ^3355FFWrath of Valkyrie^000000"; |
---|
34 | mes "5 ^3355FFBreath of Soul^000000"; |
---|
35 | mes "5 ^3355FFOmen of tempest^000000"; |
---|
36 | next; |
---|
37 | mes "[Lenneth]"; |
---|
38 | mes "Do you desire ^3355FFMjollnir^000000?"; |
---|
39 | next; |
---|
40 | menu "Yes",-,"No",L_OUT; |
---|
41 | |
---|
42 | if(countitem(984) < 20 || countitem(985) < 5 || countitem(969) < 40 || countitem(1531) < 2 || countitem(7089) < 5 |
---|
43 | || countitem(7074) < 2 || countitem(7075) < 4 || countitem(7078) < 5 || countitem(7087) < 5) goto L_NOTENOUGH; |
---|
44 | |
---|
45 | delitem 984,20; |
---|
46 | delitem 985,5; |
---|
47 | delitem 969,40; |
---|
48 | delitem 1531,2; |
---|
49 | delitem 7074,2; |
---|
50 | delitem 7075,4; |
---|
51 | delitem 7078,5; |
---|
52 | delitem 7087,5; |
---|
53 | delitem 7089,5; |
---|
54 | |
---|
55 | getitem 1530,1; |
---|
56 | |
---|
57 | mes "[Lenneth]"; |
---|
58 | mes "Here is your ^3355FFMjollnir^000000, may it serve you well."; |
---|
59 | close; |
---|
60 | L_SLE: |
---|
61 | |
---|
62 | mes "[Lenneth]"; |
---|
63 | mes "^3355FFSleipnir^000000 are boots made after Odin's War Horse."; |
---|
64 | mes "To be able to transmute 2 ^3355FFBoots^000000 into ^3355FFSleipnir^000000 I will need:"; |
---|
65 | mes "1 ^3355FFOridecon^000000 10 ^3355FFElunium^000000 and 20 ^3355FFGold^000000"; |
---|
66 | mes "I also need the following essences:"; |
---|
67 | mes "3 ^3355FFWheel of the Unknown^000000"; |
---|
68 | mes "5 ^3355FFFeather of Angel^000000"; |
---|
69 | mes "3 ^3355FFSprirt of Fish^000000"; |
---|
70 | mes "3 ^3355FFEmblem of the Sun God^000000"; |
---|
71 | next; |
---|
72 | mes "[Lenneth]"; |
---|
73 | mes "Do you desire ^3355FFSleipnir^000000?"; |
---|
74 | next; |
---|
75 | menu "Yes",-,"No",L_OUT; |
---|
76 | |
---|
77 | if(countitem(969) < 20 || countitem(985) < 10 || countitem(984) < 1 || countitem(2406) < 2 || countitem(7076) < 3 |
---|
78 | || countitem(7079) < 5 || countitem(7083) < 3 || countitem(7086) < 3) goto L_NOTENOUGH; |
---|
79 | |
---|
80 | delitem 969,20; |
---|
81 | delitem 985,10; |
---|
82 | delitem 984,1; |
---|
83 | delitem 2406,2; |
---|
84 | delitem 7076,3; |
---|
85 | delitem 7079,5; |
---|
86 | delitem 7083,3; |
---|
87 | delitem 7086,3; |
---|
88 | |
---|
89 | getitem 2410,1; |
---|
90 | |
---|
91 | mes "[Lenneth]"; |
---|
92 | mes "Here is your ^3355FFSleipnir^000000, may they help you."; |
---|
93 | close; |
---|
94 | L_BRI: |
---|
95 | |
---|
96 | mes "[Lenneth]"; |
---|
97 | mes "^3355FFBrisingammen^000000 is the magical Necklace of Freyja, goddess of Beauty."; |
---|
98 | mes "The items I need to transmute a ^3355FFNecklace^000000 into ^3355FFBrisingammen^000000 are as follows:"; |
---|
99 | mes "2 ^3355FFSapphire^000000 3 ^3355FFPearl^000000 10 ^3355FFOpal^000000"; |
---|
100 | mes "5 ^3355FFRuby^000000 and 20 ^3355FFGold^000000"; |
---|
101 | mes "I also need the following essences:"; |
---|
102 | mes "4 ^3355FFFreya's Jewel^000000"; |
---|
103 | mes "4 ^3355FFSilver Ornament^000000"; |
---|
104 | mes "3 ^3355FFSnow Crystal^000000"; |
---|
105 | mes "3 ^3355FFQuiet Wave^000000"; |
---|
106 | mes "3 ^3355FFDrifting Air^000000"; |
---|
107 | next; |
---|
108 | mes "[Lenneth]"; |
---|
109 | mes "Do you desire ^3355FFBrisingammen^000000?"; |
---|
110 | next; |
---|
111 | menu "Yes",-,"No",L_OUT; |
---|
112 | |
---|
113 | if(countitem(969) < 20 || countitem(723) < 5 || countitem(727) < 10 || countitem(722) < 3 || countitem(726) < 2 |
---|
114 | || countitem(7090) < 3 || countitem(7088) < 3 || countitem(7077) < 4 || countitem(7073) < 4 || countitem(2603) < 1 |
---|
115 | || countitem(7092) < 3) goto L_NOTENOUGH; |
---|
116 | |
---|
117 | delitem 726,2; |
---|
118 | delitem 722,3; |
---|
119 | delitem 727,10; |
---|
120 | delitem 723,5; |
---|
121 | delitem 969,20; |
---|
122 | delitem 2603,1; |
---|
123 | delitem 7073,4; |
---|
124 | delitem 7077,4; |
---|
125 | delitem 7088,3; |
---|
126 | delitem 7090,3; |
---|
127 | delitem 7092,3; |
---|
128 | |
---|
129 | getitem 2630,1; |
---|
130 | |
---|
131 | mes "[Lenneth]"; |
---|
132 | mes "Here is ^3355FFBrisingammen^000000, may it serve you well."; |
---|
133 | close; |
---|
134 | L_GLE: |
---|
135 | |
---|
136 | mes "[Lenneth]"; |
---|
137 | mes "The ^3355FFGleipnir^000000 is a light yet strong rope required to make ^3355FFMegingjard^000000"; |
---|
138 | mes "I will need the following essences to transmute ^3355FFGleipnir^000000:"; |
---|
139 | mes "4 ^3355FFTread of Cat^000000"; |
---|
140 | mes "5 ^3355FFWoman's Moustache^000000"; |
---|
141 | mes "4 ^3355FFStone Fragment^000000"; |
---|
142 | mes "3 ^3355FFSaliva of Bird^000000"; |
---|
143 | mes "3 ^3355FFSinew of Bear^000000"; |
---|
144 | next; |
---|
145 | mes "[Lenneth]"; |
---|
146 | mes "Do you desire ^3355FFGleipnir^000000?"; |
---|
147 | next; |
---|
148 | menu "Yes",-,"No",L_OUT; |
---|
149 | |
---|
150 | if(countitem(7085) < 3 || countitem(7084) < 3 || countitem(7082) < 4 || countitem(7081) < 5 || countitem(7080) < 4) goto L_NOTENOUGH; |
---|
151 | |
---|
152 | delitem 7080,4; |
---|
153 | delitem 7081,5; |
---|
154 | delitem 7082,4; |
---|
155 | delitem 7084,3; |
---|
156 | delitem 7085,3; |
---|
157 | |
---|
158 | getitem 7058,1; |
---|
159 | |
---|
160 | mes "[Lenneth]"; |
---|
161 | mes "Here is your ^3355FFGleipnir^000000."; |
---|
162 | close; |
---|
163 | L_MEG: |
---|
164 | |
---|
165 | mes "[Lenneth]"; |
---|
166 | mes "The ^3355FFMegingjard^000000 is the powerful Belt of Thor."; |
---|
167 | mes "To transmute a ^3355FFBelt^000000 into ^3355FFMegingjard^000000 I will need the following:"; |
---|
168 | mes "10 ^3355FFGold^000000 10 ^3355FFSapphire^000000"; |
---|
169 | mes "5 ^3355FFOridecon^000000 and 1 ^3355FFGleipnir^000000"; |
---|
170 | next; |
---|
171 | mes "[Lenneth]"; |
---|
172 | mes "Do you desire ^3355FFMegingjard^000000?"; |
---|
173 | next; |
---|
174 | menu "Yes",-,"No",L_OUT; |
---|
175 | |
---|
176 | if(countitem(2627) < 1 || countitem(984) < 5 || countitem(726) < 10 || countitem(969) < 10 || countitem(7058) < 1) goto L_NOTENOUGH; |
---|
177 | |
---|
178 | delitem 7058,1; |
---|
179 | delitem 969,10; |
---|
180 | delitem 726,10; |
---|
181 | delitem 984,5; |
---|
182 | delitem 2627,1; |
---|
183 | |
---|
184 | getitem 2629,1; |
---|
185 | |
---|
186 | mes "[Lenneth]"; |
---|
187 | mes "Here is ^3355FFMegingjard^000000, may it serve you well."; |
---|
188 | close; |
---|
189 | L_NOTENOUGH: |
---|
190 | mes "[Lenneth]"; |
---|
191 | mes "You are lacking a few items, please return when you have them."; |
---|
192 | close; |
---|
193 | L_OUT: |
---|
194 | mes "[Lenneth]"; |
---|
195 | mes "Please return when you change your mind."; |
---|
196 | close; |
---|
197 | } |
---|