1 | //===== eAthena Script ======================================= |
---|
2 | //= Quest NPCs related to Izlude |
---|
3 | //===== By: ================================================== |
---|
4 | //= Evera and The eAthena Dev Team |
---|
5 | //= L0ne_W0lf |
---|
6 | //===== Current Version: ===================================== |
---|
7 | //= 1.1 |
---|
8 | //===== Compatible With: ===================================== |
---|
9 | //= eAthena SVN |
---|
10 | //===== Description: ========================================= |
---|
11 | //= Edgar's Offer: |
---|
12 | //= - [Aegis conversion] |
---|
13 | //= - Variables in use: MISC_QUEST (Bit 16) |
---|
14 | //===== Additional Comments: ================================= |
---|
15 | //= 1.0 Initial release [Evera] |
---|
16 | //= 1.1 Updated to 10.3 standard. [L0ne_W0lf] |
---|
17 | //============================================================ |
---|
18 | |
---|
19 | // Edgar's Offer |
---|
20 | //============================================================ |
---|
21 | izlude,182,186,2 script Edgar#izlude 49,{ |
---|
22 | if (MISC_QUEST & 16) { |
---|
23 | mes "[Edgar]"; |
---|
24 | mes "So are you heading to Alberta again? Let me give you the same discount and only charge 250 Zeny, just like the last time."; |
---|
25 | mes "How's that sound?"; |
---|
26 | next; |
---|
27 | if (select("Alrighty~!:Why are you being so nice to me?!") == 1) { |
---|
28 | if (Zeny < 250) { |
---|
29 | mes "[Edgar]"; |
---|
30 | mes "Um..."; |
---|
31 | mes "This isn't"; |
---|
32 | mes "enough money."; |
---|
33 | mes "Why don't you go"; |
---|
34 | mes "get some more cash?"; |
---|
35 | close ; |
---|
36 | } |
---|
37 | set zeny,zeny-250; |
---|
38 | warp "alberta",195,164; |
---|
39 | end; |
---|
40 | } |
---|
41 | mes "[Edgar]"; |
---|
42 | mes "It's just the way I am. That, and your devilish smile reminds me of my beloved blond haired son who left home years ago to become a Sailor on his own ship. Bless his soul, wherever he is."; |
---|
43 | close; |
---|
44 | } |
---|
45 | mes "[Edgar]"; |
---|
46 | mes "My town, Izlude, is connected to Alberta by the harbor in the West. There is so much traffic between us, I almost become an Albertian. Hehehe~"; |
---|
47 | next; |
---|
48 | mes "[Edgar]"; |
---|
49 | mes "There's this guy I know pretty well, Phelix, who lives in Alberta. That guy is really stingy... He charges for everything!"; |
---|
50 | next; |
---|
51 | mes "[Edgar]"; |
---|
52 | mes "But he's really a nice guy and likes helping other people. He has a good heart and will give you his support if you meet his price."; |
---|
53 | next; |
---|
54 | mes "[Edgar]"; |
---|
55 | mes "Lately, people in Alberta say that he is really trying to help folks and that his demand for Jellopies is just a coverup. Well, you should take a look at what he has to offer."; |
---|
56 | next; |
---|
57 | if (select("Can you tell me how to get to Alberta?:End Conversation") == 1) { |
---|
58 | mes "[Edgar]"; |
---|
59 | mes "Huh? Well, you can use your feet and just walk. But if you have money, I'd like to suggest that you take a ship."; |
---|
60 | next; |
---|
61 | if (select("Okay, gotcha.:But I'm sick of walking and I'm broke!") == 1) { |
---|
62 | mes "[Edgar]"; |
---|
63 | mes "Alrighty, take care~"; |
---|
64 | close; |
---|
65 | } |
---|
66 | mes "[Edgar]"; |
---|
67 | mes "Okay..."; |
---|
68 | mes "You don't want to walk AND you've got no cash, but you still want to go there? Oh geez..."; |
---|
69 | next; |
---|
70 | mes "[Edgar]"; |
---|
71 | mes "Fine fine. Me, being the captain of a ship, can afford to bring you there at a lower price. How does 250 Zeny sound?"; |
---|
72 | next; |
---|
73 | if (select("Alrighty~!:Bah, what a rip off!!") == 1) { |
---|
74 | set MISC_QUEST,MISC_QUEST | 16; |
---|
75 | if (Zeny < 250) { |
---|
76 | mes "[Edgar]"; |
---|
77 | mes "Um..."; |
---|
78 | mes "This isn't"; |
---|
79 | mes "enough money."; |
---|
80 | mes "Go and get"; |
---|
81 | mes "some more."; |
---|
82 | close; |
---|
83 | } |
---|
84 | set zeny,zeny-250; |
---|
85 | warp "alberta",195,164; |
---|
86 | end; |
---|
87 | } |
---|
88 | mes "[Edgar]"; |
---|
89 | mes "Boy oh boy,"; |
---|
90 | mes "if you think"; |
---|
91 | mes "that's a rip off..."; |
---|
92 | close; |
---|
93 | } |
---|
94 | mes "[Edgar]"; |
---|
95 | mes "Yeah, alright."; |
---|
96 | mes "See you later~"; |
---|
97 | close; |
---|
98 | } |
---|