summaryrefslogtreecommitdiff
path: root/npc/jobs/2-1/blacksmith.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/jobs/2-1/blacksmith.txt')
-rw-r--r--npc/jobs/2-1/blacksmith.txt58
1 files changed, 29 insertions, 29 deletions
diff --git a/npc/jobs/2-1/blacksmith.txt b/npc/jobs/2-1/blacksmith.txt
index ba60ca5b4..c466925e1 100644
--- a/npc/jobs/2-1/blacksmith.txt
+++ b/npc/jobs/2-1/blacksmith.txt
@@ -14,13 +14,13 @@
//===== Additional Comments: =================================
//= Changed some npc names to the iRO names. Changed some variable
//= names and labels. Edited some text.[kobra_k88]
-//= Removed "if(JobLevel > 48) goto higher". It was a left over line.
+//= Removed "if (JobLevel > 48) goto higher". It was a left over line.
//= Thx to "Decker".[kobra_k88]
//= Fixed some typos, thanks to Riotblade [celest]
//= 1.3-1.5 Added Baby Class support [Lupus]
//= 1.6 Added a func which prevent advanced classes passing
-//= 2nd Job Quests again. It also guides adv classes where
-//= to go. [Lupus]
+//= 2nd Job Quests again. It also guides adv classes where
+//= to go. [Lupus]
//= 1.7 item quantity/ids typos fix
//= 1.8 Moved the Quest to Einbroch [Poki#3]
//= 2.0 Changed numbers to constants. [Vicious]
@@ -40,7 +40,7 @@
//= 2.8 Removed the need for use of 'goto.' [L0ne_W0lf]
//==============================================================
-ein_in01,18,28,4 script Guildsman#BLS 731,{
+ein_in01,18,28,4 script Guildsman#BLS 4_M_JOB_BLACKSMITH,{
if (Upper == 1) {
mes "[Altiregen]";
mes "Hey hey. I don't have time for chit-chat, I'm a pretty busy guy. There's all these Merchants working hard to become Blacksmiths.";
@@ -72,7 +72,7 @@ ein_in01,18,28,4 script Guildsman#BLS 731,{
mes "and tools is truly a form of art!";
next;
if (BaseClass == Job_Novice) {
- if (sex == 0) {
+ if (Sex == 0) {
mes "[Altiregen]";
mes "Oh~";
mes "what a very";
@@ -248,7 +248,7 @@ ein_in01,18,28,4 script Guildsman#BLS 731,{
else if (BSMITH_Q == 17 && countitem(1005) > 0 && JobLevel > 39) {
mes "[Altiregen]";
mes "Excellent, I can tell by the twinkle in your eye that you were successful. I can now bestow upon you the gift of the smithing, the art of the Blacksmith.";
- if(checkquest(2015) != -1) {
+ if (checkquest(2015) != -1) {
changequest 2015,2016;
}
next;
@@ -269,14 +269,14 @@ ein_in01,18,28,4 script Guildsman#BLS 731,{
mes "Congratulations!!!";
if (.@joblvl > 48)
getitem 999,30; //Steel
- else
+ else
getitem 999,5; //Steel
close;
}
}
}
-ein_in01,201,27,3 script Guildsman#alberta 63,{
+ein_in01,201,27,3 script Guildsman#alberta 1_M_SMITH,{
mes "[Geschupenschte]";
mes "Hello there!";
mes "I'm ^8E6B23Geschupenschte^000000,";
@@ -483,9 +483,9 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{
mes "Let's see...your score is..." + .@black_q + " points.";
if (.@black_q == 100) {
set BSMITH_Q,3;
- if(checkquest(2001) != -1) {
+ if (checkquest(2001) != -1) {
changequest 2001,2002;
- }else{
+ } else {
changequest 2000,2002;
}
mes "Oh ho ho~";
@@ -500,7 +500,7 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{
close;
}
set BSMITH_Q,2;
- if(checkquest(2001) == -1) {
+ if (checkquest(2001) == -1) {
changequest 2000,2001;
}
mes ".............";
@@ -653,7 +653,7 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{
case 9:
mes "Okay, now take this to ^8E6B23Baisulist^000000 in Geffen of Rune-Midgarts Kingdom. Simply deliver it and bring me the receipt.";
getitem 1610,1; //Arc_Wand
- if(checkquest(2003) != -1) {
+ if (checkquest(2003) != -1) {
changequest 2003,2008;
}
next;
@@ -678,7 +678,7 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{
case 10:
mes "Okay, now take this to ^8E6B23Wickebine^000000 in Morroc of Rune-Midgarts Kingdom. Simply deliver it and bring me the receipt.";
getitem 1219,1; //Gladius
- if(checkquest(2004) != -1) {
+ if (checkquest(2004) != -1) {
changequest 2004,2009;
}
next;
@@ -700,10 +700,10 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{
mes "Anyway, take this";
mes "to ^8E6B23Wickebine^000000 in Morroc of Rune-Midgarts Kingdom,";
break;
- Case 11:
+ case 11:
mes "Okay, now take this to ^8E6B23Krongast^000000 in Lighthalzen. Simply deliver it and bring me the receipt.";
getitem 1119,1; //Tsurugi
- if(checkquest(2005) != -1) {
+ if (checkquest(2005) != -1) {
changequest 2005,2010;
}
next;
@@ -729,7 +729,7 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{
case 12:
mes "Okay, now take this to ^8E6B23Talpiz^000000 in Payon of Rune-Midgarts Kingdom. Simply deliver this and bring me the receipt.";
getitem 1713,1; //Arbalest
- if(checkquest(2006) != -1) {
+ if (checkquest(2006) != -1) {
changequest 2006,2011;
}
next;
@@ -753,7 +753,7 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{
case 13:
mes "Okay, now take this to ^8E6B23Bismarc^000000 in Hugel. Simply deliver this and bring back the receipt.";
getitem 1122,1; //Ring_Pommel_Saber
- if(checkquest(2007) != -1) {
+ if (checkquest(2007) != -1) {
changequest 2007,2012;
}
next;
@@ -850,16 +850,16 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{
if (countitem(1073) > 0) {
set BSMITH_Q,15;
delitem 1073,1; //Merchant_Voucher_1
- if(checkquest(2008) != -1) {
+ if (checkquest(2008) != -1) {
changequest 2008,2013;
}
- else if(checkquest(2009) != -1) {
+ else if (checkquest(2009) != -1) {
changequest 2009,2013;
}
- else if(checkquest(2010) != -1) {
+ else if (checkquest(2010) != -1) {
changequest 2010,2013;
}
- else if(checkquest(2011) != -1) {
+ else if (checkquest(2011) != -1) {
changequest 2011,2013;
}
else {
@@ -931,7 +931,7 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{
}
}
-geffen,46,164,1 script Baisulist#BLS 69,{
+geffen,46,164,1 script Baisulist#BLS 1_F_04,{
if (BSMITH_Q == 9 && countitem(1610) > 0) {
mes "[Baisulist]";
mes "Oh, hello!";
@@ -1006,7 +1006,7 @@ geffen,46,164,1 script Baisulist#BLS 69,{
}
}
-morocc,27,112,4 script Wickebine#BLS 725,{
+morocc,27,112,4 script Wickebine#BLS 4_F_JOB_ASSASSIN,{
if (BSMITH_Q == 10 && countitem(1219) > 0) {
cutin "Job_Black_hucke01",2;
mes "[Wickebine]";
@@ -1107,7 +1107,7 @@ morocc,27,112,4 script Wickebine#BLS 725,{
}
}
-lighthalzen,209,80,4 script Krongast#BLS 734,{
+lighthalzen,209,80,4 script Krongast#BLS 4_M_JOB_KNIGHT2,{
if (BSMITH_Q == 11 && countitem(1119) > 0) {
mes "[Krongast]";
mes "Ohhhhhh~";
@@ -1185,7 +1185,7 @@ lighthalzen,209,80,4 script Krongast#BLS 734,{
}
}
-payon,214,79,4 script Talpiz#BLS 59,{
+payon,214,79,4 script Talpiz#BLS 1_M_ORIENT01,{
if (BSMITH_Q == 12 && countitem(1713) > 0) {
mes "[Talpiz]";
mes "Oh~";
@@ -1259,7 +1259,7 @@ payon,214,79,4 script Talpiz#BLS 59,{
}
}
-hugel,168,183,1 script Bismarc#BLS 118,{
+hugel,168,183,1 script Bismarc#BLS 2_M_THIEFMASTER,{
if (BSMITH_Q == 13 && countitem(1122) > 0) {
mes "[Bismarc]";
mes "Sweet God...";
@@ -1356,7 +1356,7 @@ hugel,168,183,1 script Bismarc#BLS 118,{
}
}
-ein_in01,24,41,5 script Blacksmith Guildsman#moc 726,{
+ein_in01,24,41,5 script Blacksmith Guildsman#moc 4_F_JOB_BLACKSMITH,{
if (BSMITH_Q == 16) {
emotion e_hmm;
mes "[Mitehmaeeuh]";
@@ -1578,7 +1578,7 @@ ein_in01,24,41,5 script Blacksmith Guildsman#moc 726,{
}
}
-geffen_in,109,170,3 script Blacksmith Guildsman#gef 726,{
+geffen_in,109,170,3 script Blacksmith Guildsman#gef 4_F_JOB_BLACKSMITH,{
mes "[Blacksmith Guildsman]";
mes "Good day, are you here to visit Blacksmith Guild?";
next;
@@ -1616,7 +1616,7 @@ geffen_in,109,170,3 script Blacksmith Guildsman#gef 726,{
mes "Excuse me, but you do not have enough money.";
close;
}
- set zeny,zeny-600;
+ Zeny -= 600;
warp "izlude",94,103;
end;
case 3: