Index: zones/Aht_Urhgan_Whitegate/npcs/Wahnid.lua =================================================================== --- zones/Aht_Urhgan_Whitegate/npcs/Wahnid.lua (revision 0) +++ zones/Aht_Urhgan_Whitegate/npcs/Wahnid.lua (working copy) @@ -0,0 +1,48 @@ +----------------------------------- +-- Area: Aht Urhgan Whitegate +-- NPC: Wahnid +-- Guild Merchant NPC: Fishing Guild +-- @pos -31.720 -6.000 -94.919 50 +----------------------------------- +package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; +----------------------------------- + +require("scripts/globals/settings"); +require("scripts/globals/shop"); +require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); + +----------------------------------- +-- onTrade Action +----------------------------------- + +function onTrade(player,npc,trade) +end; + +----------------------------------- +-- onTrigger Action +----------------------------------- + +function onTrigger(player,npc) + if(player:sendGuild(60426,1,18,6)) then + player:showText(npc,WAHNID_SHOP_DIALOG); + end +end; + +----------------------------------- +-- onEventUpdate +----------------------------------- + +function onEventUpdate(player,csid,option) + -- printf("CSID: %u",csid); + -- printf("RESULT: %u",option); +end; + +----------------------------------- +-- onEventFinish +----------------------------------- + +function onEventFinish(player,csid,option) + -- printf("CSID: %u",csid); + -- printf("RESULT: %u",option); +end; + Index: zones/Aht_Urhgan_Whitegate/npcs/Wahraga.lua =================================================================== --- zones/Aht_Urhgan_Whitegate/npcs/Wahraga.lua (revision 0) +++ zones/Aht_Urhgan_Whitegate/npcs/Wahraga.lua (working copy) @@ -0,0 +1,48 @@ +----------------------------------- +-- Area: Aht Urhgan Whitegate +-- NPC: Wahraga +-- Guild Merchant NPC: Alchemist Guild +-- @pos -76.836 -6.000 140.331 50 +----------------------------------- +package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; +----------------------------------- + +require("scripts/globals/settings"); +require("scripts/globals/shop"); +require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); + +----------------------------------- +-- onTrade Action +----------------------------------- + +function onTrade(player,npc,trade) +end; + +----------------------------------- +-- onTrigger Action +----------------------------------- + +function onTrigger(player,npc) + if(player:sendGuild(60425,8,23,5)) then + player:showText(npc,WAHRAGA_SHOP_DIALOG); + end +end; + +----------------------------------- +-- onEventUpdate +----------------------------------- + +function onEventUpdate(player,csid,option) + -- printf("CSID: %u",csid); + -- printf("RESULT: %u",option); +end; + +----------------------------------- +-- onEventFinish +----------------------------------- + +function onEventFinish(player,csid,option) + -- printf("CSID: %u",csid); + -- printf("RESULT: %u",option); +end; + Index: zones/Aht_Urhgan_Whitegate/TextIDs.lua =================================================================== --- zones/Aht_Urhgan_Whitegate/TextIDs.lua (revision 4026) +++ zones/Aht_Urhgan_Whitegate/TextIDs.lua (working copy) @@ -36,4 +36,7 @@ BAJAHB_SHOP_DIALOG = 9133; -- MAZWEEN_SHOP_DIALOG = 9134; -- Magic scrolls! Get your magic scrolls here! FAYEEWAH_SHOP_DIALOG = 9135; -- - YAFAAF_SHOP_DIALOG = 9136; -- Welcome to Shararat Teahouse! Relax and forget your troubles over a soothing cup of chai! \ No newline at end of file + YAFAAF_SHOP_DIALOG = 9136; -- Welcome to Shararat Teahouse! Relax and forget your troubles over a soothing cup of chai! + + WAHRAGA_SHOP_DIALOG = 9158; -- Welcome to the Alchemists' Guild. + WAHNID_SHOP_DIALOG = 9157; -- All the fishing gear you'll ever need, here in one place! \ No newline at end of file Index: zones/Al_Zahbi/npcs/Bornahn.lua =================================================================== --- zones/Al_Zahbi/npcs/Bornahn.lua (revision 0) +++ zones/Al_Zahbi/npcs/Bornahn.lua (working copy) @@ -0,0 +1,48 @@ +----------------------------------- +-- Area: Al Zahbi +-- NPC: Bornahn +-- Guild Merchant NPC: Goldsmithing Guild +-- @pos 46.011 0.000 -42.713 48 +----------------------------------- +package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; +----------------------------------- + +require("scripts/globals/settings"); +require("scripts/globals/shop"); +require("scripts/zones/Al_Zahbi/TextIDs"); + +----------------------------------- +-- onTrade Action +----------------------------------- + +function onTrade(player,npc,trade) +end; + +----------------------------------- +-- onTrigger Action +----------------------------------- + +function onTrigger(player,npc) + if(player:sendGuild(60429,8,23,4)) then + player:showText(npc,BORNAHN_SHOP_DIALOG); + end +end; + +----------------------------------- +-- onEventUpdate +----------------------------------- + +function onEventUpdate(player,csid,option) + -- printf("CSID: %u",csid); + -- printf("RESULT: %u",option); +end; + +----------------------------------- +-- onEventFinish +----------------------------------- + +function onEventFinish(player,csid,option) + -- printf("CSID: %u",csid); + -- printf("RESULT: %u",option); +end; + Index: zones/Al_Zahbi/npcs/Dehbi_Moshal.lua =================================================================== --- zones/Al_Zahbi/npcs/Dehbi_Moshal.lua (revision 0) +++ zones/Al_Zahbi/npcs/Dehbi_Moshal.lua (working copy) @@ -0,0 +1,48 @@ +----------------------------------- +-- Area: Al Zahbi +-- NPC: Dehbi Moshal +-- Guild Merchant NPC: Woodworking Guild +-- @pos -71.563 -5.999 -57.544 48 +----------------------------------- +package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; +----------------------------------- + +require("scripts/globals/settings"); +require("scripts/globals/shop"); +require("scripts/zones/Al_Zahbi/TextIDs"); + +----------------------------------- +-- onTrade Action +----------------------------------- + +function onTrade(player,npc,trade) +end; + +----------------------------------- +-- onTrigger Action +----------------------------------- + +function onTrigger(player,npc) + if(player:sendGuild(60428,6,21,0)) then + player:showText(npc,DEHBI_MOSHAL_SHOP_DIALOG); + end +end; + +----------------------------------- +-- onEventUpdate +----------------------------------- + +function onEventUpdate(player,csid,option) + -- printf("CSID: %u",csid); + -- printf("RESULT: %u",option); +end; + +----------------------------------- +-- onEventFinish +----------------------------------- + +function onEventFinish(player,csid,option) + -- printf("CSID: %u",csid); + -- printf("RESULT: %u",option); +end; + Index: zones/Al_Zahbi/npcs/Ndego.lua =================================================================== --- zones/Al_Zahbi/npcs/Ndego.lua (revision 0) +++ zones/Al_Zahbi/npcs/Ndego.lua (working copy) @@ -0,0 +1,48 @@ +----------------------------------- +-- Area: Al Zahbi +-- NPC: Ndego +-- Guild Merchant NPC: Smithing Guild +-- @pos -37.192 0.000 -33.949 48 +----------------------------------- +package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; +----------------------------------- + +require("scripts/globals/settings"); +require("scripts/globals/shop"); +require("scripts/zones/Al_Zahbi/TextIDs"); + +----------------------------------- +-- onTrade Action +----------------------------------- + +function onTrade(player,npc,trade) +end; + +----------------------------------- +-- onTrigger Action +----------------------------------- + +function onTrigger(player,npc) + if(player:sendGuild(60427,8,23,2)) then + player:showText(npc,NDEGO_SHOP_DIALOG); + end +end; + +----------------------------------- +-- onEventUpdate +----------------------------------- + +function onEventUpdate(player,csid,option) + -- printf("CSID: %u",csid); + -- printf("RESULT: %u",option); +end; + +----------------------------------- +-- onEventFinish +----------------------------------- + +function onEventFinish(player,csid,option) + -- printf("CSID: %u",csid); + -- printf("RESULT: %u",option); +end; + Index: zones/Al_Zahbi/npcs/Taten-Bilten.lua =================================================================== --- zones/Al_Zahbi/npcs/Taten-Bilten.lua (revision 0) +++ zones/Al_Zahbi/npcs/Taten-Bilten.lua (working copy) @@ -0,0 +1,48 @@ +----------------------------------- +-- Area: Al Zahbi +-- NPC: Taten-Bilten +-- Guild Merchant NPC: Clothcraft Guild +-- @pos 71.598 -6.000 -56.930 48 +----------------------------------- +package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; +----------------------------------- + +require("scripts/globals/settings"); +require("scripts/globals/shop"); +require("scripts/zones/Al_Zahbi/TextIDs"); + +----------------------------------- +-- onTrade Action +----------------------------------- + +function onTrade(player,npc,trade) +end; + +----------------------------------- +-- onTrigger Action +----------------------------------- + +function onTrigger(player,npc) + if(player:sendGuild(60430,6,21,0)) then + player:showText(npc,TATEN_BILTEN_SHOP_DIALOG); + end +end; + +----------------------------------- +-- onEventUpdate +----------------------------------- + +function onEventUpdate(player,csid,option) + -- printf("CSID: %u",csid); + -- printf("RESULT: %u",option); +end; + +----------------------------------- +-- onEventFinish +----------------------------------- + +function onEventFinish(player,csid,option) + -- printf("CSID: %u",csid); + -- printf("RESULT: %u",option); +end; + Index: zones/Al_Zahbi/TextIDs.lua =================================================================== --- zones/Al_Zahbi/TextIDs.lua (revision 4026) +++ zones/Al_Zahbi/TextIDs.lua (working copy) @@ -14,4 +14,9 @@ ALLARD_SHOP_DIALOG = 7506; -- Hey, how ya doin'?\nWelcome to the armor shop of the Ulthalam Parade's leading star--Allard, in the flesh! -verify- CHAYAYA_SHOP_DIALOG = 7518; -- Chayaya's Projectiles! Get your darts and more at Chayaya's Projectiles! Just don't touch the stuff in the high drawers, okay? -verify- KAHAHHOBICHAI_SHOP_DIALOG = 7500; -- Step rrright up to Kahah Hobichai's Blades!\nWe've got everything your battle-thirrrsty heart desires! -verify- - ZAFIF_SHOP_DIALOG = 7512; -- Welcome... I'm Zafif, and this is my magic shop...\nI hope you can find something of use here. \ No newline at end of file + ZAFIF_SHOP_DIALOG = 7512; -- Welcome... I'm Zafif, and this is my magic shop...\nI hope you can find something of use here. + +DEHBI_MOSHAL_SHOP_DIALOG = 7746; -- Welcome to the Carpenters' Guild! + NDEGO_SHOP_DIALOG = 7748; -- The Blacksmiths' Guild thanks you for your business! + BORNAHN_SHOP_DIALOG = 7750; -- Welcome! We have all your goldsmithing needs right here! +TATEN_BILTEN_SHOP_DIALOG = 7752; -- Weave something beautiful with the materials you buy here, okay? \ No newline at end of file Index: zones/Nashmau/npcs/Tsutsuroon.lua =================================================================== --- zones/Nashmau/npcs/Tsutsuroon.lua (revision 4026) +++ zones/Nashmau/npcs/Tsutsuroon.lua (working copy) @@ -1,16 +1,15 @@ ----------------------------------- --- Area: Nashmau --- NPC: Tsutsuroon --- Type: Tenshodo Merchant --- @zone: 53 --- @pos: --- --- Auto-Script: Requires Verification (Verified by Brawndo) +-- Area: Nashmau +-- NPC: Tsutsuroon +-- Type: Tenshodo Merchant +-- @pos -15.193 0.000 31.356 53 ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- +require("scripts/globals/settings"); require("scripts/globals/shop"); +require("scripts/globals/keyitems"); require("scripts/zones/Nashmau/TextIDs"); ----------------------------------- @@ -18,7 +17,7 @@ ----------------------------------- function onTrade(player,npc,trade) -end; +end; ----------------------------------- -- onTrigger Action @@ -26,10 +25,11 @@ function onTrigger(player,npc) if (player:hasKeyItem(TENSHODO_MEMBERS_CARD)) then - if(player:sendGuild(60422,1,23,7)) then - player:showText(npc, TSUTSUROON_SHOP_DIALOG); + if (player:sendGuild(60431, 1, 23, 7)) then + player:showText(npc,TSUTSUROON_SHOP_DIALOG); end else + player:startEvent(0x0096); end end; @@ -38,8 +38,8 @@ ----------------------------------- function onEventUpdate(player,csid,option) - -- printf("CSID: %u",csid); - -- printf("RESULT: %u",option); +--printf("CSID: %u",csid); +--printf("RESULT: %u",option); end; ----------------------------------- @@ -47,7 +47,6 @@ ----------------------------------- function onEventFinish(player,csid,option) - -- printf("CSID: %u",csid); - -- printf("RESULT: %u",option); -end; - +--printf("CSID: %u",csid); +--printf("RESULT: %u",option); +end; \ No newline at end of file Index: zones/Nashmau/TextIDs.lua =================================================================== --- zones/Nashmau/TextIDs.lua (revision 4026) +++ zones/Nashmau/TextIDs.lua (working copy) @@ -25,4 +25,4 @@ POPOROON_SHOP_DIALOG = 10422; -- Come, come. Buy aaarmor, looots of armor! WATAKHAMAZOM_SHOP_DIALOG = 10413; -- Looking for some bows and bolts to strrrike fear into the hearts of your enemies? You can find 'em here! -verify- YOYOROON_SHOP_DIALOG = 0; -- [UNKNOWN] - TSUTSUROON_SHOP_DIALOG = 10417; -- What yooo want? Have katana, katana, and nin-nin...yooo want? \ No newline at end of file + TSUTSUROON_SHOP_DIALOG = 10419; -- What yooo want? Have katana, katana, and nin-nin...yooo want? \ No newline at end of file