summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/003-3/malindou.txt116
-rw-r--r--npc/005-5/cynric.txt39
2 files changed, 20 insertions, 135 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index 0a2e71742..58d75b010 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -1,5 +1,7 @@
+// TMW-2 Script.
// Author:
// Saulc
+// Jesusalva
003-3,36,34,0 script Malindou NPC_LLOYD,{
@@ -8,58 +10,13 @@
// gumi
// Reid
// Description:
-// Lloyd the banker NPC.
-// Variables:
-// 0 ArtisQuests_Lloyd
-// 1 ArtisQuests_Fexil
-// 2 ArtisQuests_Enora
-// Quest states:
-// 00 -- Never talked
-// 01 -- Registred on the Guild
-// 10 -- not started
-// 11 -- Lloyd warned about the quest
-// 20 -- Default.
-// 21 -- BlackSmith quest delivered.
-// 22 -- Chelios Quest given.
-// 23 -- Chelios Quest done.
-
-
- function enora_quest {
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("Black iron... That is a very specific request that you have for me!"),
- l("Let me check in my inventory book..."),
- l("..."),
- l("Yes, I have some! \"5x Black Iron Ingots\""),
- lg("Is this for you or somebody else? Because you need to be registered to obtain these materials.");
-
- switch (selectd(ArtisQuests_Enora,
- l("This is for my own use."),
- l("Chelios asked me to get it.")))
- {
- case 1:
- speech S_FIRST_BLANK_LINE,
- l("This is your first time asking for something, you won't pay this time, take it as a sign of good faith!"),
- l("If you need something in the future, do not hesitate to pass by here, our stock is full of boxes collecting dust.");
- emotion E_WINK;
- break;
- case 2:
- speech S_FIRST_BLANK_LINE,
- l("Chelios... He is part of the Blacksmith House, is he not?"),
- l("Since Don settled in Tulimshar he and his band refused to register to the Merchant Guild."),
- l("I will close an eye for once, but only because it's your first time asking for something!"),
- l("Sometimes a good merchant needs to reach out first. It's on the house, give Chelios my regards!");
- emotion E_WINK;
- break;
- }
- setq ArtisQuests_Enora, 3;
+// banker NPC.
- return;
- }
function explain_guild {
speech S_LAST_NEXT,
l("The guild is in charge of the commerce regularization throughout Tulimshar and its surroundings."),
- l("With the help of the town hall and the Legion of Aemil we organize some auction and we help local merchants to launch their businesses."),
+ l("With the help of the town hall we organize some auction and we help local merchants to launch their businesses."),
l("We also feature some services like a storage and a bank for members."),
l("Registration is open to everybody, but newcomers need to pay a fee for all of the paperwork.");
@@ -73,7 +30,7 @@
function first_visit {
speech S_LAST_NEXT,
l("Welcome!"),
- l("My name is Malindou, I am a representative of the Merchant Guild of Tulimshar.");
+ l("My name is Malindou, I am a representative of the Merchant Guild on Tulimshar.");
selectd(l("My name is @@...", strcharinfo(0)));
@@ -106,7 +63,7 @@
.@price = 15000;
speech S_LAST_NEXT,
- l("The fee is of @@ E. So, do you want to register?", .@price);
+ l("The fee is of @@ GP. So, do you want to register?", .@price);
switch (selectd(l("Yes."),
l("I don't have the time now.")))
@@ -133,39 +90,6 @@
return;
}
- function paper_to_deliver {
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("Now that you bring up that topic, that reminds me of something..."),
- l("Earlier today there was this young seller named Fexil that passed by here."),
- l("He asked to lend some money and a place to open his store, I think that he asked for a place on the merchant squares on the south-west of the city..."),
- l("Anyway, he forgot his permit when he left the building."),
- l("Could you bring it to him?");
-
- do
- {
- .@q = selectd(ArtisQuests_Fexil,
- l("Ok, I will bring it to him."),
- l("I need more information first."),
- l("I don't have the time."));
- switch (.@q)
- {
- case 1:
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("Thank you for this!");
- setq ArtisQuests_Fexil, 1;
- break;
- case 2:
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("You should look for a seller named Fexil around the merchant square."),
- l("Ask other merchants, they might know where he is.");
- break;
- case 3:
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("No problem, come back later if you changed your mind!");
- break;
- }
- } while (.@q == 2);
- }
if (getq(ArtisQuests_Lloyd) == 0)
{
@@ -177,63 +101,45 @@
}
speech S_LAST_NEXT,
- l("Welcome to the Merchant Guild of Tulimshar"),
+ l("Welcome to the Merchant Guild of Tulimshar."),
l("What do you want today?");
do
{
- .@enora = getq(ArtisQuests_Enora);
selectd
- rif(.@enora == 2, l("I'm looking for some black iron ingots.")),
l("I would like to store some items."),
l("I would like to perform money transactions."),
l("What is this guild for?"),
- l("Does the guild has any work for me right now?"),
l("Bye.");
switch (@menu)
{
case 1:
- enora_quest;
- break;
- case 2:
openstorage;
closedialog;
close;
break;
- case 3:
+ case 2:
MerchantGuild_Bank;
break;
- case 4:
+ case 3:
mes "";
explain_guild;
break;
- case 5:
- if (getq(ArtisQuests_Fexil) >= 1)
- {
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("There are no tasks for you right now.");
- continue;
- }
-
- paper_to_deliver;
-
- continue;
}
- if (@menu != 6)
+ if (@menu != 4)
{
speech S_FIRST_BLANK_LINE | S_LAST_NEXT | S_NO_NPC_NAME,
l("Something else?");
}
- } while (@menu != 6);
+ } while (@menu != 4);
closedialog;
goodbye;
close;
OnInit:
- .quest_debug = ArtisQuests_Lloyd;
.sex = G_MALE;
.distance = 4;
end;
diff --git a/npc/005-5/cynric.txt b/npc/005-5/cynric.txt
index edb8beff7..72b03e6ce 100644
--- a/npc/005-5/cynric.txt
+++ b/npc/005-5/cynric.txt
@@ -15,8 +15,8 @@
function explain_guild {
speech S_LAST_NEXT,
- l("The guild is in charge of the commerce regularization throughout Artis and its surroundings."),
- l("With the help of the town hall and the Legion of Aemil we organize some auction and we help local merchants to launch their businesses."),
+ l("The guild is in charge of the commerce regularization throughout Candor and its surroundings."),
+ l("With the help of the town hall we organize some auction and we help local merchants to launch their businesses."),
l("We also feature some services like a storage and a bank for members."),
l("Registration is open to everybody, but newcomers need to pay a fee for all of the paperwork.");
@@ -30,7 +30,7 @@
function first_visit {
speech S_LAST_NEXT,
l("Welcome!"),
- l("My name is Cynric, I am a representative of the Merchant Guild.");
+ l("My name is Cynric, I am a representative of the Merchant Guild on Candor.");
selectd(l("My name is @@...", strcharinfo(0)));
@@ -63,7 +63,7 @@
.@price = 7700;
speech S_LAST_NEXT,
- l("The fee is of @@ E. So, do you want to register?", .@price);
+ l("The fee is of @@ GP. So, do you want to register?", .@price);
switch (selectd(l("Yes."),
l("I don't have the time now.")))
@@ -100,52 +100,39 @@
}
speech S_LAST_NEXT,
- l("Welcome to the Merchant Guild!"),
+ l("Welcome to the Merchant Guild of Tulimshar."),
l("What do you want today?");
do
{
- .@enora = getq(ArtisQuests_Enora);
selectd
- rif(.@enora == 2, l("I'm looking for some black iron ingots.")),
l("I would like to store some items."),
l("I would like to perform money transactions."),
l("What is this guild for?"),
- l("Does the guild has any work for me right now?"),
l("Bye.");
switch (@menu)
{
case 1:
- //enora_quest;
- mes "";
- mesn;
- mesq l("We have none.");
- break;
- case 2:
openstorage;
closedialog;
close;
break;
- case 3:
+ case 2:
MerchantGuild_Bank;
break;
- case 4:
+ case 3:
mes "";
explain_guild;
break;
- case 5:
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("There are no tasks for you right now.");
- continue;
}
- if (@menu != 6)
+ if (@menu != 4)
{
speech S_FIRST_BLANK_LINE | S_LAST_NEXT | S_NO_NPC_NAME,
l("Something else?");
}
- } while (@menu != 6);
+ } while (@menu != 4);
closedialog;
goodbye;
@@ -155,13 +142,5 @@ OnInit:
.sex = G_MALE;
.distance = 4;
end;
-
-OnPCLoginEvent:
- if (#MerchantBank)
- {
- BankVault += max(0, #MerchantBank);
- #MerchantBank = 0;
- }
- end;
}