summaryrefslogtreecommitdiff
path: root/npc/027-0/enrique.txt
blob: 11bacac9ff2691ee1906ce45b1dd7c2957057940 (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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
// TMW2 Script
// Author:
//  Jesusalva
// Description:
//  Enrique is the headmaster of the Academy

027-0,46,25,0	script	Enrique	NPC_BLACKALCHEMIST,{
    mesn;
    mesq l("Hello. I am Enrique, headmaster of The Academy.");
    mesc l("Your current scholar rank: %s (%s Research Points)",
            academicrank(), fnum(MAGIC_RP));
    if (!MAGIC_LVL)
        close;
    do
    {
        next;
        select
            l("Thanks!"),
            l("What is the Academy?"),
            l("What are Magic Skill Points?"),
            l("What are Research Points"),
            l("What is the Scholar Rank?"),
            l("Who are the most famous scholars?"),
            rif(!ACADEMIC_RANK, l("I would like to enroll!")),
            l("What counts for titulation? Could you give me examples?"),
            rif(getskilllv(TMW2_STUDY) < ACADEMIC_RANK, l("I would like to learn a new skill!"));
        mes "";
        switch (@menu) {
        case 1:
            goodbye();
            break;
        case 2:
            mesn;
            mesq l("The Academy Island is situated east of Land of Fire Village.");
            next;
            mesn;
            mesq l("It was built by The Alliance, and can be accessed by a ship in Tulimshar.");
            next;
            mesn;
            mesq l("As you may be aware, the Magic Council is in Tulim, after all.");
            next;
            mesn;
            mesq l("Here you can find professors, academics and researchers. Feel free to enroll in any class as well.");
            break;
        case 3:
            mesn;
            mesq l("Simply put, they are raw power.");
            next;
            mesn;
            mesq l("There is only so much magical power your body can handle without breaking.");
            next;
            mesn;
            mesq l("By \"breaking\", I do not mean death. It is something worse.");
            next;
            mesn;
            mesq l("How to expand this limit? Well, you'll need to touch a Mana Stone. If you can handle more raw power, your limit will extend.");
            next;
            mesn;
            mesq l("It also increases naturally as you grow, albeit less.");
            next;
            mesn;
            mesq l("Keep in mind, we at the Academy do not have a Mana Stone.");
            break;
        case 4:
            mesn;
            mesq l("Ah, research points (RP). They are knowledge which can be used in honing your skills.");
            next;
            mesn;
            mesq l("You will need a certain amount of them to upgrade any skill, which will be spent and no longer available for use.");
            next;
            mesn;
            mesq l("But the more you use a certain skill, the less research points will be required to upgrade it. And that bonus is permanent.");
            next;
            mesn;
            mesq l("As to how to obtain research points... Randomly when casting, by enrolling in a class with my wife Emma, by studying monsters, and randomly but very rarely with the Professor in Tulimshar.");
            break;
        case 5:
            mesn;
            mesq l("Those with most %s on this world becomes scholars.", "[@@https://wiki.moubootaurlegends.org/|"+l("research")+"@@]");
            next;
            mesn;
            mesq l("Scholars dedicate part of their time so others can learn about the world, and as such, they are always welcome to this Academy.");
            next;
            mesn;
            mesq l("If they enroll, they will become able to study monsters and to visit the Mystical Forest west of here as well.");
            next;
            mesn;
            mesq l("Of course, some get scholarship in honor of the cause or by notable knowledge and prowess; These are a special group not worth mentioning.");
            break;
        case 6:
            HallOfAcademic();
            break;
        case 7:
            mesn;
            mesq l("That is not how things are done here.");
            next;
            mesn;
            mesq l("First, you need to contribute to the common knowledge of this world. Like, write a %s, guide new players or something.", "[@@https://wiki.moubootaurlegends.org/|"+l("Wiki article")+"@@]");
            next;
            mesn;
            mesq l("Then someone of a scholarship rank above your must approve it, and say that your work is enough to the next scholar rank.");
            next;
            mesn;
            mesq l("Naturally, it doesn't have to be a wiki article. But it must be noteworthy to the whole community, and wiki articles are one of the easiest ways for that.");
            next;
            mesn;
            mesq l("For the higher titles, you'll need vouch of multiple people. You can vouch for anyone below your rank with %s but never for someone of same or higher rank.", b("@titulate"));
            next;
            mesn;
            mesq l("Do note that abuse will cause both you and the person you vouched for to be kicked from the Academy! So be mindful with to whom you give titles.");
            next;
            mesn;
            mesq l("Abuse can be determined by your peers or by the grandmasters, so be careful.");
            next;
            mesn;
            mesq l("Otherwise, you can also obtain a title during the Magic Olympics. They happen every three months in average, and are the hardest way to obtain a title.");
            break;
        case 8:
            mesn;
            mesq l("Oh, several things. It depends a bit on what the scholars consider, and the scholars... well, they change.");
            next;
            mesn;
            mesq l("For example, translations do not count. Wiki articles count.");
            next;
            mesn;
            mesq l("Writing/Updating in client-data quests.xml and items.xml with the correct information usually counts as well.");
            next;
            mesn;
            mesq l("But pretty much, anything which contributes to the common knowledge of this world. It might even be writing a NPC telling about the world history, developing software for Wiki/GameInfo/etc., it all depends on the scholars.");
            break;
        case 9:
            mesn;
            mesq l("The study skill allows you to see the exact health a monster have, as well some details.");
            next;
            mesn;
            mesq l("And if you study them well, you'll also gain more Research Points than you would get with other skills.");
            next;
            mesn;
            mesq l("Think on it like a... perk, for having helped the adventurers in this world. I just need to check if you are eligible, hold still.");
            next;
            mesn;
            mesc l("%s takes a paper from his drawer. It has your photo on it.", .name$);
            next;
            mesn;
            mesq l("%s, %s in Magic Arts, Parity Level %d, tier %d mage.", strcharinfo(0), academicrank(), REBIRTH*100+BaseLevel, MAGIC_LVL);
            next;
            if (MAGIC_LVL < (1+getskilllv(TMW2_STUDY))) {
                mesn;
                mesq l("The skill would be wasted on a noob mage like you. Go get more magic power first!");
                break;
            }
            if (REBIRTH*100+BaseLevel < (1+getskilllv(TMW2_STUDY))*50) {
                mesn;
                mesq l("The skill would be wasted on a noob like you. You are weak. Go gain a few levels and then return here.");
                break;
            }
            // TODO: Need X skills learnt or 1M GP.
            .@price = (1+getskilllv(TMW2_STUDY)) * 1000;
            mesn;
            mesq l("Teaching you how to study will take from my time, so I'll want a small compromise of %s GP to make sure you will actually make good use of it.", fnum(.@price));
            if (Zeny < .@price)
                break;
            next;
            mesc l("Pay the tuition fee?"), 1;
            if (askyesno() == ASK_YES) {
                Zeny-=.@price;
                skill TMW2_STUDY, getskilllv(TMW2_STUDY)+1, 0;
                mesn;
                mesq l("Use its powers for good!");
            }
            break;
        }
    } while (@menu != 1);
    close;

OnInit:
    .distance = 4;
    .sex = G_MALE;
    end;
}