From 99e13a34742b3c745f8b2247bc0e0a39042b78d1 Mon Sep 17 00:00:00 2001 From: Dastgir Date: Thu, 10 Dec 2015 15:31:24 +0530 Subject: ItemID to Constant: battleground Folder --- npc/battleground/tierra/tierra01.txt | 56 ++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'npc/battleground/tierra/tierra01.txt') diff --git a/npc/battleground/tierra/tierra01.txt b/npc/battleground/tierra/tierra01.txt index f0e66932d..3391fffc0 100644 --- a/npc/battleground/tierra/tierra01.txt +++ b/npc/battleground/tierra/tierra01.txt @@ -321,7 +321,7 @@ bat_a01,185,270,1 script Guillaume Blacksmith#a01 4_M_REPAIR,{ next; switch(select("Repair.:Leave it.")) { case 1: - if (countitem(7049) > 49) { + if (countitem(Stone) > 49) { mes "[Guillaume Blacksmith]"; mes "You brought enough stones! Let's go and repair."; next; @@ -364,7 +364,7 @@ bat_a01,185,270,1 script Guillaume Blacksmith#a01 4_M_REPAIR,{ mes "[Guillaume Blacksmith]"; mes "Wow! It's done."; mes "We are relieved."; - delitem 7049,50; //Stone + delitem Stone,50; donpcevent "barricade#bat_a01_a::OnEnable"; close2; disablenpc "Guillaume Blacksmith#a01"; @@ -405,7 +405,7 @@ bat_a01,170,121,5 script Croix Blacksmith#bat_a01 4_M_REPAIR,{ next; switch(select("Repair.:Leave it.")) { case 1: - if (countitem(7049) > 49) { + if (countitem(Stone) > 49) { mes "[Croix Blacksmith]"; mes "You brought enough stones! Let's go and repair."; next; @@ -448,7 +448,7 @@ bat_a01,170,121,5 script Croix Blacksmith#bat_a01 4_M_REPAIR,{ mes "[Croix Blacksmith]"; mes "Wow! It's done."; mes "We are relieved."; - delitem 7049,50; //Stone + delitem Stone,50; donpcevent "barricade#bat_a01_b::OnEnable"; close2; disablenpc "Croix Blacksmith#bat_a01"; @@ -697,7 +697,7 @@ bat_a01,348,74,3 script Croix Camp#flag9 1_FLAG_EAGLE,{ end; } bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{ if (getcharid(4) == $@TierraBG1_id1) { if ($@TierraBG1_Victory == 1) { - .@your_medal = countitem(7828); + .@your_medal = countitem(BF_Badge1); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Axl Rose]"; @@ -705,7 +705,7 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7828,3; //BF_Badge1 + getitem BF_Badge1,3; } else { mes "[Axl Rose]"; @@ -713,11 +713,11 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7828,.@medal_gap; //BF_Badge1 + getitem BF_Badge1,.@medal_gap; } } else { - .@your_medal = countitem(7828); + .@your_medal = countitem(BF_Badge1); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 0) { mes "[Axl Rose]"; @@ -725,7 +725,7 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, and next time you will definitely win."; close2; - getitem 7828,1; //BF_Badge1 + getitem BF_Badge1,1; } else { mes "[Axl Rose]"; @@ -733,13 +733,13 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, and next time you will definitely win."; close2; - getitem 7828,.@medal_gap; //BF_Badge1 + getitem BF_Badge1,.@medal_gap; } } } else { if ($@TierraBG1_Victory == 2) { - .@your_medal = countitem(7828); + .@your_medal = countitem(BF_Badge1); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 0) { mes "[Axl Rose]"; @@ -747,7 +747,7 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, and next time you will definitely win."; close2; - getitem 7828,1; //BF_Badge1 + getitem BF_Badge1,1; } else { mes "[Axl Rose]"; @@ -755,11 +755,11 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, and next time you will definitely win."; close2; - getitem 7828,.@medal_gap; //BF_Badge1 + getitem BF_Badge1,.@medal_gap; } } else { - .@your_medal = countitem(7828); + .@your_medal = countitem(BF_Badge1); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Axl Rose]"; @@ -767,7 +767,7 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7828,3; //BF_Badge1 + getitem BF_Badge1,3; } else { mes "[Axl Rose]"; @@ -775,7 +775,7 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign of victory."; close2; - getitem 7828,.@medal_gap; //BF_Badge1 + getitem BF_Badge1,.@medal_gap; } } } @@ -791,7 +791,7 @@ OnInit: bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{ if (getcharid(4) == $@TierraBG1_id2) { if ($@TierraBG1_Victory == 2) { - .@your_medal = countitem(7828); + .@your_medal = countitem(BF_Badge1); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Swandery]"; @@ -799,7 +799,7 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7828,3; //BF_Badge1 + getitem BF_Badge1,3; } else { mes "[Swandery]"; @@ -807,11 +807,11 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7828,.@medal_gap; //BF_Badge1 + getitem BF_Badge1,.@medal_gap; } } else { - .@your_medal = countitem(7828); + .@your_medal = countitem(BF_Badge1); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 0) { mes "[Swandery]"; @@ -819,7 +819,7 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{ mes "Even though we didn't win, we did our best."; mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."; close2; - getitem 7828,1; //BF_Badge1 + getitem BF_Badge1,1; } else { mes "[Swandery]"; @@ -827,13 +827,13 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{ mes "Even though we didn't win, we did our best."; mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."; close2; - getitem 7828,.@medal_gap; //BF_Badge1 + getitem BF_Badge1,.@medal_gap; } } } else { if ($@TierraBG1_Victory == 1) { - .@your_medal = countitem(7828); + .@your_medal = countitem(BF_Badge1); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 0) { mes "[Swandery]"; @@ -841,7 +841,7 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{ mes "Even though we didn't win, we did our best."; mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."; close2; - getitem 7828,1; //BF_Badge1 + getitem BF_Badge1,1; } else { mes "[Swandery]"; @@ -849,11 +849,11 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{ mes "Even though we didn't win, we did our best."; mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."; close2; - getitem 7828,.@medal_gap; //BF_Badge1 + getitem BF_Badge1,.@medal_gap; } } else { - .@your_medal = countitem(7828); + .@your_medal = countitem(BF_Badge1); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Swandery]"; @@ -861,7 +861,7 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7828,3; //BF_Badge1 + getitem BF_Badge1,3; } else { mes "[Swandery]"; @@ -869,7 +869,7 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7828,.@medal_gap; //BF_Badge1 + getitem BF_Badge1,.@medal_gap; } } } -- cgit v1.2.3-60-g2f50