From 48122727289c06906d8c4e38e183bb0a16ddbb53 Mon Sep 17 00:00:00 2001 From: Dastgir Date: Thu, 10 Dec 2015 15:35:54 +0530 Subject: ItemID to Constant: quests/woe Folder --- npc/quests/quests_umbala.txt | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'npc/quests/quests_umbala.txt') diff --git a/npc/quests/quests_umbala.txt b/npc/quests/quests_umbala.txt index 3381c0b2f..bf228dd16 100644 --- a/npc/quests/quests_umbala.txt +++ b/npc/quests/quests_umbala.txt @@ -248,7 +248,7 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{ } } else if (event_umbala == 2) { - if ((countitem(7151) > 9) && (countitem(7111) > 4) && (countitem(1024) > 0) && (countitem(916) > 0)) { + if ((countitem(Oil_Paper) > 9) && (countitem(Smooth_Paper) > 4) && (countitem(Chinese_Ink) > 0) && (countitem(Feather_Of_Birds) > 0)) { mes "[Karkatan]"; mes "Okay, I guess we're good to go."; mes "Let's get the lesson started."; @@ -273,10 +273,10 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{ mes "before you learned the language."; mes "Now go try to talk to Utans."; mes "Conversation is a very important method in understanding others."; - delitem 7151,10; //Oil_Paper - delitem 7111,5; //Smooth_Paper - delitem 1024,1; //Chinese_Ink - delitem 916,1; //Feather_Of_Birds + delitem Oil_Paper,10; + delitem Smooth_Paper,5; + delitem Chinese_Ink,1; + delitem Feather_Of_Birds,1; event_umbala = 3; next; mes "[Karkatan]"; @@ -328,7 +328,7 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{ close; } else if (event_umbala == 5) { - if (countitem(2278) > 0) { + if (countitem(Mr_Smile) > 0) { mes "[Karkatan]"; mes "Oh, you brought it! Yes, I've"; mes "always wished that I could have"; @@ -342,7 +342,7 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{ mes "Go and speak to her. Though I"; mes "am not sure what help she can give"; mes "you, I hope we will be able to return this favor."; - delitem 2278,1; //Mr_Smile + delitem Mr_Smile,1; event_umbala = 6; close; } @@ -375,7 +375,7 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{ //== Create Essence/Dismantle Stone Quest :: um_npc ======== um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{ - if (checkweight(908,600) == 0) { + if (checkweight(Spawn,600) == 0) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -488,7 +488,7 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{ mes "if you really need my power, I"; mes "will try to provide my assistance."; next; - if (checkweight(1101,10) == 0) { + if (checkweight(Sword,10) == 0) { mes "[Puchuchartan]"; mes "Wait--!"; mes "something in your possession"; @@ -599,7 +599,7 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{ mes "The natural power I gathered with"; mes "my spell lost focus and was scattered..."; delitem .@consume,.@amount; - getitem 910,1; //Garlet + getitem Garlet,1; next; mes "[Puchuchartan]"; mes "It seems the spirits of nature"; @@ -710,7 +710,7 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{ input .@input,0,11; if ((.@input > 0) && (.@input < 11)) { if (countitem(.@divide) >= .@input) { - if (checkweight(908,(.@input * 30)) == 0) { + if (checkweight(Spawn,(.@input * 30)) == 0) { mes "[Puchuchartan]"; mes "You're carrying too"; mes "many items right now."; @@ -774,16 +774,16 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{ } switch(.@divide) { case 994: - getitem 990,.@shaman_max; //Boody_Red + getitem Boody_Red,.@shaman_max; break; case 995: - getitem 991,.@shaman_max; //Crystal_Blue + getitem Crystal_Blue,.@shaman_max; break; case 996: - getitem 992,.@shaman_max; //Wind_Of_Verdure + getitem Wind_Of_Verdure,.@shaman_max; break; case 997: - getitem 993,.@shaman_max; //Yellow_Live + getitem Yellow_Live,.@shaman_max; } delitem .@divide,.@input; close; @@ -1316,7 +1316,7 @@ OnTouch: close2; um_wind = 0; MISC_QUEST |= 32768; - getitem 610,1; //Leaf_Of_Yggdrasil + getitem Leaf_Of_Yggdrasil,1; disablenpc "#unpc"; end; } -- cgit v1.2.3-70-g09d2