Index: zones/Al_Zahbi/npcs/Mabebe.lua =================================================================== --- zones/Al_Zahbi/npcs/Mabebe.lua (revision 0) +++ zones/Al_Zahbi/npcs/Mabebe.lua (working copy) @@ -0,0 +1,46 @@ +---------------------------------- +-- Area: Al Zahbi +-- NPC: Mabebe +-- Type: Item Deliverer +-- @zone: 48 +-- @pos: -27.551 0 -141.095 +-- +----------------------------------- + +package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; +require("scripts/zones/Al_Zahbi/TextIDs"); + +----------------------------------- +-- onTrade Action +----------------------------------- + +function onTrade(player,npc,trade) +end; + +----------------------------------- +-- onTrigger Action +----------------------------------- + +function onTrigger(player,npc) + player:showText(npc, ITEM_DELIVERY_DIALOG); + player:openSendBox(); +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/Opococo.lua =================================================================== --- zones/Al_Zahbi/npcs/Opococo.lua (revision 0) +++ zones/Al_Zahbi/npcs/Opococo.lua (working copy) @@ -0,0 +1,46 @@ +---------------------------------- +-- Area: Al Zahbi +-- NPC: Opococo +-- Type: Item Deliverer +-- @zone: 48 +-- @pos: -24.702 0 -139.982 +-- +----------------------------------- + +package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; +require("scripts/zones/Al_Zahbi/TextIDs"); + +----------------------------------- +-- onTrade Action +----------------------------------- + +function onTrade(player,npc,trade) +end; + +----------------------------------- +-- onTrigger Action +----------------------------------- + +function onTrigger(player,npc) + player:showText(npc, ITEM_DELIVERY_DIALOG); + player:openSendBox(); +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; +