summaryrefslogtreecommitdiff
path: root/npc/custom/quests
diff options
context:
space:
mode:
Diffstat (limited to 'npc/custom/quests')
-rw-r--r--npc/custom/quests/hunting_missions.txt2
-rw-r--r--npc/custom/quests/quest_shop.txt6
-rw-r--r--npc/custom/quests/thq/THQS_ChatingNPC.txt8
-rw-r--r--npc/custom/quests/thq/THQS_GuildNPC.txt8
-rw-r--r--npc/custom/quests/thq/THQS_QuestNPC.txt4
-rw-r--r--npc/custom/quests/thq/THQS_Quests.txt14
-rw-r--r--npc/custom/quests/thq/THQS_TTShop.txt2
7 files changed, 22 insertions, 22 deletions
diff --git a/npc/custom/quests/hunting_missions.txt b/npc/custom/quests/hunting_missions.txt
index ad18a73f5..dc4e20f79 100644
--- a/npc/custom/quests/hunting_missions.txt
+++ b/npc/custom/quests/hunting_missions.txt
@@ -24,7 +24,7 @@
prontera,152,187,6 script Hunting Missions 4_F_EDEN_MASTER,{
function Chk; function Cm;
mes "[Hunting Missions]";
- mes "Hello, "+strcharinfo(0)+"!";
+ mes "Hello, "+strcharinfo(PC_NAME)+"!";
if (!#Mission_Delay) {
next;
mes "[Hunting Missions]";
diff --git a/npc/custom/quests/quest_shop.txt b/npc/custom/quests/quest_shop.txt
index 2db3b069a..f96b4cb75 100644
--- a/npc/custom/quests/quest_shop.txt
+++ b/npc/custom/quests/quest_shop.txt
@@ -96,7 +96,7 @@ OnMenu:
}
deletearray @i[0],getarraysize(@i);
if (.Shops$[.@i] == "") {
- message strcharinfo(0),"An error has occurred.";
+ message strcharinfo(PC_NAME),"An error has occurred.";
end;
}
dispbottom "Select one item at a time.";
@@ -110,7 +110,7 @@ OnBuyItem:
copyarray .@q[3],getd(".q_"+.@q[0]+"[0]"),getarraysize(getd(".q_"+.@q[0]));
set .@q[2],.@q[1]*.@q[3];
if (!.@q[2] || .@q[2] > 30000) {
- message strcharinfo(0),"You can't purchase that many "+getitemname(.@q[0])+".";
+ message strcharinfo(PC_NAME),"You can't purchase that many "+getitemname(.@q[0])+".";
end;
}
mes "[Quest Shop]";
@@ -143,7 +143,7 @@ OnBuyItem:
if (.@q[6]) for(set .@i,6; .@i<getarraysize(.@q); set .@i,.@i+2)
delitem .@q[.@i],.@q[.@i+1]*.@q[1];
getitem .@q[0],.@q[2];
- if (.Announce) announce strcharinfo(0)+" has created "+((.@q[2] > 1)?.@q[2]+"x "+getitemname(.@q[0]):A_An(getitemname(.@q[0])))+"!",0;
+ if (.Announce) announce strcharinfo(PC_NAME)+" has created "+((.@q[2] > 1)?.@q[2]+"x "+getitemname(.@q[0]):A_An(getitemname(.@q[0])))+"!",0;
specialeffect2 EF_FLOWERLEAF;
close;
case 2:
diff --git a/npc/custom/quests/thq/THQS_ChatingNPC.txt b/npc/custom/quests/thq/THQS_ChatingNPC.txt
index 24e3f7410..2ea65e3c9 100644
--- a/npc/custom/quests/thq/THQS_ChatingNPC.txt
+++ b/npc/custom/quests/thq/THQS_ChatingNPC.txt
@@ -66,11 +66,11 @@ N_Member:
mes "Well unless you are reading the code :)";
close;
N_Chat1:
- mes "Ahh welcome fellow Treasure Hunter "+strcharinfo(0)+".";
+ mes "Ahh welcome fellow Treasure Hunter "+strcharinfo(PC_NAME)+".";
mes "Did you hear about that brave man that went into Glast Heim alone?! He must be crazy.";
close;
N_Chat2:
- mes ""+strcharinfo(0)+" don't you have something better you could be doing? Like a quest.";
+ mes ""+strcharinfo(PC_NAME)+" don't you have something better you could be doing? Like a quest.";
close;
}
//another usless member
@@ -82,12 +82,12 @@ yuno_in01,25,162,6 script Female Wizard 2_F_MAGICMASTER,{
N_Member:
set @temp,rand(2);
if (@temp == 1) goto N_Chat;
- mes "Ahh welcome fellow Treasure Hunter "+strcharinfo(0)+".";
+ mes "Ahh welcome fellow Treasure Hunter "+strcharinfo(PC_NAME)+".";
mes "Did you hear about that goat man running around in the trees?";
mes " ";
mes "Aperently his name is Baphomet and he has been runing around the Forest Maze out side of prontera for quite some time now.";
close;
N_Chat:
- mes ""+strcharinfo(0)+" don't you have something better you could be doing? Like a quest.";
+ mes ""+strcharinfo(PC_NAME)+" don't you have something better you could be doing? Like a quest.";
close;
}
diff --git a/npc/custom/quests/thq/THQS_GuildNPC.txt b/npc/custom/quests/thq/THQS_GuildNPC.txt
index 05379e345..5a7c4883b 100644
--- a/npc/custom/quests/thq/THQS_GuildNPC.txt
+++ b/npc/custom/quests/thq/THQS_GuildNPC.txt
@@ -20,7 +20,7 @@ yuno_in01,124,164,6 script Guild Leader 1_M_PRON_KING,{
if (Event_THQS==1)
goto N_AlreadyReg;
mes "[Keegan]";
- mes "Well "+strcharinfo(0)+" if you want to be a Treasure Hunter first you must.";
+ mes "Well "+strcharinfo(PC_NAME)+" if you want to be a Treasure Hunter first you must.";
mes " ";
mes "^FF00001.^000000 You well be changed ^FF000025,000z^000000 for basic training and your proof of being a member.";
mes " ";
@@ -49,13 +49,13 @@ yuno_in01,124,164,6 script Guild Leader 1_M_PRON_KING,{
if (Event_THQS!=1)
goto A_NeedReg;
mes "[Keegan]";
- mes "Well "+strcharinfo(0)+" if you wish to take a quest go talk to the fellow Treasure Hunter in the other room there.";
+ mes "Well "+strcharinfo(PC_NAME)+" if you wish to take a quest go talk to the fellow Treasure Hunter in the other room there.";
close;
case 3:
if (Event_THQS!=1)
goto N_NeedMem;
mes "[Keegan]";
- mes "Yes "+strcharinfo(0)+" I will take you to our shop right away!";
+ mes "Yes "+strcharinfo(PC_NAME)+" I will take you to our shop right away!";
next;
warp "prt_in",166,171;
close;
@@ -66,7 +66,7 @@ yuno_in01,124,164,6 script Guild Leader 1_M_PRON_KING,{
}
N_NoZeny:
mes "[Keegan]";
- mes "Hmmm you don't seem to have ^FF000025,000z^000000 "+strcharinfo(0)+". Please come back when you do.";
+ mes "Hmmm you don't seem to have ^FF000025,000z^000000 "+strcharinfo(PC_NAME)+". Please come back when you do.";
close;
N_AlreadyReg:
mes "[Keegan]";
diff --git a/npc/custom/quests/thq/THQS_QuestNPC.txt b/npc/custom/quests/thq/THQS_QuestNPC.txt
index 606559e74..1bbe8fd7a 100644
--- a/npc/custom/quests/thq/THQS_QuestNPC.txt
+++ b/npc/custom/quests/thq/THQS_QuestNPC.txt
@@ -18,11 +18,11 @@
yuno_in01,112,151,6 script Quest Manager 1_M_SIZ,{
mes "[Guy]";
- mes "Welcome to the Treasure Hunters Guild "+strcharinfo(0)+".";
+ mes "Welcome to the Treasure Hunters Guild "+strcharinfo(PC_NAME)+".";
next;
if (On_Quest == 0) goto N_NewQuest;
mes "[Guy]";
- mes "Look " +strcharinfo(0)+ ", you can only 1 quest at a time, you should finish the quest unless you have given up.";
+ mes "Look " +strcharinfo(PC_NAME)+ ", you can only 1 quest at a time, you should finish the quest unless you have given up.";
mes "Giving up will cost you ^FF00002500z^000000.";
next;
if (select("No, never would I leave a quest!", "Yah I'm pathetic... Pay 2500z") == 1) {
diff --git a/npc/custom/quests/thq/THQS_Quests.txt b/npc/custom/quests/thq/THQS_Quests.txt
index 55037eb5c..bc81fb24b 100644
--- a/npc/custom/quests/thq/THQS_Quests.txt
+++ b/npc/custom/quests/thq/THQS_Quests.txt
@@ -433,7 +433,7 @@ N_QuestComp:
mes "[Czhore]";
mes "Thank god!";
mes " ";
- mes "I'm so happy to see one of these Emperiums! Thank you "+strcharinfo(0)+".";
+ mes "I'm so happy to see one of these Emperiums! Thank you "+strcharinfo(PC_NAME)+".";
next;
mes "[Czhore]";
mes "Here have these 2 Treasure Tokens.";
@@ -668,7 +668,7 @@ prontera,123,208,6 script Little Girl#thq 4_F_KID3,{
if (seven_qset == 1) goto N_QuestStart;
if (eight_qset == 1) goto N_QuestStart2;
mes "[Girl]";
- mes "Hello mister "+strcharinfo(0)+".";
+ mes "Hello mister "+strcharinfo(PC_NAME)+".";
close;
N_QuestComp:
mes "[Girl]";
@@ -694,7 +694,7 @@ alberta,101,84,6 script Charles 1_M_02,{
if (seven_qset == 2 && countitem(Merchant_Box_2) > 0) goto N_QuestComp;
if (seven_qset == 2) goto N_QuestStart;
mes "[Charles]";
- mes "Hello "+strcharinfo(0)+" welcome to Alberta.";
+ mes "Hello "+strcharinfo(PC_NAME)+" welcome to Alberta.";
close;
N_QuestComp:
mes "[Charles]";
@@ -782,7 +782,7 @@ morocc,165,55,6 script Klye 1_M_02,{
if (eight_qset == 2 && countitem(Merchant_Box_1) > 0) goto N_QuestComp;
if (eight_qset == 2) goto N_QuestStart;
mes "[Klye]";
- mes "Hello "+strcharinfo(0)+".";
+ mes "Hello "+strcharinfo(PC_NAME)+".";
close;
N_QuestComp:
mes "[Klye]";
@@ -858,7 +858,7 @@ geffen_in,168,124,6 script Mage 1_M_02,{
if (nine_qset == 1 && countitem(Merchant_Box_2) > 0) goto N_QuestComp;
if (nine_qset == 1) goto N_QuestStart;
mes "[Mage]";
- mes "Hello "+strcharinfo(0)+" welcome to the Mage Guild.";
+ mes "Hello "+strcharinfo(PC_NAME)+" welcome to the Mage Guild.";
close;
N_QuestComp:
mes "[Mage]";
@@ -873,7 +873,7 @@ N_QuestComp:
close;
N_QuestStart:
mes "[Mage]";
- mes "Hello "+strcharinfo(0)+", Where is my box of Toad Tounges?.";
+ mes "Hello "+strcharinfo(PC_NAME)+", Where is my box of Toad Tounges?.";
close;
}
//9-2;
@@ -955,7 +955,7 @@ morocc,193,51,6 script Kreg 1_M_02,{
if (ten_qset == 1 && countitem(Merchant_Box_2) > 0) goto N_QuestComp;
if (ten_qset == 1) goto N_QuestStart;
mes "[Kreg]";
- mes "Hello "+strcharinfo(0)+" welcome to Morroc.";
+ mes "Hello "+strcharinfo(PC_NAME)+" welcome to Morroc.";
close;
N_QuestComp:
mes "[Kreg]";
diff --git a/npc/custom/quests/thq/THQS_TTShop.txt b/npc/custom/quests/thq/THQS_TTShop.txt
index 9883950a1..c85a9c9fe 100644
--- a/npc/custom/quests/thq/THQS_TTShop.txt
+++ b/npc/custom/quests/thq/THQS_TTShop.txt
@@ -154,7 +154,7 @@ function script ths_menu_weapons {
// Main script
prt_in,164,174,1 script Treasure Hunter's Shop 1_M_YOUNGKNIGHT,{
mes "[Ash]";
- mes "Ahh, "+strcharinfo(0)+"! Welcome to the Offical Treasure Hunter's Guild Shop.";
+ mes "Ahh, "+strcharinfo(PC_NAME)+"! Welcome to the Offical Treasure Hunter's Guild Shop.";
mes "You currently have ^FF0000"+#Treasure_Token+"^000000 treasure tokens!!!";
next;
switch( select("How does this place work?","What do you have in stock?","Nevermind") ) {