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

Revision 1, 2.5 kB (checked in by jinshiro, 17 years ago)
RevLine 
[1]1//===== eAthena Script =======================================
2//= Sphinx Mask Quest (custom)
3//===== By: ==================================================
4//= sabernet09 & eAthena Team
5//===== Current Version: =====================================
6//= 1.2
7//===== Compatible With: =====================================
8//= eAthena 7.15 +
9//===== Description: =========================================
10//= this quest is related to Umbalian Chief
11//= 1.1 Removed it from official Umbala quests [Lupus]
12//= 1.2 Added a missing variable (sphmask_q) [erKURITA]
13//============================================================
14
15
16//===========================================================================
17morocc,140,156,5        script  Turban Thief    58,{
18        if(event_umbala < 2) goto AWAY;
19        if(sphmask_q) goto NoBus;
20        mes "[Turban Thief]";
21        mes "E'llo mah frien, would I interesst tu with this rare mask?  Its value I assure you is real mah frien.  Tis manific!";
22        next;
23        mes "[Turban Thief]";
24        mes "Wah? O ho ho ho, so you know thaz I steal dis from those savages no?  Well I won'tz give it back.  But I will for a pricez... wat you say?";
25        next;
26        menu "Pay 1,000,000z",-,"No deal",NoGo;
27
28                if(Zeny < 1000000) goto NotEnough;
29                set Zeny,Zeny-1000000;
30                mes "[Turban Thief]";
31                mes "O ho ho, its a deal then!";
32                getitem 7114,1;//Items: Sphinx Mask,
33                set sphmask_q,1;
34                close;
35
36        NoGo:
37                mes "[Turban Thief]";
38                mes "Ahh a business man are you no?  Fine, how about...";
39                next;
40                menu "Pay 750,000",-,"Nope lower",NoGoB;
41
42                        if(Zeny < 750000) goto NotEnough;
43                        set Zeny,Zeny-750000;
44                        mes "[Turban Thief]";
45                        mes "It is a done deal, no refunds!";
46                        getitem 7114,1;//Items: Sphinx Mask,
47                        set sphmask_q,1;
48                        close;
49                NoGoB:
50                        mes "[Turban Thief]";
51                        mes "Hmmm... you drive a hard bargain, ok... my final offer...";
52                        next;
53                        menu "Pay 500,000",-,"It can go lower than that.",NoGoC;
54
55                                if(Zeny < 500000) goto NotEnough;
56                                set Zeny,Zeny-500000;
57                                mes "[Turban Thief]";
58                                mes "Alright, here you go then...";
59                                getitem 7114,1;//Items: Sphinx Mask,
60                                set sphmask_q,1;
61                                close;
62                        NoGoC:
63                                next;
64                                mes "[Turban Thief]";
65                                mes "Ack!  Forgez it!  I can do bettaz en elsez where!";
66                                set sphmask_q,1;
67                                close;
68        NoBus:
69                mes "[Turban Thief]";
70                mes "You have no more business with me, go away!";
71                close;
72        AWAY:
73                mes "[Turban Thief]";
74                mes "What do you wan te withz me?  Be gone!";
75                close;
76        NotEnough:
77                mes "[Turban Thief]";
78                mes "Are youz playin wit me?  You don't have ze money!";
79                close;
80}
Note: See TracBrowser for help on using the browser.