WoR_PRC8/_module/nss/handler_store.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

708 lines
20 KiB
Plaintext

object oTarget;
//Put this on action taken in the conversation editor
#include "nw_i0_plot"
void main()
{
object oPC = GetPCSpeaker();
//Start 1st condition block here
if (GetLocalInt(OBJECT_SELF, "MERC_GOBLIN_WA")== 1)
{
oTarget = GetNearestObjectByTag("Goblin_ArmWep_Merchant");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End 1st condition block here
//Start 2nd condition block here
else if (GetLocalInt(OBJECT_SELF, "MERC_GOBLIN_MAG")== 1)
{
oTarget = GetNearestObjectByTag("Goblin_Magic_Shop");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End 2nd condition block here
//Start 3rd condition block here
else if (GetLocalInt(OBJECT_SELF, "MERC_GOBLIN_THIEF")== 1)
{
oTarget = GetNearestObjectByTag("GOB_THIEF_STORE");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End 3rd condition block here
//Start of 4th condition block here
else if (GetLocalInt(OBJECT_SELF, "MERC_GOBLIN_JEWELER")== 1)
{
oTarget = GetNearestObjectByTag("GOB_JEWELRY_STORE");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 4th condition block here
//Start of 5th condition block here
else if (GetLocalInt(OBJECT_SELF, "MERC_GOBLIN_GENERAL")== 1)
{
oTarget = GetNearestObjectByTag("GOB_GENERAL_STORE");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 5th condition block here
//Start of 6th condition block here
else if (GetLocalInt(OBJECT_SELF, "AQUATICWEPARM")== 1)
{
oTarget = GetNearestObjectByTag("Goblin_ArmWep_Merchant");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 6th condition block here
//Start of 7th condition block here
else if (GetLocalInt(OBJECT_SELF, "AQUATICMAGIC")== 1)
{
oTarget = GetNearestObjectByTag("AQUELF_MAG_SHOP");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 7th condition block here
//Start of 8th condition block here
else if (GetLocalInt(OBJECT_SELF, "AQUATICKING")== 1)
{
oTarget = GetNearestObjectByTag("HOLY_STORE");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 8th condition block here
//Start of 9th condition block here
else if (GetLocalInt(OBJECT_SELF, "ORCLEADER")== 1)
{
oTarget = GetNearestObjectByTag("ORC_ARMWEP_SHOP");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 9th condition block here
//Start of 10th condition block here
else if (GetLocalInt(OBJECT_SELF, "BARBARIANSTORE")== 1)
{
oTarget = GetNearestObjectByTag("barb_guild");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 10th condition block here
//Start of 11th condition block here
else if (GetLocalInt(OBJECT_SELF, "TAERARMORSTORE")== 1)
{
oTarget = GetNearestObjectByTag("taerarmor");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 11th condition block here
//Start of 12th condition block here
else if (GetLocalInt(OBJECT_SELF, "TAERPOTIONSTORE")== 1)
{
oTarget = GetNearestObjectByTag("taerpotions");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 12th condition block here
//Start of 13th condition block here
else if (GetLocalInt(OBJECT_SELF, "TAGNARSBARSTORE")== 1)
{
oTarget = GetNearestObjectByTag("gars_bar_store");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 13th condition block here
//Start of 14th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMPOTIONSTORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorepotion");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 14th condition block here
//Start of 15th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMDEADTRAPSTORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstoredeadtrap");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 15th condition block here
//Start of 16th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMSCROLL8STORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorescroll8");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 16th condition block here
//Start of 17th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMSCROLL7STORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorescroll7");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 17th condition block here
//Start of 18th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMSCROLL3STORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorescroll3");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 18th condition block here
//Start of 19th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMSCROLL1STORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorescroll1");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 19th condition block here
//Start of 20th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMSCROLL6STORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorescroll6");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 20th condition block here
//Start of 21th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMGEMSTORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstoregems");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 21th condition block here
//Start of 22th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMCLOTHSTORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorecloth");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 22th condition block here
//Start of 23th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMWEAPONSTORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstoreweapon");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 23th condition block here
//Start of 24th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMARMORSTORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstoresmith");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 24th condition block here
//Start of 25th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMSCROLL4STORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorescroll4");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 25th condition block here
//Start of 26th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMLEATHERSTORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstoreleather");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 26th condition block here
//Start of 27th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMSCROLL5STORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorescroll5");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 27th condition block here
//Start of 28th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMAVGTRAPSTORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstoreavgtrap");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 28th condition block here
//Start of 29th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMSCROLL9STORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorescroll9");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 29th condition block here
//Start of 30th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMBOWYERSTORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorebowyer");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 30th condition block here
//Start of 31th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMSTRGTRAPSTORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorestrongtrap");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 31th condition block here
//Start of 32th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMMINTRAPSTORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstoremintrap");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 32th condition block here
//Start of 33th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMMGEMMERCHANT")== 1)
{
oTarget = GetNearestObjectByTag("Gem_Merchant");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 33th condition block here
//Start of 34th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMOUTERSTORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstoreouter");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 34th condition block here
//Start of 35th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMSCROLL2STORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorescroll2");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 35th condition block here
//Start of 36th condition block here
else if (GetLocalInt(OBJECT_SELF, "THIEFGUILDSTORE")== 1)
{
oTarget = GetNearestObjectByTag("thief_guild");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 36th condition block here
//Start of 37th condition block here
else if (GetLocalInt(OBJECT_SELF, "GLACIALHILLSSTORE")== 1)
{
oTarget = GetNearestObjectByTag("glacialstore");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 37th condition block here
//Start of 38th condition block here
else if (GetLocalInt(OBJECT_SELF, "NIXIESTORE")== 1)
{
oTarget = GetNearestObjectByTag("nixiestore");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 38th condition block here
//Start of 39th condition block here
else if (GetLocalInt(OBJECT_SELF, "BRASSDRAGONSTORE")== 1)
{
oTarget = GetNearestObjectByTag("tavern_store");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 39th condition block here
//Start of 40th condition block here
else if (GetLocalInt(OBJECT_SELF, "WOLFSTORE")== 1)
{
oTarget = GetNearestObjectByTag("wolfstore");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 40th condition block here
//Start of 41th condition block here
else if (GetLocalInt(OBJECT_SELF, "DRUIDSTORE")== 1)
{
oTarget = GetNearestObjectByTag("druidstore");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 41th condition block here
//Start of 42th condition block here
else if (GetLocalInt(OBJECT_SELF, "RANGERSTORE")== 1)
{
oTarget = GetNearestObjectByTag("rangerstore");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 42th condition block here
//Start of 43th condition block here
else if (GetLocalInt(OBJECT_SELF, "PALADINSTORE")== 1)
{
oTarget = GetNearestObjectByTag("paladinstore");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 43th condition block here
//Start of 44th condition block here
else if (GetLocalInt(OBJECT_SELF, "POISONSTORE")== 1)
{
oTarget = GetNearestObjectByTag("storepoison");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 44th condition block here
//Start of 45th condition block here
else if (GetLocalInt(OBJECT_SELF, "MONKSTORE")== 1)
{
oTarget = GetNearestObjectByTag("monkstore");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 45th condition block here
//Start of 46th condition block here
else if (GetLocalInt(OBJECT_SELF, "WIZARDSTORE")== 1)
{
oTarget = GetNearestObjectByTag("wizardgild");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 46th condition block here
//Start of 47th condition block here
else if (GetLocalInt(OBJECT_SELF, "SEASERPENTSTORE")== 1)
{
oTarget = GetNearestObjectByTag("seaserpent");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 47th condition block here
//Start of 48th condition block here
else if (GetLocalInt(OBJECT_SELF, "DRUNKENDROWSTORE")== 1)
{
oTarget = GetNearestObjectByTag("tavern_store");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 48th condition block here
//Start of 49th condition block here
else if (GetLocalInt(OBJECT_SELF, "SNOWDRIFTINNSTORE")== 1)
{
oTarget = GetNearestObjectByTag("snow_inn");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 49th condition block here
//Start of 50th condition block here
else if (GetLocalInt(OBJECT_SELF, "BARDSTORE")== 1)
{
oTarget = GetNearestObjectByTag("etumstorebard");
gplotAppraiseOpenStore(oTarget, oPC, 0, 0);
}
//End of 50th condition block here
//Start of 51th condition block here
else if (GetLocalInt(OBJECT_SELF, "TIPSYSAILORSTORE")== 1)
{
oTarget = GetNearestObjectByTag("tavern_store");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 51th condition block here
//Start of 52th condition block here
else if (GetLocalInt(OBJECT_SELF, "WATERINGHOLESTORE")== 1)
{
oTarget = GetNearestObjectByTag("water_inn");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 52th condition block here
//Start of 53th condition block here
else if (GetLocalInt(OBJECT_SELF, "HORSESTORELOW")== 1)
{
oTarget = GetNearestObjectByTag("LOW_HORSE_MERCHANT");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 53th condition block here
//Start of 54th condition block here
else if (GetLocalInt(OBJECT_SELF, "HORSESTOREGOOD")== 1)
{
oTarget = GetNearestObjectByTag("GOOD_HORSE_MERCHANT");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 54th condition block here
//Start of 55th condition block here
else if (GetLocalInt(OBJECT_SELF, "HORSESTOREHIGH")== 1)
{
oTarget = GetNearestObjectByTag("HIGH_HORSE_MERCHANT");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 55th condition block here
//Start of 56th condition block here
else if (GetLocalInt(OBJECT_SELF, "HORSESTOREEVIL")== 1)
{
oTarget = GetNearestObjectByTag("EVIL_HORSE_MERCHANT");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 56th condition block here
//Start of 57th condition block here
else if (GetLocalInt(OBJECT_SELF, "Taer_Wagon_Store")== 1)
{
oTarget = GetNearestObjectByTag("wagonstore");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 57th condition block here
//Start of 58th condition block here
else if (GetLocalInt(OBJECT_SELF, "VAMP_MERC_05")== 1)
{
oTarget = GetNearestObjectByTag("Vampscrolls");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 58th condition block here
//Start of 59th condition block here
else if (GetLocalInt(OBJECT_SELF, "VAMP_MERC_01")== 1)
{
oTarget = GetNearestObjectByTag("SubraceVendorArmor");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 59th condition block here
//Start of 60th condition block here
else if (GetLocalInt(OBJECT_SELF, "VAMP_MERC_02")== 1)
{
oTarget = GetNearestObjectByTag("x2_merc_dye");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 60th condition block here
//Start of 61th condition block here
else if (GetLocalInt(OBJECT_SELF, "VAMP_MERC_03")== 1)
{
oTarget = GetNearestObjectByTag("subrace_vendorweps");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 61th condition block here
//Start of 62th condition block here
else if (GetLocalInt(OBJECT_SELF, "VAMP_MERC_04")== 1)
{
oTarget = GetNearestObjectByTag("Vampmerchant");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 62th condition block here
//Start of 63th condition block here
else if (GetLocalInt(OBJECT_SELF, "GIANT_GEN_STORE")== 1)
{
oTarget = GetNearestObjectByTag("HG_FL_GENSTORE");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 63th condition block here
//Start of 64th condition block here
else if (GetLocalInt(OBJECT_SELF, "GIANT_WEAPON_STORE")== 1)
{
oTarget = GetNearestObjectByTag("HG_FL_WEPARM_STOR");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 64th condition block here
//Start of 65th condition block here
else if (GetLocalInt(OBJECT_SELF, "GIANT_MAGIC_STORE")== 1)
{
oTarget = GetNearestObjectByTag("Ft_Loathsome_Magic");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 65th condition block here
//Start of 66th condition block here
else if (GetLocalInt(OBJECT_SELF, "KED_CLERIC_STORE")== 1)
{
oTarget = GetNearestObjectByTag("storecleric");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 66th condition block here
//Start of 67th condition block here
else if (GetLocalInt(OBJECT_SELF, "TAERDRUID_STORE")== 1)
{
oTarget = GetNearestObjectByTag("X2_STORENATR001");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 67th condition block here
//Start of 68th condition block here
else if (GetLocalInt(OBJECT_SELF, "TAERWIZ_STORE")== 1)
{
oTarget = GetNearestObjectByTag("X2_STOREMAGE003");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 68th condition block here
//Start of 69th condition block here
else if (GetLocalInt(OBJECT_SELF, "TAERPREST_STORE")== 1)
{
oTarget = GetNearestObjectByTag("Prestigious_Store");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 69th condition block here
//Start of 70th condition block here
else if (GetLocalInt(OBJECT_SELF, "TAERSMITH_STORE")== 1)
{
oTarget = GetNearestObjectByTag("X2_STOREWEAP003");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 70th condition block here
//Start of 71th condition block here
else if (GetLocalInt(OBJECT_SELF, "TAERWIZTWO_STORE")== 1)
{
oTarget = GetNearestObjectByTag("NW_STOREMAGIC004");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 71th condition block here
//Start of 72th condition block here
else if (GetLocalInt(OBJECT_SELF, "TAERCLERIC_STORE")== 1)
{
oTarget = GetNearestObjectByTag("X2_STORETEMPL002");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 72th condition block here
//Start of 73th condition block here
else if (GetLocalInt(OBJECT_SELF, "TAERSTOREONE_STORE")== 1)
{
oTarget = GetNearestObjectByTag("X2_STOREGENL001");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 73th condition block here
//Start of 73th condition block here
else if (GetLocalInt(OBJECT_SELF, "TAERDYE_STORE")== 1)
{
oTarget = GetNearestObjectByTag("x2_merc_dye");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 73th condition block here
//Start of 74th condition block here
else if (GetLocalInt(OBJECT_SELF, "TAERPOTION_STORE")== 1)
{
oTarget = GetNearestObjectByTag("Potions");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 74th condition block here
//Start of 75th condition block here
else if (GetLocalInt(OBJECT_SELF, "WERECAT_STORE")== 1)
{
oTarget = GetNearestObjectByTag("catstore");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 75th condition block here
//Start of 76th condition block here
else if (GetLocalInt(OBJECT_SELF, "ETUMFIGHTER_STORE")== 1)
{
oTarget = GetNearestObjectByTag("fighterstore");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 76th condition block here
//Start of 77th condition block here
else if (GetLocalInt(OBJECT_SELF, "ALUSHWEP_STORE")== 1)
{
oTarget = GetNearestObjectByTag("SHA_DROW_HOUSE_STORE");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 77th condition block here
//Start of 78th condition block here
else if (GetLocalInt(OBJECT_SELF, "VELMAG_STORE")== 1)
{
oTarget = GetNearestObjectByTag("SHA_MAGVELDRIN_SHOP");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 78th condition block here
//Start of 79th condition block here
else if (GetLocalInt(OBJECT_SELF, "DROWARMOR_STORE")== 1)
{
oTarget = GetNearestObjectByTag("sha_drow_armour_merchant");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 79th condition block here
//Start of 80th condition block here
else if (GetLocalInt(OBJECT_SELF, "DROWSORCEROR_STORE")== 1)
{
oTarget = GetNearestObjectByTag("X2_STOREMAGE002");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 80th condition block here
//Start of 81th condition block here
else if (GetLocalInt(OBJECT_SELF, "DYEMERCH_STORE")== 1)
{
oTarget = GetNearestObjectByTag("x2_merc_dye");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 81th condition block here
//Start of 82th condition block here
else if (GetLocalInt(OBJECT_SELF, "DROWJEWELRY_STORE")== 1)
{
oTarget = GetNearestObjectByTag("NW_STOREMAGIC003");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 82th condition block here
//Start of 83th condition block here
else if (GetLocalInt(OBJECT_SELF, "DROWWEAPON_STORE")== 1)
{
oTarget = GetNearestObjectByTag("sha_drow_wep_merchant");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 83th condition block here
//Start of 84th condition block here
else if (GetLocalInt(OBJECT_SELF, "DROWMAGIC_STORE")== 1)
{
oTarget = GetNearestObjectByTag("sha_drow_mag_merchant");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 84th condition block here
//Start of 85th condition block here
else if (GetLocalInt(OBJECT_SELF, "MIXINGROOM_STORE")== 1)
{
oTarget = GetNearestObjectByTag("MIXINGROOMSTORE");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 85th condition block here
//Start of 86th condition block here
else if (GetLocalInt(OBJECT_SELF, "TAER_THIEF_STORE")== 1)
{
oTarget = GetNearestObjectByTag("X2_STORETHIEF003");
OpenStore(oTarget, oPC, 0, 0);
}
//End of 86th condition block here
else {}
}