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/first_class/tu_ma_th01.txt | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'npc/quests/first_class/tu_ma_th01.txt') diff --git a/npc/quests/first_class/tu_ma_th01.txt b/npc/quests/first_class/tu_ma_th01.txt index 282ad6a50..787d64498 100644 --- a/npc/quests/first_class/tu_ma_th01.txt +++ b/npc/quests/first_class/tu_ma_th01.txt @@ -297,7 +297,7 @@ moc_fild11,205,52,0 script Trace of Battle#5 CLEAR_NPC,{ mes "^3355FFThe traces of the battle"; mes "now split and head towards"; mes "the north and south. However,^000000"; - if(countitem(506) == 0){ + if(countitem(Green_Potion) == 0){ mes "^3355FFthere is a puddle of strong poison that you must neutralize before you can investigate this scene.^000000"; close; } else { @@ -366,7 +366,7 @@ moc_fild11,205,52,0 script Trace of Battle#5 CLEAR_NPC,{ mes "^3355FFThe traces of the battle"; mes "now split and head towards"; mes "the north and south. However,^000000"; - if(countitem(506) == 0){ + if(countitem(Green_Potion) == 0){ mes "^3355FFthere is a puddle of strong poison that you must neutralize before you can investigate this scene.^000000"; close; } else { @@ -979,7 +979,7 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{ next; switch(select("Pour Green Potion.:Don't use Green Potion.")){ case 1: - if(countitem(506) < 1){ + if(countitem(Green_Potion) < 1){ mes "^3355FFUnfortunately, you"; mes "don't have a Green"; mes "Potion that you can"; @@ -991,7 +991,7 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{ mes "really make anything"; mes "happen. Perhaps you"; mes "should try something else.^000000"; - delitem 506,1; //Green_Potion + delitem Green_Potion,1; tu_thief01 = 23; close; } @@ -1012,8 +1012,8 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{ close; } } else if(tu_thief01 == 23){ - if(countitem(511) > 0 || countitem(716) > 0){ - if(countitem(511) > 0 && countitem(716) > 0){ + if(countitem(Green_Herb) > 0 || countitem(Red_Gemstone) > 0){ + if(countitem(Green_Herb) > 0 && countitem(Red_Gemstone) > 0){ mes "^3355FFYou try grinding"; mes "a Green Herb and"; mes "sprinkling it on the"; @@ -1029,11 +1029,11 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{ mes "to successfully dismantle"; mes "the trap. Now you can safely"; mes "check what might be inside.^000000"; - delitem 511,1; //Green_Herb - delitem 716,1; //Red_Gemstone + delitem Green_Herb,1; + delitem Red_Gemstone,1; tu_thief01 = 24; close; - } else if(countitem(511) > 0){ + } else if(countitem(Green_Herb) > 0){ mes "^3355FFYou should try to"; mes "dismantle this trap"; mes "by using other catalysts"; @@ -1133,7 +1133,7 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{ next; switch(select("Pour Green Potion.:Don't use Green Potion.")){ case 1: - if(countitem(506) < 1){ + if(countitem(Green_Potion) < 1){ mes "^3355FFUnfortunately, you"; mes "don't have a Green"; mes "Potion that you can"; @@ -1145,7 +1145,7 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{ mes "really make anything"; mes "happen. Perhaps you"; mes "should try something else.^000000"; - delitem 506,1; //Green_Potion + delitem Green_Potion,1; tu_magician01 = 23; close; } @@ -1166,8 +1166,8 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{ close; } } else if(tu_magician01 == 23){ - if(countitem(511) > 0 || countitem(716) > 0){ - if(countitem(511) > 0 && countitem(716) > 0){ + if(countitem(Green_Herb) > 0 || countitem(Red_Gemstone) > 0){ + if(countitem(Green_Herb) > 0 && countitem(Red_Gemstone) > 0){ mes "^3355FFYou try grinding"; mes "a Green Herb and"; mes "sprinkling it on the"; @@ -1183,11 +1183,11 @@ moc_fild18,109,197,0 script Trace of Battle#15 CLEAR_NPC,{ mes "to successfully dismantle"; mes "the trap. Now you can safely"; mes "check what might be inside.^000000"; - delitem 511,1; //Green_Herb - delitem 716,1; //Red_Gemstone + delitem Green_Herb,1; + delitem Red_Gemstone,1; tu_magician01 = 24; close; - } else if(countitem(511) > 0){ + } else if(countitem(Green_Herb) > 0){ mes "^3355FFYou should try to"; mes "dismantle this trap"; mes "by using other catalysts"; -- cgit v1.2.3-70-g09d2