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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
|
// Evol/TMW2ML/TMWBR scripts.
// Authors:
// Ernando <ernando.quirino@hotmail.com>
// Lunovox <rui.gravata@gmail.com>
// Jesusalva <supremo@brasil.byethost22.com>
// Toams
// Objective: Complete Tutorial about Evol/Hercules mechanics
// License: GPL v3
001-2-5,34,32,0 script #EvolTutorial NPC_NO_SPRITE,{
function read_book {
setnpcdialogtitle l(.book_name$);
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("This book contains the knowledge collected by ukars about how the world works.");
@menu = 0; // reset for the rif
do
{
narrator S_NO_NPC_NAME,
l("Please select a chapter:");
mes "";
select
rif(@menu == 1, "► ") + l("Ch 1 — How to make money."),
rif(@menu == 2, "► ") + l("Ch 2 — Everything about monsters."),
rif(@menu == 3, "► ") + l("Ch 3 — Quests."),
rif(@menu == 4, "► ") + l("Ch 4 — Status."),
rif(@menu == 5, "► ") + l("Ch 5 — NPC's."),
rif(@menu == 6, "► ") + l("Ch 6 — Magic."),
rif(@menu == 7, "► ") + l("Ch 7 — Rules."),
rif(@menu == 8, "► ") + l("Ch 8 — Weather & Seasons."),
rif(@menu == 9, "► ") + l("Ch 9 — Experience."),
rif(@menu == 10, "► ") + l("Ch 10 — How I see my items?"),
rif(@menu == 11, "► ") + l("Ch 11 — How trade with other players?"),
rif(@menu == 12, "► ") + l("Ch 12 — How hunt monsters?"),
rif(@menu == 13, "► ") + l("Ch 13 — How talk with someone?"),
rif(@menu == 14, "► ") + l("Ch 14 — Change your appearing."),
rif(@menu == 15, "► ") + l("Ch 15 — Commands."),
rif(@menu == 16, "► ") + l("Ch 16 — Shortcuts.");
switch (@menu) {
case 1:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("Merchants like to buy body parts of killed monsters and animals because they can make items and equipment."),
l("Some others also like to buy them to keep as trophies. Either way, you can make some money with that."),
l("You must find someone willing to buy, they usually will buy almost anything you have, even items which cannot be replaced, so be careful."),
l("You must \"add\" the items you plan on selling, and then press \"sell\" to confirm. You'll have this time to review."),
l("Some, but not all, from the rare or non-replaceable items will have a warning when you try to sell them."),
l("You can also make money %s. Nobody pays better than people in need of help.", b(l("by doing quests")));
break;
case 2:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("Monsters are everywhere. They're a plague we're trying to get rid of."),
l("There are three types of monsters: the aggressive, the neutral, and the collaborative."),
l("Aggressors always know when they are in danger! Therefore, they are always on standby, attacking anyone who appears ahead."),
l("Neutral monsters do not have such a sense of danger."),
l("They will not attack anyone unless they are attacked first."),
l("Normally, collaborative monsters behave like neutral monsters. Unless someone of the same species is in danger, at which point they all take an aggressive stance against the aggressor."),
l("It's always good to see if you have a lot of them around before you think about attacking one!"),
l("Also, most monsters get enraged and will attack whoever is closest to them, regardless of anything else."),
l("Not all monsters will do this, but most will. So if you see a monster running after a player and you stand in the way..."),
l("...It'll most likely attack you, instead."),
l("One last thing to keep in mind... If you are surrounded, you'll suffer an agility and defense penalty."),
l("But if you and other players surrounds the monster instead, they'll suffer the same penalties!"),
l("Any boss which was previously unhittable, can be hit with appropriate number of attackers.");
break;
case 3:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("There are people in the world who need help!"),
l("Most of these people will not think twice before giving a nice reward to anyone who helps them."),
l("So be nice and help people along the way!"),
l("Usually, they'll have an exclamation mark over their heads. But some quests are hidden, so talk to people and have fun!");
break;
case 4:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("People vary greatly in the amount of strength, agility, dexterity, intelligence, vitality and luck."),
l("%s helps you carry more items and also gives you a more forceful blow, but ends up not being very interesting if you focus on weapons that use projectiles, such as the bow.", b(l("Strength"))),
l("Greater %s allows you to attack faster and has a greater chance of evading attacks.", b(l("agility"))),
l("Your %s determines your ability to hit monsters and is valuable to players who prefer weapons that use projectiles.", b(l("dexterity"))),
l("%s determines how many blows you can take before you die. It also affects status effects, like poison.", b(l("Vitality"))),
l("%s is very useful for alchemy and magic, but nowadays there are few opportunities to use it.", b(l("Intelligence"))),
l("Your %s determines several small things, including critical attacks, but DOES NOT affect drop rates.", b(l("luck"))),
l("A critical hit deals added damage and disregards defense. A critical always hit, although it can be blocked just fine."),
l("On a side note, more defense is always good, but the damage won't decrease on the same rate that defense raises."),
l("Also note that if you are in overweight, your natural regen will halt. 90% in weight, and you won't be able to attack."),
l("I recommend that you train your agility a great deal, since most monsters out there aren't really amazing at hitting you."),
l("For now do not take too much time to work on your intelligence, after all, magic use is very restricted nowadays."),
l("You can allocate point on those attributes every time you level up."),l("There's also a job level, which produces green sparkles when you level it."),
l("Job Level and certain equips can affect your status. You'll see the modifiers with a + sign."),
l("Do note that Job Level gives you skill points, and the status bonuses are really minor.");
break;
case 5:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("NPC's or non-playable characters are characters that are always in the game, offering a wide variety of reactions, from a simple friendly conversation to a desperate request for help."),
l("%s People usually doesn't shout, they talk. Because this, if you are too far, an NPC won't hear you.",b(l("IMPORTANT:"))),
l("When this is the case, you should get closer to the NPC, until they hear you."), l("If you are above the NPC and they still doesn't hear you, this mean they are deaf - you should report this!");
break;
case 6:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("Magic was banned for lore reasons? Seriously, after the mana war, only small tricks are allowed."),
l("It was heard about some adventurers whom obtained and use advanced magic, but that is still seen with bad eyes.");
break;
case 7:
mes "";
callfunc "GameRules";
break;
case 8:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
/*
// TODO: Implement Day/Night Cycle
mes l("First of, there's a day/night cycle on the game.");
if (is_night())
mes l("It's currently night, that's why Candor is dark.");
else
mes l("It's currently day, but when night falls, Candor will become darker.");
next;
mes l("During night, the monsters usually respawn faster. That can be a problem with aggressive monsters.");
mes l("I also hear fisherman likes to fish at night. They say the catch is bigger, if you understand me.");
next;
*/
/*
// TODO: Implement Weather Cycle
mes l("There's also weather, meaning it can rain, snow, or even happen a sandstorm. They are usually cosmetic, but...");
mes l("...who knows if there isn't a secret in that?");
next;
*/
/*
// TODO: Implement Season Cycle
mes l("Besides this, there is Seasons. You know, summer, autumn, winter and spring.");
mes l("Each season unlocks a set of quests and drops which can only be obtained on the season.");
next;
mes l("Think on Season Quests as a yearly quest which you have three months to do.");
mes l("We follow north hemisphere seasons in case you're wondering.");
next;
*/
// We commented everything so we need something here
l("There is no day/night, weather, or season cycle in TMW yet.");
break;
case 9:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("Experience can be gained by completing quests and killing monsters. When you accumulate enough experience, you'll level up!"),
l("Each level up will buff your base stats, and give you stats points to allocate."),
l("There's also a job level, which produces green sparkles when you level it."),
l("Job Level and certain equips can affect your status. You'll see the modifiers with a + sign.");
/*
// TODO: Evol doesn't have experience per mob level adjustment yet, nor have @monsterinfo for all players
mes l("Also, you'll get more experience by killing monsters stronger than you, and less experience by killing monsters weaker than you.");
mes l("You can find out the monster strength by using \"@monsterinfo <English Monster Name>\". Check the level in it!");
next;
*/
break;
case 10:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("You can see all your equipment by pressing the F3 key."),
l("To equip or unequip an item, select it and press the 'Equip' or 'Unequip' button. You can not 'Equip' or 'Unequip' when talking to someone."),
l("Dress up! Do not walk without clothes! Always wear your items! They leave you less vulnerable to attacks and stronger to defeat your opponents."),
/*
// TODO: Evol doesn't have equipment set bonuses yet
mes b(l("Remember that some equipment sets will give you hidden stat bonuses! So dress yourself in a fashion way, if possible!"));
next;
*/
l("To discard an item you no longer want, select it and press the 'Discard' button. Generic items can be discarded or sold."),
l("Some special items cannot be traded, discarded, nor sold. With a right click, you can also protect normal items as if they were special ones."),
l("There are three types of items."),
l("Those for consumption, equipment and generics."),
l("Items for consumption, like potions, can only be used once."),
l("Once used, they will disappear from your inventory."),
l("Equippable items are armour, weapons and accessories."),
l("They can be equipped to make your look more interesting or to improve some of its features."),
l("Generic items are used for different purposes. In creating other items, to swap and sell, to collect, etc.");
break;
case 11:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("Press the '###keyTrade;' key to ignore or accept business proposals. You and the other citizen who want to negotiate need to be in the configuration that accepts negotiations. if your configuration is 'Ignoring business proposals', then you will not receive the warning from any citizen wanting to negotiate with you, and you will not be able to initiate negotiations."),
l("To negotiate with other citizens, you should click the second mouse button on some other citizen who is accepting negotiations, and select the 'Negotiation' option from the menu that will appear."),
l("After you have confirmed the negotiation, a window with a vertical split will appear. The left side are the items you intend to offer in trading. The right side are the items that the other citizen intends to offer in trading."),
l("Open your inventory window (###keyWindowInventory; key) next to the trading window. Select an item you want to offer, and then press the Add button. To add money to the negotiation, enter the amount you will offer and press the Change button."),
l("When you have added all the items and money you want, press the 'Propose Trade' button. The other citizen must also press the 'Propose Trade' button."),
l("If the proposal is not convenient for you, just close the trading window to cancel the exchange of items and money. But if both press the 'Accept Negotiation' button, then the marketing will be finished."),
l("Remember! You're trading things, not lending/borrowing them. You are solely responsible for everything you own.");
break;
case 12:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("Note down. To hunt a target you must click the primary mouse button on it. Avoid fighting monsters or citizens much stronger than you. %s", b(l("You will lose experience if you are defeated."))),
l("Within the cities is a place safe enough not to be attacked by another person (except during wars). But outside of them there are some places where the citizen can be attacked by enemies from other realms, or even by someone from the same realm."),
l("There are some stones scattered around the world that mark your point of return in case of defeats. Some ship chests may also serve as a return point. You can also select some beds in case of defeats."),
l("Almost all creatures drop useful items when defeated. To get the dropped item press the '###keyPickup;' key next to the item or click the primary button on the item."),
l("To focus on a creature, press the '###keyTargetMonster;' key. To focus on another citizen, press the '###keyTargetPlayer;' key. To attack the focused target press the '###keyAttack;' key or click the primary button on the creature."),
l("To focus on an NPC, press the '###keyTargetNPC;' key. To talk to him press the '###keyTalk;' key."),
l("To defocus or stop attacking, press Shift + A."),
l("You can, however, use '###keyTargetAttack;' to auto-select a monster and attack them. This usually also collects drops, but press '###keyPickup;' to be sure.");
break;
case 13:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("To display the dialog box with other citizens, press the '###keyWindowChat;' key."),
l("To speak in public select the 'General' tab. It serves to talk to people who are appearing on your screen."),
l("To speak privately with someone, click the second mouse button on the citizen and select the 'Whisper' option."),
l("In order to enter a message press the '###keyChat;' key, this will display the white box of typing. Type your message there and press '###keyChat;' again to send your speech."),
l("To speak privately to a friend who is not appearing on your screen, type the command '%s' and press '###keyChat;'. This command will open a long-distance dialog that has the name of who you want to talk to. Select this new tab and send your message through it.",b(l("/q [Player Name] "))),
l("And by last, to speak to everyone online, besides whoever might be idling on IRC, select the '#irc' tab."),
l("But be careful: do not scream by using a lot of capital letters, do not repeat yourself over and over, and above all DO NOT SPAM, or you may be severely penalized.");
break;
case 14:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("NPC stylists will cut your hair!"),
l("They are known to use a revolutionary hair growth formula."),
l("You will be amased by all the colors of hair dye they have.");
break;
case 15:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("You can execute commands by typing them in the chat window. They start with a '/' or '@' followed by the name of the command."),
l("%s clears the text box.", b("/clear")),
l("%s %s allows you to send a private message to the player. if [name] contains spaces, it must be enclosed in quotation marks.", b("/whisper"),l("[name]")),
l("%s displays amount of currently connected players.", b("/who")),
l("%s shows the number of people in the neighbourhood.", b("/present")),
l("%s shows the name of the map you are in.", b("/where")),
l("%s explains how to use all client commands.", b("/help")),
l("%s lists even more advanced commands, but some of them can only be used by admins or GM's.", b("@commands")),
l("%s will help when the client starts lagging. If you see an attack but no monsters, that's the cause.", b("@resync")),
l("%s allows you to change game language, anytime, anywhere.", b("@lang")),
l("%s will tell you all the rules once again.", b("@rules")),
//mes l("@toevent will warp you to event island, if an event is happening, of course.");
//mes l("@discord allows you to setup Discord integration settings.");
//mes l("@ucp allows you to manage your account, eg. recover lost email.");
//next;
//mes l("@resyncall is the more powerful version of @resync. It'll reload everything, even the clouds if needed.");
l("%s and %s will show this informative and absurdely big tutorial book." ,b("@info"),b("@tutorial"));
break;
case 16:
narrator S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("There are many key combinations, press F1 to see a short list of them!");
break;
}
} while (true);
end;
}
OnShelfUse:
if (openbookshelf())
read_book();
close;
OnUse:
if (openbook())
read_book();
close;
OnRemoteHelp:
read_book();
close;
OnInit:
.book_name$ = "Hitchiker's Guide To The Mana World";
bindatcmd "info", "#EvolTutorial::OnUse", 0, 0, 0;
bindatcmd "tutorial", "#EvolTutorial::OnUse", 0, 0, 0;
.bodytype = BODYTYPE_1;
.distance = 1;
end;
}
|