diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-07 04:52:02 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-07 04:52:02 +0000 |
commit | aa0c6f842d41eafbc60ca9cfbaa69e6914d46ae0 (patch) | |
tree | 5b67fa6f71bd33af187301029a5d86b8ee99481c /npc/jobs/1-1/merchant.txt | |
parent | 6dcb99e42257de276814d3fe42a19c8f85e776d2 (diff) | |
download | hercules-aa0c6f842d41eafbc60ca9cfbaa69e6914d46ae0.tar.gz hercules-aa0c6f842d41eafbc60ca9cfbaa69e6914d46ae0.tar.bz2 hercules-aa0c6f842d41eafbc60ca9cfbaa69e6914d46ae0.tar.xz hercules-aa0c6f842d41eafbc60ca9cfbaa69e6914d46ae0.zip |
turned the rest of job numbers to constants
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7554 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/1-1/merchant.txt')
-rw-r--r-- | npc/jobs/1-1/merchant.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/npc/jobs/1-1/merchant.txt b/npc/jobs/1-1/merchant.txt index 41baf4dca..d04f0c2b0 100644 --- a/npc/jobs/1-1/merchant.txt +++ b/npc/jobs/1-1/merchant.txt @@ -25,10 +25,10 @@ alberta_in.gat,53,43,6 script Chief Mahnsoo 86,{
callfunc "F_ToHigh",Job_Merchant_High,"Merchant High",Job_Whitesmith,"Chief Mahnsoo";
mes "[Chief Mahnsoo]";
- if(BaseJob==Job_Novice && job_merchant_q3 == 4) goto L_MakeMerc;
- if(BaseJob==Job_Novice && job_merchant_q3 == 3) goto L_GiveRecpt;
- if(BaseJob==Job_Novice && job_merchant_q3 == 5) goto L_Failed;
- if(BaseJob==Job_Novice && job_merchant_q2 > 0) goto L_Back;
+ if(BaseJob == Job_Novice && job_merchant_q3 == 4) goto L_MakeMerc;
+ if(BaseJob == Job_Novice && job_merchant_q3 == 3) goto L_GiveRecpt;
+ if(BaseJob == Job_Novice && job_merchant_q3 == 5) goto L_Failed;
+ if(BaseJob == Job_Novice && job_merchant_q2 > 0) goto L_Back;
mes "What brings you here? Something on your mind?";
M_Menu:
@@ -37,7 +37,7 @@ M_Menu: M_0:
- if(BaseJob==Job_Merchant) {
+ if(BaseJob == Job_Merchant) {
mes "[Chief Mahnsoo]";
mes "Huh? What did you say? You noodle head! Take a good look at yourself. Your ALREADY A MERCHANT! Good lord!";
emotion e_what;
@@ -401,7 +401,7 @@ L_Failed: // -- Wharehouse Manager Kay --
alberta_in.gat,28,29,2 script Merchant Guildsman 83,{
- if(BaseJob==Job_Novice && job_merchant_q3 > 0) goto L_Check;
+ if(BaseJob == Job_Novice && job_merchant_q3 > 0) goto L_Check;
mes "[Wharehouse Manager Kay]";
mes "Hey~ What brings you here?";
@@ -410,7 +410,7 @@ alberta_in.gat,28,29,2 script Merchant Guildsman 83,{ M_0:
mes "[Wharehouse Manager Kay]";
- if(BaseJob!=0) goto L_NotNov;
+ if(BaseJob != Job_Novice) goto L_NotNov;
if(job_merchant_q==0) goto L_NotRdy;
mes "You're ^0000cc"+ strcharinfo(0) +"^000000, right? Ok I'll give you a product to deliver. First I'll need the destination";
next;
@@ -721,7 +721,7 @@ L_WrongDest: // -- Kafra(Prontera) --
prontera.gat,248,42,8 script Kafra#01 115,{
cutin "kafra_03",2;
- if(BaseJob==Job_Novice && job_merchant_q3>0) goto L_Start;
+ if(BaseJob == Job_Novice && job_merchant_q3>0) goto L_Start;
L_Other:
mes "[Kafra]";
mes "Hello. I am a Kafra Service Agent. As you can see, the ^3355FFSwordsman Association^000000 has moved to Izlude.";
@@ -828,7 +828,7 @@ L_WrongDest: // -- Guild Staff --
geffen_in.gat,155,122,4 script Guild Staff 47,{
- if(BaseJob==Job_Novice && job_merchant_q3>0) goto L_Start;
+ if(BaseJob == Job_Novice && job_merchant_q3>0) goto L_Start;
L_Other:
mes "[Guild Staff]";
mes "It should be arriving any time now...... it seems to be late.... Hmm...";
@@ -898,7 +898,7 @@ L_WrongProd: // -- Dyer's Student --
morocc_in.gat,140,102,4 script Dyer's Student 86,{
- if(BaseJob==Job_Novice && job_merchant_q3>0) goto L_Start;
+ if(BaseJob == Job_Novice && job_merchant_q3>0) goto L_Start;
L_Other:
mes "[Dyer's Student]";
|