summaryrefslogtreecommitdiff
path: root/npc/002-2/imec.txt
blob: dfd7187fc3d7f8becdf03a31a3921cdd0c5d4605 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
002-2,36,75,0	script	Imec	NPC162,{
    @Exp = 90;
    @money = 500;
    @lvl = 10;

    if (QL_IMEC >= 3) goto L_Stingers;
    if (QL_IMEC == 2) goto L_Return;
    if (QL_IMEC == 1) goto L_Bring;

    mes "[Imec]";
    mes "%%9";
    mes "\"The Wizard's Council shut down my shop!";
    mes "Why'd they have to make such a fuss over a little poison?\"";
    next;
    mes "\"Someday, I'm going to get my permit back from those self-righteous snobs!\"";
    next;
    mes "He looks at you.";
    next;
    mes "[Imec]";
    mes "%%D";
    mes "\"Hey... I've got an idea!";
    next;
    mes "I just finished writing an appeal to the Council. If you bring it to the government building near the docks, they might be less... closed-minded.\"";
    goto L_Offer;

L_Offer:
    menu
        "Just tell me how to get there.",L_Explain,
        "I'll do it.",L_Next,
        "No way!",L_close;

L_Next:
    mes "";
    mes "[Imec]";
    mes "\"Great! Here's the appeal.\"";
    mes "Imec gives you a sealed letter, which you store in a safe pocket outside of your inventory.";
    QL_IMEC = 1;
    goto L_close;

L_Explain:
    mes "";
    mes "[Imec]";
    mes "\"Head north until you get to the docks – it's just west of the ferry.\"";
    next;
    mes "\"There are a couple of other offices inside. You can form a party if you want, but don't take too long.\"";
    if (BaseLevel < WEDDING_MIN_LEVEL) mes "\"Once you're older, you can even get married there.\"";
    next;
    mes "\"So... will you submit my appeal for me?\"";
    if (QL_IMEC == 0)
        goto L_Offer;
    goto L_close;

L_Bring:
    mes "[Imec]";
    mes "\"What are you waiting for? I'm not paying you till after the job is done!\"";
    menu
        "Where is it again?",L_Explain,
        "I'm on my way.",L_close;

L_Return:
    mes "[Imec]";
    mes "\"Ah! You're back! How'd it go?\"";
    mes "You hand the letter of acknowledgment over to Imec.";
    next;
    mes "[Imec]";
    mes "\"Great! I'm sure I'll be able to open my shop again soon.\"";
    next;
    mes "It seems as though Imec has lost interest in you already.";
    menu
        "You mentioned a reward...",L_Next1;

L_Next1:
    mes "";
    mes "[Imec]";
    mes "\"What? Oh, right. Here, have this.\"";
    getexp @Exp, 0;
    Zeny = Zeny + @money;
    QL_IMEC = 3;
    next;
    if (BaseLevel >= @lvl)
        goto L_Transition_Stingers;
    if (BaseLevel < @lvl)
        mes "\"Come back to see me once you grow stronger; I might have a job for you later on.\"";
    goto L_close;

L_Transition_Stingers:
    mes "\"Actually, you could be of further use to me.\"";
    next;
    goto L_Stingers;

L_Stingers:
    mes "[Imec]";
    @dq_level = @lvl;
    @dq_cost = 3;
    @dq_count = 3;
    @dq_name$ = "ScorpionStinger";
    @dq_friendly_name$ = "Scorpion Stingers";
    @dq_money = 200;
    @dq_exp = 40;

    callfunc "DailyQuest";
    goto L_close;

L_close:
    @money = 0;
    @dq_level = 0;
    @dq_cost = 0;
    @dq_count = 0;
    @dq_name$ = "";
    @dq_friendly_name$ = "";
    @dq_money = 0;
    @dq_exp = 0;
    @dq_return = 0;
    close;
}