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/bg_common.txt | 2 +- npc/battleground/flavius/flavius01.txt | 60 +++++++++++++++--------------- npc/battleground/flavius/flavius02.txt | 60 +++++++++++++++--------------- npc/battleground/flavius/flavius_enter.txt | 8 ++-- npc/battleground/kvm/kvm_item_pay.txt | 6 +-- npc/battleground/tierra/tierra01.txt | 56 ++++++++++++++-------------- npc/battleground/tierra/tierra02.txt | 56 ++++++++++++++-------------- npc/battleground/tierra/tierra_enter.txt | 8 ++-- 8 files changed, 128 insertions(+), 128 deletions(-) diff --git a/npc/battleground/bg_common.txt b/npc/battleground/bg_common.txt index 35cc52fe5..74bc26430 100644 --- a/npc/battleground/bg_common.txt +++ b/npc/battleground/bg_common.txt @@ -386,7 +386,7 @@ bat_room,1,151,3 script Switch#batgnd 4_DOG01,{ //== Badges Exchange ======================================= bat_room,160,150,3 script Erundek 4_M_MANAGER,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; diff --git a/npc/battleground/flavius/flavius01.txt b/npc/battleground/flavius/flavius01.txt index bed6e8115..8b02b0469 100644 --- a/npc/battleground/flavius/flavius01.txt +++ b/npc/battleground/flavius/flavius01.txt @@ -407,7 +407,7 @@ OnTouch: bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{ if ($@FlaviusBG1_id1 == getcharid(4)) { if ($@FlaviusBG1_Victory == 1) { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 8) { mes "[Axl Rose]"; @@ -415,7 +415,7 @@ bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,9; //BF_Badge2 + getitem BF_Badge2,9; } else { mes "[Axl Rose]"; @@ -423,11 +423,11 @@ bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } else { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Axl Rose]"; @@ -435,7 +435,7 @@ bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, next time you will definitely win."; close2; - getitem 7829,3; //BF_Badge2 + getitem BF_Badge2,3; } else { mes "[Axl Rose]"; @@ -443,7 +443,7 @@ bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, next time you will definitely win."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } } @@ -459,7 +459,7 @@ OnInit: bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{ if ($@FlaviusBG1_id2 == getcharid(4)) { if ($@FlaviusBG1_Victory == 2) { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 8) { mes "[Swandery]"; @@ -467,7 +467,7 @@ bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,9; //BF_Badge2 + getitem BF_Badge2,9; } else { mes "[Swandery]"; @@ -475,11 +475,11 @@ bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } else { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Swandery]"; @@ -487,7 +487,7 @@ bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{ 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 7829,3; //BF_Badge2 + getitem BF_Badge2,3; } else { mes "[Swandery]"; @@ -495,7 +495,7 @@ bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{ 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 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } } @@ -592,7 +592,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{ .@A_B_gap = $@Guill_ScoreBG1 - $@Croix_ScoreBG1; if ($@FlaviusBG1_id1 == getcharid(4)) { if (.@A_B_gap > 0) { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 8) { mes "[Axl Rose]"; @@ -600,7 +600,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,9; //BF_Badge2 + getitem BF_Badge2,9; } else { mes "[Axl Rose]"; @@ -608,11 +608,11 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } else if (.@A_B_gap == 0) { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Axl Rose]"; @@ -620,7 +620,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, next time you will definitely win."; close2; - getitem 7829,3; //BF_Badge2 + getitem BF_Badge2,3; } else { mes "[Axl Rose]"; @@ -628,11 +628,11 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, next time you will definitely win."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } else { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Axl Rose]"; @@ -640,7 +640,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, next time you will definitely win."; close2; - getitem 7829,3; //BF_Badge2 + getitem BF_Badge2,3; } else { mes "[Axl Rose]"; @@ -648,7 +648,7 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, next time you will definitely win."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } } @@ -670,7 +670,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{ .@A_B_gap = $@Guill_ScoreBG1 - $@Croix_ScoreBG1; if ($@FlaviusBG1_id2 == getcharid(4)) { if (.@A_B_gap > 0) { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Swandery]"; @@ -678,7 +678,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 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 7829,3; //BF_Badge2 + getitem BF_Badge2,3; } else { mes "[Swandery]"; @@ -686,11 +686,11 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 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 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } else if (.@A_B_gap == 0) { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Swandery]"; @@ -698,7 +698,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 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 7829,3; //BF_Badge2 + getitem BF_Badge2,3; } else { mes "[Swandery]"; @@ -706,11 +706,11 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 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 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } else { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 8) { mes "[Swandery]"; @@ -718,7 +718,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,9; //BF_Badge2 + getitem BF_Badge2,9; } else { mes "[Swandery]"; @@ -726,7 +726,7 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } } diff --git a/npc/battleground/flavius/flavius02.txt b/npc/battleground/flavius/flavius02.txt index 182a067c1..3d474cff5 100644 --- a/npc/battleground/flavius/flavius02.txt +++ b/npc/battleground/flavius/flavius02.txt @@ -407,7 +407,7 @@ OnTouch: bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{ if ($@FlaviusBG2_id1 == getcharid(4)) { if ($@FlaviusBG2_Victory == 1) { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 8) { mes "[Axl Rose]"; @@ -415,7 +415,7 @@ bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,9; //BF_Badge2 + getitem BF_Badge2,9; } else { mes "[Axl Rose]"; @@ -423,11 +423,11 @@ bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } else { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Axl Rose]"; @@ -435,7 +435,7 @@ bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, next time you will definitely win."; close2; - getitem 7829,3; //BF_Badge2 + getitem BF_Badge2,3; } else { mes "[Axl Rose]"; @@ -443,7 +443,7 @@ bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, next time you will definitely win."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } } @@ -459,7 +459,7 @@ OnInit: bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{ if ($@FlaviusBG2_id2 == getcharid(4)) { if ($@FlaviusBG2_Victory == 2) { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 8) { mes "[Swandery]"; @@ -467,7 +467,7 @@ bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,9; //BF_Badge2 + getitem BF_Badge2,9; } else { mes "[Swandery]"; @@ -475,11 +475,11 @@ bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } else { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Swandery]"; @@ -487,7 +487,7 @@ bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{ 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 7829,3; //BF_Badge2 + getitem BF_Badge2,3; } else { mes "[Swandery]"; @@ -495,7 +495,7 @@ bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{ 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 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } } @@ -592,7 +592,7 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{ .@A_B_gap = $@Guill_ScoreBG2 - $@Croix_ScoreBG2; if ($@FlaviusBG2_id1 == getcharid(4)) { if (.@A_B_gap > 0) { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 8) { mes "[Axl Rose]"; @@ -600,7 +600,7 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,9; //BF_Badge2 + getitem BF_Badge2,9; } else { mes "[Axl Rose]"; @@ -608,11 +608,11 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } else if (.@A_B_gap == 0) { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Axl Rose]"; @@ -620,7 +620,7 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, next time you will definitely win."; close2; - getitem 7829,3; //BF_Badge2 + getitem BF_Badge2,3; } else { mes "[Axl Rose]"; @@ -628,11 +628,11 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, next time you will definitely win."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } else { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Axl Rose]"; @@ -640,7 +640,7 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, next time you will definitely win."; close2; - getitem 7829,3; //BF_Badge2 + getitem BF_Badge2,3; } else { mes "[Axl Rose]"; @@ -648,7 +648,7 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{ mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat as a lesson, next time you will definitely win."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } } @@ -670,7 +670,7 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{ .@A_B_gap = $@Guill_ScoreBG2 - $@Croix_ScoreBG2; if ($@FlaviusBG2_id2 == getcharid(4)) { if (.@A_B_gap > 0) { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Swandery]"; @@ -678,7 +678,7 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 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 7829,3; //BF_Badge2 + getitem BF_Badge2,3; } else { mes "[Swandery]"; @@ -686,11 +686,11 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 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 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } else if (.@A_B_gap == 0) { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { mes "[Swandery]"; @@ -698,7 +698,7 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 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 7829,3; //BF_Badge2 + getitem BF_Badge2,3; } else { mes "[Swandery]"; @@ -706,11 +706,11 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 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 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } else { - .@your_medal = countitem(7829); + .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 8) { mes "[Swandery]"; @@ -718,7 +718,7 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,9; //BF_Badge2 + getitem BF_Badge2,9; } else { mes "[Swandery]"; @@ -726,7 +726,7 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{ mes "Let's enjoy our glorious victory!"; mes ""+strcharinfo(0)+", it's a sign reflecting victory."; close2; - getitem 7829,.@medal_gap; //BF_Badge2 + getitem BF_Badge2,.@medal_gap; } } } diff --git a/npc/battleground/flavius/flavius_enter.txt b/npc/battleground/flavius/flavius_enter.txt index 243203d6e..392746ff3 100644 --- a/npc/battleground/flavius/flavius_enter.txt +++ b/npc/battleground/flavius/flavius_enter.txt @@ -34,7 +34,7 @@ //== Flavius Officer - Guillaume =========================== bat_room,133,178,5 script Flavius Officer#01a 4_M_KY_KNT,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; @@ -94,7 +94,7 @@ bat_room,133,178,5 script Flavius Officer#01a 4_M_KY_KNT,{ } bat_room,133,121,1 script Flavius Officer#01b 4_M_CRU_KNT,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; @@ -243,7 +243,7 @@ bat_room,151,121,1 script Croix Knight#4 4_M_CRU_SOLD,{ //== Flavius Officer - Croix =============================== bat_room,148,178,5 script Flavius Officer#02a 4_M_KY_KNT,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; @@ -303,7 +303,7 @@ bat_room,148,178,5 script Flavius Officer#02a 4_M_KY_KNT,{ } bat_room,148,121,1 script Flavius Officer#02b 4_M_CRU_KNT,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; diff --git a/npc/battleground/kvm/kvm_item_pay.txt b/npc/battleground/kvm/kvm_item_pay.txt index aa3ade66b..2217e3f77 100644 --- a/npc/battleground/kvm/kvm_item_pay.txt +++ b/npc/battleground/kvm/kvm_item_pay.txt @@ -37,8 +37,8 @@ //========================================================================= bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{ - if (countitem(7773)) { - .@pointstoadd = countitem(7773); + if (countitem(War_Badge)) { + .@pointstoadd = countitem(War_Badge); delitem 7773,.@pointstoadd; kvm_point += .@pointstoadd; mes "[Logistics]"; @@ -49,7 +49,7 @@ bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{ mes "Alright, all set, you now have ^580080"+ kvm_point +"^000000 KVM Points."; next; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; 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; } } } diff --git a/npc/battleground/tierra/tierra02.txt b/npc/battleground/tierra/tierra02.txt index 86913ee6f..f84f083d5 100644 --- a/npc/battleground/tierra/tierra02.txt +++ b/npc/battleground/tierra/tierra02.txt @@ -321,7 +321,7 @@ bat_a02,185,270,1 script Guillaume Blacksmith#a02 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_a02,185,270,1 script Guillaume Blacksmith#a02 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_a02_a::OnEnable"; close2; disablenpc "Guillaume Blacksmith#a02"; @@ -405,7 +405,7 @@ bat_a02,170,121,5 script Croix Blacksmith#bat_a02 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_a02,170,121,5 script Croix Blacksmith#bat_a02 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_a02_b::OnEnable"; close2; disablenpc "Croix Blacksmith#bat_a02"; @@ -697,7 +697,7 @@ bat_a02,348,74,3 script Croix Camp#flag19 1_FLAG_EAGLE,{ end; } bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{ if (getcharid(4) == $@TierraBG2_id1) { if ($@TierraBG2_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_a02,53,377,3 script Guillaume Vintenar#a02_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_a02,53,377,3 script Guillaume Vintenar#a02_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_a02,53,377,3 script Guillaume Vintenar#a02_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_a02,53,377,3 script Guillaume Vintenar#a02_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 ($@TierraBG2_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_a02,53,377,3 script Guillaume Vintenar#a02_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_a02,53,377,3 script Guillaume Vintenar#a02_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_a02,53,377,3 script Guillaume Vintenar#a02_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_a02,53,377,3 script Guillaume Vintenar#a02_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_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{ if (getcharid(4) == $@TierraBG2_id2) { if ($@TierraBG2_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_a02,45,19,3 script Croix Vintenar#a02_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_a02,45,19,3 script Croix Vintenar#a02_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_a02,45,19,3 script Croix Vintenar#a02_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_a02,45,19,3 script Croix Vintenar#a02_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 ($@TierraBG2_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_a02,45,19,3 script Croix Vintenar#a02_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_a02,45,19,3 script Croix Vintenar#a02_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_a02,45,19,3 script Croix Vintenar#a02_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_a02,45,19,3 script Croix Vintenar#a02_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; } } } diff --git a/npc/battleground/tierra/tierra_enter.txt b/npc/battleground/tierra/tierra_enter.txt index c7dbd10ae..f742c07f8 100644 --- a/npc/battleground/tierra/tierra_enter.txt +++ b/npc/battleground/tierra/tierra_enter.txt @@ -34,7 +34,7 @@ //== First Tierra Gorge Officers - Guillaume =============== bat_room,124,178,5 script Tierra Gorge Officer#01a 4_M_KY_KNT,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; @@ -94,7 +94,7 @@ bat_room,124,178,5 script Tierra Gorge Officer#01a 4_M_KY_KNT,{ } bat_room,140,178,5 script Tierra Gorge Officer#02a 4_M_KY_KNT,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; @@ -251,7 +251,7 @@ bat_room,143,121,1 script Croix Knight#2 4_M_CRU_SOLD,{ //== Second Tierra Gorge Officers - Croix ================== bat_room,125,121,1 script Tierra Gorge Officer#01b 4_M_CRU_KNT,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; @@ -311,7 +311,7 @@ bat_room,125,121,1 script Tierra Gorge Officer#01b 4_M_CRU_KNT,{ } bat_room,140,121,1 script Tierra Gorge Officer#02b 4_M_CRU_KNT,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; -- cgit v1.2.3-60-g2f50