summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-14 19:09:51 -0200
committerjesusalva <cpntb1@ymail.com>2018-02-14 19:09:51 -0200
commitd5190ae926d709466a6f722d3bc2b05dedbf1185 (patch)
treeaa594be9ea0109943d5e9d3e5d56f22d56b230c2 /npc
parent066fd0e4c1dcb617ebbd6b5ee152897471038b2f (diff)
downloadserverdata-d5190ae926d709466a6f722d3bc2b05dedbf1185.tar.gz
serverdata-d5190ae926d709466a6f722d3bc2b05dedbf1185.tar.bz2
serverdata-d5190ae926d709466a6f722d3bc2b05dedbf1185.tar.xz
serverdata-d5190ae926d709466a6f722d3bc2b05dedbf1185.zip
Import TMW-BR Trainer script. This provides an in-depth monolithic text tutorial.
Diffstat (limited to 'npc')
-rw-r--r--npc/005-1/_import.txt1
-rw-r--r--npc/005-1/trainer.txt307
-rw-r--r--npc/005-1/vincent.txt2
3 files changed, 309 insertions, 1 deletions
diff --git a/npc/005-1/_import.txt b/npc/005-1/_import.txt
index 179a9d67d..1ab90c833 100644
--- a/npc/005-1/_import.txt
+++ b/npc/005-1/_import.txt
@@ -9,6 +9,7 @@
"npc/005-1/sailors.txt",
"npc/005-1/ship.txt",
"npc/005-1/soul-menhir.txt",
+"npc/005-1/trainer.txt",
"npc/005-1/warpcandorbattle.txt",
"npc/005-1/zegas.txt",
"npc/005-1/vincent.txt",
diff --git a/npc/005-1/trainer.txt b/npc/005-1/trainer.txt
new file mode 100644
index 000000000..09f44e300
--- /dev/null
+++ b/npc/005-1/trainer.txt
@@ -0,0 +1,307 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Originals: Ernando <ernando.quirino@hotmail.com>
+// Original review: Lunovox <rui.gravata@gmail.com>; Ernando <ernando.quirino@hotmail.com>; Jesusalva <supremo@brasil.byethost22.com>
+// Objective: Train the player and give some experience.
+
+005-1,21,91,0 script Trainer NPC_PLAYER,{
+
+ mesn;
+ mesq l("Hello my friend! Need my help? ");
+ next;
+ goto L_Menu;
+
+L_PreMenu:
+ mesn;
+ mesq l("Do you need my help?");
+ next;
+ goto L_Menu;
+
+L_Menu:
+ mesq l("["+ strcharinfo(0) +"]");
+ menu
+ l("How can you help me?"), L_ExplicaSiProprio,
+ l("How do I make money?"), L_ExplicaGrama,
+ l("How I see my items?"), L_ExplicaBagagem,
+ l("How trade with other players?"), L_ExplicaTrade,
+ l("How hunt monsters?"), L_ExplicaBatalha,
+ l("How talk with someone?"), L_ExplicaDialogo,
+ l("I wanted other info."), L_OutrasInformacoes_gap,
+ l("No, thanks!"), L_Fechar;
+
+L_ExplicaSiProprio:
+ mes "";
+ mesn;
+ mesq l("The king commanded me to strengthen the young men, so that they have sufficient power to fight monsters.");
+ next;
+ mesn;
+ mesq l("I can give you training for that, and teach you how to fight properly.");
+ next;
+ mesn;
+ mesq l("I see you have arms long enough to be an archer.");
+ next;
+ goto L_PreMenu;
+
+L_ExplicaGrama:
+ mes "";
+ mesn;
+ mesq l("Merchants like to buy body parts of killed monsters and animals because they can make items and equipment.");
+ next;
+ mesq l("Some others also like to buy them to keep as trophies. Either way, you can make some money with that.");
+ next;
+ goto L_PreMenu;
+
+L_ExplicaBagagem:
+ mes "";
+ mesn;
+ mesq l("You can see all your equipment by pressing the F3 key. ");
+ next;
+ mesn;
+ mesq 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. ");
+ next;
+ mesn;
+ mesq 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. ");
+ next;
+ mesn;
+ mesq l("To discard an item you no longer want, select it and press the 'Discard' button. Generic items can be discarded or sold. But equipment can only be sold. ");
+ next;
+ goto L_PreMenu;
+
+L_ExplicaTrade:
+ mes "";
+ mesn;
+ mesq l("Press the 'R' 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.");
+ next;
+ mesn;
+ mesq 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.");
+ next;
+ mesn;
+ mesq 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. ");
+ next;
+ mesn;
+ mesq l("Open your inventory window(F3 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.");
+ next;
+ mesn;
+ mesq l("When you have added all the items and money you want, press the 'Propose Business' button. The other citizen must also press the 'Propose Business' button. ");
+ next;
+ mesn;
+ mesq 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. ");
+ next;
+ mesn;
+ mesq l("Remember! Never lend money or items to anyone. For in this world there are no loans and no rent. There are only donations, sales, or permanent exchanges. You are solely responsible for everything you own. ");
+ next;
+ goto L_PreMenu;
+
+L_ExplicaBatalha:
+ mes "";
+ mesn;
+ mesq l("To hunt a target you must click the primary mouse button on it. Avoid fighting monsters or citizens too strong. You will lose attributes if you are defeated. ");
+ next;
+ mesn;
+ mesq l("Within the cities is a place safe enough not to be attacked by another person(except in case of felling of the gates of the wall). 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.");
+ next;
+ mesn;
+mesq 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 adopt a health plan from the nurse to return to the infirmary in case of defeats. ");
+ next;
+ mesn;
+ mesq l("Almost all creatures drop useful items when defeated. To get the dropped item press the 'Z' key next to the item or click the primary button on the item. ");
+ next;
+ mesn;
+ mesq l("To focus on a creature, press the 'A' key. To focus on another citizen, press the 'Q' key. To attack the focused target press the 'X' key or click the primary button on the creature.");
+ next;
+ mesn;
+ mesq l("To focus on an NPC, press the 'N' key. To talk to him press the 'T' key. ");
+ next;
+ mesn;
+ mesq l("To defocus or stop attacking, press Shift + A. ");
+ next;
+ goto L_PreMenu;
+
+L_ExplicaDialogo:
+ mes "";
+ mesn;
+ mesq l("To display the dialog box with other citizens, press the F7 key. ");
+ next;
+ mesn;
+ mesq l("To speak in public select the 'General' tab. It serves to talk to people who are appearing on your screen. ");
+ next;
+ mesn;
+ mesq l("To speak privately with someone, click the second mouse button on the citizen and select the 'Whisper' option. ");
+ next;
+ mesn;
+ mesq l("In order to enter a message press the 'Enter' key, this will display the white box of typing. Type your message there and press 'Enter' again to send your speech. ");
+ next;
+ mesn;
+ mesq l("To speak privately to a friend who is not appearing on your screen, type the command '## B / q Citizen Name ## b' and press 'Enter'. 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. ");
+ next;
+ mesn;
+ mesq l("But be careful: do not scream when using a lot of capital letters, and do not keep repeating the lines, or you may be severely penalized.");
+ next;
+ goto L_PreMenu;
+
+L_SeDespede:
+ mes "";
+ mesn;
+ mesq l("Okay, since you do not want to ... But I'll let you know that I'm only willing to help you as long as you do not have enough strength to get through the gate and a little after that to get used to the world. After that, it's no use complaining about my help. ");
+ close;
+
+L_Fechar:
+ close;
+
+L_OutrasInformacoes_gap:
+ mes "";
+ goto L_OutrasInformacoes;
+
+L_OutrasInformacoes:
+ mesn;
+ mesq l("What do you want to learn more about? ");
+ next;
+ mesq l("["+ strcharinfo(0) +"]");
+ menu
+ l("Items."), L_Itens,
+ l("Monsters."), L_monstros,
+ l("Styles."), L_estilo,
+ l("Quests."), L_Quests,
+ l("NPCs."), L_NPC,
+ l("Commands."), L_comandos,
+ l("Status."), L_status,
+ l("Magic."), L_Magica,
+ l("Shortcuts."), L_teclado,
+ l("Rules."), L_regras,
+ l("I changed my mind."), L_Menu_gap;
+
+L_Itens:
+ mes "";
+ mesn;
+ mesq l("There are three types of items.");
+ mesq l("Those for consumption, equipment and generics. ");
+ next;
+ mesn;
+ mesq l("Items for consumption, like potions, can only be used once.");
+ mesq l("Once used, they will disappear from your inventory. ");
+ next;
+ mesn;
+ mesq l("Equipible items are armor, weapons and accessories.");
+ mesq l("They can be equipped to make your look more interesting or to improve some of its features. ");
+ next;
+ mesn;
+ mesq l("Generic items are used for different purposes. In creating other items, to swap and sell, to collect, etc. ");
+ next;
+ goto L_OutrasInformacoes;
+
+L_monstros:
+ mes "";
+ mesn;
+ mesq l("Monsters are everywhere. They're a plague we're trying to get rid of.");
+ next;
+ mesn;
+ mesq l("There are three types of monsters: the aggressive, the neutral, and the collaborative. ");
+ next;
+ mesn;
+ mesq l("Aggressors always know when they are in danger! Therefore, they are always on standby, attacking anyone who appears ahead. ");
+ next;
+ mesn;
+ mesq l("Neutral monsters do not have such a sense of danger.");
+ mesq l("They will not attack anyone unless they are attacked first. ");
+ next;
+ mesn;
+ mesq l("Normally, collaborative behave like neutral monsters. Unless some partner of the same species is in danger, at which point they all take an aggressive stance against the aggressor.");
+ mesq l("It's always good to see if you have a lot of them around before you think about attacking one! ");
+ next;
+ goto L_OutrasInformacoes;
+
+L_estilo:
+ mes "";
+ mesn;
+ mesq l("NPC stylists will cut your hair!");
+ mesq l("They are known to use a revolutionary hair growth formula.");
+ next;
+ goto L_OutrasInformacoes;
+
+L_Quests:
+ mes "";
+ mesn;
+ mesq l("There are people in the world who need help!");
+ mesq l("Most of these people will not think twice before giving a nice reward to anyone who helps them.");
+ mesq l("So be nice and help people along the way! ");
+ next;
+ goto L_OutrasInformacoes;
+
+L_NPC:
+ mes "";
+ mesn;
+ mesq l("NPCs(Non Playable Characters) 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.");
+ next;
+ goto L_OutrasInformacoes;
+
+L_comandos:
+ mes "";
+ mesn;
+ mesq l("/ clear clears the text box. ");
+ mesq l("/ whisper [name] allows you to send a private message to the player. if [name] contains spaces, it must be enclosed in quotation marks. ");
+ //mesq l("/who mostra o nĂºmero de jogadores conectados no momento.");
+ mesq l("/ present shows the number of people in the neighborhood. ");
+ mesq l("/ where shows the name of the map you are in. ");
+ mesq l("/ help explains how to use all client commands. ");
+ mesq l("@commands lists even more advanced commands, but you can't use all of them.");
+ next;
+ goto L_OutrasInformacoes;
+
+L_status:
+ mes "";
+ mesn;
+ mesq l("People vary greatly in the amount of strength, agility, dexterity, intelligence, vitality and luck. ");
+ next;
+ mesn;
+ mesq l("Force 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.");
+ mesq l("Greater agility allows you to attack faster and has a greater chance of evading counter attacks.");
+ mesq l("Your dexterity determines your ability to hit monsters and is valuable to players who prefer weapons that use projectiles.");
+ next;
+ mesn;
+ mesq l("Vitality determines how resistant you are to attacks and how many blows you can take before you die.");
+ mesq l("Intelligence is very useful for alchemy and magic, but nowadays there are few opportunities to use it.");
+ mesq l("Your luck determines several small things, including the number of critical attacks you are going to suffer and perform.");
+ next;
+ mesn;
+ mesq l("I recommend that you train your dexterity a great deal, since most monsters out there are hard to hit without it.");
+ mesq l("For now do not take too much time to work on your intelligence, after all, almost nobody works this day. ");
+ next;
+ goto L_OutrasInformacoes;
+
+L_Magica:
+ mes "";
+ mesn;
+ mesq l("Magic is dead. Well, not yet, we still have some mana stones left - but only the strongest ones are allowed to use them and acquire magic.");
+ next;
+ goto L_OutrasInformacoes;
+
+L_teclado:
+ mes "";
+ mesn;
+ mesq l("There are many key combinations, press F1 to see a short list of them! ");
+ next;
+ goto L_OutrasInformacoes;
+
+L_regras:
+ mes "";
+ callfunc "GameRules";
+ next;
+ goto L_OutrasInformacoes;
+
+L_Menu_gap:
+ mes "";
+ goto L_PreMenu;
+
+OnInit:
+ .@npcId = getnpcid(0, .name$);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, 1314);
+ setunitdata(.@npcId, UDT_HEADBOTTOM, 2207);
+ setunitdata(.@npcId, UDT_WEAPON, 1802);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 20);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 7);
+
+ .sex = G_MALE;
+ .distance = 5;
+ end;
+}
diff --git a/npc/005-1/vincent.txt b/npc/005-1/vincent.txt
index 3d6519615..cf1b83251 100644
--- a/npc/005-1/vincent.txt
+++ b/npc/005-1/vincent.txt
@@ -16,7 +16,7 @@
if (.@q == 2) goto L_QuestDone;
speech S_LAST_BLANK_LINE,
- l("I made a figurin with Bug legs."),
+ l("I am making a figurin with Bug legs."),
lg("Be a friend and bring me @@ @@.", "Be a friend and bring me @@ @@.", .LegsCount, getitemlink(.LegsID));
switch (select(l("Ok, I'll be back in no time."),