Index: npcs/Blabbivix.lua =================================================================== --- npcs/Blabbivix.lua (revision 0) +++ npcs/Blabbivix.lua (working copy) @@ -0,0 +1,57 @@ +----------------------------------- +-- Area: Port Bastok +-- NPC: Blabbivix +-- Standard merchant, though he acts like a guild merchant +----------------------------------- + +package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; +require("scripts/globals/settings"); +require("scripts/globals/shop"); +require("scripts/zones/Port_Bastok/TextIDs"); + +----------------------------------- +-- onTrade Action +----------------------------------- + +function onTrade(player,npc,trade) +end; + +----------------------------------- +-- onTrigger Action +----------------------------------- + +function onTrigger(player,npc) + player:showText(npc,BLABBIVIX_SHOP_DIALOG); + + stock = {0x01e1,21000, -- Black Chip + 0x01db,21000, -- Blue Chip + 0x01de,21000, -- Clear Chip + 0x01dd,21000, -- Green Chip + 0x01de,21000, -- Purple Chip + 0x01da,21000, -- Red Chip + 0x01e0,21000, -- White Chip + 0x01dc,21000} -- Yellow Chip + + showShop(player, STATIC, stock); +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: TextIDs.lua =================================================================== --- TextIDs.lua (revision 3068) +++ TextIDs.lua (working copy) @@ -1,62 +1,64 @@ --- Variable TextID Description text - --- General Texts - ITEM_CANNOT_BE_OBTAINED = 6375; -- You cannot obtain the item come back again after sorting your inventory -FULL_INVENTORY_AFTER_TRADE = 6377; -- You cannot obtain the . Try trading again after sorting your inventory - ITEM_OBTAINED = 6378; -- Obtained: - GIL_OBTAINED = 6379; -- Obtained gil - KEYITEM_OBTAINED = 6381; -- Obtained key item: - HOMEPOINT_SET = 6451; -- Home point set! - NOT_HAVE_ENOUGH_GIL = 6624; -- You don't have enough money. - FISHING_MESSAGE_OFFSET = 6872; -- You can't fish here - MOGHOUSE_EXIT = 7727; -- You have learned your way through the back alleys of Bastok! Now you can exit to any area from your residence. - --- Conquest System -CONQUEST = 7783; -- You've earned conquest points! - --- Mission Dialogs - YOU_ACCEPT_THE_MISSION = 7123; -- You have accepted the mission. -ORIGINAL_MISSION_OFFSET = 7128; -- You can consult the “Mission” section of the main menu to review your objectives. Speed and efficiency are your priorities. Dismissed. -EXTENDED_MISSION_OFFSET = 8248; -- Go to Ore Street and talk to Medicine Eagle. He says he was there when the commotion started. - --- Dialog Texts - PAUJEAN_DIALOG_1 = 7429; -- Where can you find them? If you're the kind of adventurer I think you are, you should have a pretty good idea. Just don't do anything I wouldn't...heh heh. - RONAN_DIALOG_1 = 7238; -- Do something! Isn't there anything you can do to make him come out of his shell? -POWHATAN_DIALOG_1 = 7045; -- I'm sick and tired of entertaining guests. - UNLOCK_NINJA = 8210; -- You can now become a ninja. - TITAN_UNLOCKED = 8315; -- You are now able to summon Titan - --- Shop Texts - DENVIHR_SHOP_DIALOG = 7418; -- Ah, interested in my wares, are you? You can only buy these in Bastok, my friend. - GALVIN_SHOP_DIALOG = 7412; -- Welcome to Galvin's Travel Gear! We do our best to get the best for only the best! - ILITA_SHOP_DIALOG = 7416; -- Hello there. How about buying to stay in touch with your friends? - MELLOA_SHOP_DIALOG = 7408; -- Welcome to the Steaming Sheep. Would you like something to drink? - NUMA_SHOP_DIALOG = 7413; -- Hello, hello! Won't you buy something? I'll give you a rebate! - SAWYER_SHOP_DIALOG = 7407; -- Hi, there. For here or to go? - SUGANDHI_SHOP_DIALOG = 7417; -- Traveler! I am sure my wares will prove useful on your journey. Why don't you buy some? - VALERIANO_SHOP_DIALOG = 7362; -- Welcome to the Troupe Valeriano. Valeriano, at your service! Have a laugh, then spend some cash! Treats and sweets from exotic lands! - - EVELYN_OPEN_DIALOG = 7411; -- Hello! Might I interest you in some specialty goods from Gustaberg? - EVELYN_CLOSED_DIALOG = 7357; -- Sorry, I don't have anything to sell you. I'm trying to start a business selling goods from Gustaberg, but it's not easy getting stuff from areas that aren't under Bastokan control. - - BELKA_OPEN_DIALOG = 7414; -- Welcome. I've got goods from Derfland. Interested? - BELKA_CLOSED_DIALOG = 7359; -- Sorry, I don't have anything to sell you. I'm trying to start a business selling goods from Derfland, but it's not easy getting stuff from areas that aren't under Bastokan control. - - ROSSWALD_OPEN_DIALOG = 7415; -- Hello, hello! Everything I have is imported directly from Zulkheim! - ROSSWALD_CLOSED_DIALOG = 7358; -- Sorry, I don't have anything to sell you. I'm trying to start a business selling goods from Zulkheim, but it's not easy getting stuff from areas that aren't under Bastokan control. - - VATTIAN_OPEN_DIALOG = 8143; -- Welcome to my humble establishment. I have a wide variety of specialty goods from Kuzotz. - VATTIAN_CLOSED_DIALOG = 7360; -- I'm trying to start a business selling goods from Kuzotz, but it's not easy getting stuff from areas that aren't under Bastokan control. - - ZOBYQUHYO_OPEN_DIALOG = 8144; -- Hey therrre! I've got lots of wonderrrful goodies, fresh from the Elshimo Lowlands. - ZOBYQUHYO_CLOSED_DIALOG = 8145; -- I'm trrrying to start a business selling goods from the Elshimo Lowlands, but it's not easy getting stuff from areas that aren't under Bastokan contrrrol. - - DHENTEVRYUKOH_OPEN_DIALOG = 8146; -- Welcome! Welcome! Take a wonderrr at these specialty goods from the Elshimo Uplands! -DHENTEVRYUKOH_CLOSED_DIALOG = 8147; -- I'm trrrying to start a business selling goods from the Elshimo Uplands, but it's not easy transporting goods from areas that aren't under Bastokan contrrrol. - - BAGNOBROK_OPEN_DIALOG = 8901; -- Kbastok! Crepublic sis gstrong! Smoblins lsell sgoods oto gstrong sfriends! - BAGNOBROK_CLOSED_DIALOG = 8900; -- Kbastok sis kweak! Smoblins yonly twant gstrong sfriends! Non sgoods mfrom Smovalpolos ytoday! - --- Tenshodo shop & quest "Tenshodo membership" - TENSHODO_SHOP_OPEN_DIALOG = 6629; -- Ah, one of our members. Welcome to the Tenshodo shop. - +-- Variable TextID Description text + +-- General Texts + ITEM_CANNOT_BE_OBTAINED = 6375; -- You cannot obtain the item come back again after sorting your inventory +FULL_INVENTORY_AFTER_TRADE = 6377; -- You cannot obtain the . Try trading again after sorting your inventory + ITEM_OBTAINED = 6378; -- Obtained: + GIL_OBTAINED = 6379; -- Obtained gil + KEYITEM_OBTAINED = 6381; -- Obtained key item: + HOMEPOINT_SET = 6451; -- Home point set! + NOT_HAVE_ENOUGH_GIL = 6624; -- You don't have enough money. + FISHING_MESSAGE_OFFSET = 6872; -- You can't fish here + MOGHOUSE_EXIT = 7727; -- You have learned your way through the back alleys of Bastok! Now you can exit to any area from your residence. + +-- Conquest System +CONQUEST = 7783; -- You've earned conquest points! + +-- Mission Dialogs + YOU_ACCEPT_THE_MISSION = 7123; -- You have accepted the mission. +ORIGINAL_MISSION_OFFSET = 7128; -- You can consult the “Mission” section of the main menu to review your objectives. Speed and efficiency are your priorities. Dismissed. +EXTENDED_MISSION_OFFSET = 8248; -- Go to Ore Street and talk to Medicine Eagle. He says he was there when the commotion started. + +-- Dialog Texts + PAUJEAN_DIALOG_1 = 7429; -- Where can you find them? If you're the kind of adventurer I think you are, you should have a pretty good idea. Just don't do anything I wouldn't...heh heh. + RONAN_DIALOG_1 = 7238; -- Do something! Isn't there anything you can do to make him come out of his shell? +POWHATAN_DIALOG_1 = 7045; -- I'm sick and tired of entertaining guests. + UNLOCK_NINJA = 8210; -- You can now become a ninja. + TITAN_UNLOCKED = 8315; -- You are now able to summon Titan + +-- Shop Texts + DENVIHR_SHOP_DIALOG = 7418; -- Ah, interested in my wares, are you? You can only buy these in Bastok, my friend. + GALVIN_SHOP_DIALOG = 7412; -- Welcome to Galvin's Travel Gear! We do our best to get the best for only the best! + ILITA_SHOP_DIALOG = 7416; -- Hello there. How about buying to stay in touch with your friends? + MELLOA_SHOP_DIALOG = 7408; -- Welcome to the Steaming Sheep. Would you like something to drink? + NUMA_SHOP_DIALOG = 7413; -- Hello, hello! Won't you buy something? I'll give you a rebate! + SAWYER_SHOP_DIALOG = 7407; -- Hi, there. For here or to go? + SUGANDHI_SHOP_DIALOG = 7417; -- Traveler! I am sure my wares will prove useful on your journey. Why don't you buy some? + VALERIANO_SHOP_DIALOG = 7362; -- Welcome to the Troupe Valeriano. Valeriano, at your service! Have a laugh, then spend some cash! Treats and sweets from exotic lands! + + EVELYN_OPEN_DIALOG = 7411; -- Hello! Might I interest you in some specialty goods from Gustaberg? + EVELYN_CLOSED_DIALOG = 7357; -- Sorry, I don't have anything to sell you. I'm trying to start a business selling goods from Gustaberg, but it's not easy getting stuff from areas that aren't under Bastokan control. + + BELKA_OPEN_DIALOG = 7414; -- Welcome. I've got goods from Derfland. Interested? + BELKA_CLOSED_DIALOG = 7359; -- Sorry, I don't have anything to sell you. I'm trying to start a business selling goods from Derfland, but it's not easy getting stuff from areas that aren't under Bastokan control. + + ROSSWALD_OPEN_DIALOG = 7415; -- Hello, hello! Everything I have is imported directly from Zulkheim! + ROSSWALD_CLOSED_DIALOG = 7358; -- Sorry, I don't have anything to sell you. I'm trying to start a business selling goods from Zulkheim, but it's not easy getting stuff from areas that aren't under Bastokan control. + + VATTIAN_OPEN_DIALOG = 8143; -- Welcome to my humble establishment. I have a wide variety of specialty goods from Kuzotz. + VATTIAN_CLOSED_DIALOG = 7360; -- I'm trying to start a business selling goods from Kuzotz, but it's not easy getting stuff from areas that aren't under Bastokan control. + + ZOBYQUHYO_OPEN_DIALOG = 8144; -- Hey therrre! I've got lots of wonderrrful goodies, fresh from the Elshimo Lowlands. + ZOBYQUHYO_CLOSED_DIALOG = 8145; -- I'm trrrying to start a business selling goods from the Elshimo Lowlands, but it's not easy getting stuff from areas that aren't under Bastokan contrrrol. + + DHENTEVRYUKOH_OPEN_DIALOG = 8146; -- Welcome! Welcome! Take a wonderrr at these specialty goods from the Elshimo Uplands! +DHENTEVRYUKOH_CLOSED_DIALOG = 8147; -- I'm trrrying to start a business selling goods from the Elshimo Uplands, but it's not easy transporting goods from areas that aren't under Bastokan contrrrol. + BLABBIVIX_SHOP_DIALOG = 8419; -- <Pshooowaaaaa> I come from the underworld.\nThese chipshhh, you knooow, are popular among us Goblinshhh.\nUse with heart of shhhtatue. + + + BAGNOBROK_OPEN_DIALOG = 8901; -- Kbastok! Crepublic sis gstrong! Smoblins lsell sgoods oto gstrong sfriends! + BAGNOBROK_CLOSED_DIALOG = 8900; -- Kbastok sis kweak! Smoblins yonly twant gstrong sfriends! Non sgoods mfrom Smovalpolos ytoday! + +-- Tenshodo shop & quest "Tenshodo membership" + TENSHODO_SHOP_OPEN_DIALOG = 6629; -- Ah, one of our members. Welcome to the Tenshodo shop. +