From bd18b127755adaea4d958574b5b7f26c8d818b50 Mon Sep 17 00:00:00 2001 From: Dastgir Date: Thu, 10 Dec 2015 15:36:07 +0530 Subject: ItemID to Constant: pre-re Folder --- npc/pre-re/jobs/1-1/mage.txt | 64 ++++++++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'npc/pre-re/jobs/1-1/mage.txt') diff --git a/npc/pre-re/jobs/1-1/mage.txt b/npc/pre-re/jobs/1-1/mage.txt index 0108f6a04..4836258c4 100644 --- a/npc/pre-re/jobs/1-1/mage.txt +++ b/npc/pre-re/jobs/1-1/mage.txt @@ -139,7 +139,7 @@ geffen_in,164,124,4 script Mage Guildsman 2_F_MAGICMASTER,{ job_magician_q = 4; } next; - getitem 1092,1; //Empty_Cylinder + getitem Empty_Cylinder,1; mes "[Mage Guildsman]"; mes "You can find the neccessary ingredients inside the Guide Book in this Guild. So you better look up what you need before you go."; next; @@ -175,13 +175,13 @@ geffen_in,164,124,4 script Mage Guildsman 2_F_MAGICMASTER,{ mes "solution accurately..."; next; mes "[Mage Guildsman]"; - if (countitem(1071) == 0 && countitem(1085) == 0 && countitem(1086) == 0 && countitem(1087) == 0 && countitem(1090) == 0) { + if (countitem(Mage_Test_1) == 0 && countitem(Mage_Test_2) == 0 && countitem(Mage_Test_3) == 0 && countitem(Mage_Test_4) == 0 && countitem(Mage_Test_Etc) == 0) { mes "Hey, where's the Solution"; mes "I asked for...? I can't check it if you don't show it to me, right?"; close; } else { - if ((job_magician_q == 1 && countitem(1071) == 0) || (job_magician_q == 2 && countitem(1085) == 0) || (job_magician_q == 3 && countitem(1086) == 0) || (job_magician_q == 4 && countitem(1087) == 0)) { + if ((job_magician_q == 1 && countitem(Mage_Test_1) == 0) || (job_magician_q == 2 && countitem(Mage_Test_2) == 0) || (job_magician_q == 3 && countitem(Mage_Test_3) == 0) || (job_magician_q == 4 && countitem(Mage_Test_4) == 0)) { mes "Wait."; mes "This isn't the"; mes "Solution I asked for!"; @@ -196,19 +196,19 @@ geffen_in,164,124,4 script Mage Guildsman 2_F_MAGICMASTER,{ else mes "You're supposed to make Mixed Solution No. 4 and bring it back to me. Now go and try it again."; - if (countitem(1071) != 0) delitem 1071,1; //Mage_Test_1 - else if (countitem(1085) != 0) delitem 1085,1; //Mage_Test_2 - else if (countitem(1086) != 0) delitem 1086,1; //Mage_Test_3 - else if (countitem(1087) != 0) delitem 1087,1; //Mage_Test_4 - else delitem 1090,1; //Mage_Test_Etc + if (countitem(Mage_Test_1) != 0) delitem Mage_Test_1,1; + else if (countitem(Mage_Test_2) != 0) delitem Mage_Test_2,1; + else if (countitem(Mage_Test_3) != 0) delitem Mage_Test_3,1; + else if (countitem(Mage_Test_4) != 0) delitem Mage_Test_4,1; + else delitem Mage_Test_Etc,1; close; } } - if (countitem(1071) != 0) delitem 1071,1; //Mage_Test_1 - else if (countitem(1085) != 0) delitem 1085,1; //Mage_Test_2 - else if (countitem(1086) != 0) delitem 1086,1; //Mage_Test_3 - else if (countitem(1087) != 0) delitem 1087,1; //Mage_Test_4 - else delitem 1090,1; //Mage_Test_Etc + if (countitem(Mage_Test_1) != 0) delitem Mage_Test_1,1; + else if (countitem(Mage_Test_2) != 0) delitem Mage_Test_2,1; + else if (countitem(Mage_Test_3) != 0) delitem Mage_Test_3,1; + else if (countitem(Mage_Test_4) != 0) delitem Mage_Test_4,1; + else delitem Mage_Test_Etc,1; mes "Hmm. I can see that you tried really hard. For a beginner's attempt, this is really good."; mes "Great work!"; next; @@ -312,7 +312,7 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ next; switch(select("Payon Solution.:Morroc Solution.:No Solvent.")) { case 1: - if (countitem(1089) == 0) { + if (countitem(Payon_Potion) == 0) { mes "[Mixing Machine]"; mes "Error."; mes "Cannot find the item."; @@ -323,7 +323,7 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ .@mixitem2 = 1; break; case 2: - if (countitem(1088) == 0) { + if (countitem(Morocc_Potion) == 0) { mes "[Mixing Machine]"; mes "Error."; mes "Cannot find the item."; @@ -366,37 +366,37 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ mes "Place items into the Mixing Receptacle now. Please wait."; next; mes "[Mixing Machine]"; - if (countitem(909) < .@mixitem1_1) { + if (countitem(Jellopy) < .@mixitem1_1) { mes "Insufficient Jellopy."; mes "Please Check again."; mes "Process Halted."; close; } - else if (countitem(914) < .@mixitem1_2) { + else if (countitem(Fluff) < .@mixitem1_2) { mes "Insufficient Fluff."; mes "Please Check again."; mes "Process Halted."; close; } - else if (countitem(519) < .@mixitem1_3) { + else if (countitem(Milk) < .@mixitem1_3) { mes "Insufficient Milk."; mes "Please Check again."; mes "Process Halted."; close; } else if (.@mixitem2 == 1 || .@mixitem2 == 2) { - if (countitem(1089) == 0 && countitem(1088) == 0) { + if (countitem(Payon_Potion) == 0 && countitem(Morocc_Potion) == 0) { mes "Solution not found."; mes "Please Check again."; mes "Process Halted."; close; } } - if (.@mixitem1_1 != 0) delitem 909,.@mixitem1_1; //Jellopy - if (.@mixitem1_2 != 0) delitem 914,.@mixitem1_2; //Fluff - if (.@mixitem1_3 != 0) delitem 519,.@mixitem1_3; //Milk - if (.@mixitem2 == 1) delitem 1089,1; //Payon_Potion - if (.@mixitem2 == 2) delitem 1088,1; //Morocc_Potion + if (.@mixitem1_1 != 0) delitem Jellopy,.@mixitem1_1; + if (.@mixitem1_2 != 0) delitem Fluff,.@mixitem1_2; + if (.@mixitem1_3 != 0) delitem Milk,.@mixitem1_3; + if (.@mixitem2 == 1) delitem Payon_Potion,1; + if (.@mixitem2 == 2) delitem Morocc_Potion,1; mes "Items are Ready."; mes "Close the Lid."; .@progress = 3; @@ -445,7 +445,7 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ next; } else { - if (countitem(909) > 0) .@mixitem1_1 += .@input; + if (countitem(Jellopy) > 0) .@mixitem1_1 += .@input; .@progress = 2; break; } @@ -461,7 +461,7 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ next; } else { - if (countitem(914) > 0) .@mixitem1_2 += .@input; + if (countitem(Fluff) > 0) .@mixitem1_2 += .@input; .@progress = 2; break; } @@ -477,7 +477,7 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ next; } else { - if (countitem(519) > 0) .@mixitem1_3 += .@input; + if (countitem(Milk) > 0) .@mixitem1_3 += .@input; .@progress = 2; break; } @@ -574,32 +574,32 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ if (.@mixitem1_1 == 2 && .@mixitem1_2 == 3 && .@mixitem1_3 == 1 && .@mixitem2 == 1 && .@mixitem3 == 1 && .@magic_powder == 1) { mes "[Mixing Machine]"; mes "Mage Test Solution No. 1."; - getitem 1071,1; //Mage_Test_1 + getitem Mage_Test_1,1; next; } else if (.@mixitem1_1 == 3 && .@mixitem1_2 == 1 && .@mixitem1_3 == 1 && .@mixitem2 == 0 && .@mixitem3 == 2 && .@magic_powder == 2) { mes "[Mixing Machine]"; mes "Mage Test Solution No. 2."; - getitem 1085,1; //Mage_Test_2 + getitem Mage_Test_2,1; next; } else if (.@mixitem1_1 == 6 && .@mixitem1_2 == 1 && .@mixitem1_3 == 0 && .@mixitem2 == 1 && .@mixitem3 == 3 && .@magic_powder == 3) { mes "[Mixing Machine]"; mes "Mage Test Solution No. 3."; - getitem 1086,1; //Mage_Test_3 + getitem Mage_Test_3,1; next; } else if (.@mixitem1_1 == 2 && .@mixitem1_2 == 3 && .@mixitem1_3 == 0 && .@mixitem2 == 2 && .@mixitem3 == 4 && .@magic_powder == 4) { mes "[Mixing Machine]"; mes "Mage Test Solution No. 4."; - getitem 1087,1; //Mage_Test_4 + getitem Mage_Test_4,1; next; } else { mes "[Mixing Machine]"; mes "Unexpected"; mes "Error Occurred."; - getitem 1090,1; //Mage_Test_Etc + getitem Mage_Test_Etc,1; next; } mes "[Mixing Machine]"; -- cgit v1.2.3-60-g2f50