Index: scripts/zones/RuAun_Gardens/npcs/Ruavitau_Gate.lua =================================================================== --- scripts/zones/RuAun_Gardens/npcs/Ruavitau_Gate.lua (revision 0) +++ scripts/zones/RuAun_Gardens/npcs/Ruavitau_Gate.lua (working copy) @@ -0,0 +1,42 @@ +----------------------------------- +-- Area: Ru'Aun Gardens +-- NPC: Ru'Avitau Gate +-- Door to enter The Shrine of Ru'Avitau +----------------------------------- +package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; +----------------------------------- + +require("scripts/zones/RuAun_Gardens/TextIDs"); + +----------------------------------- +-- onTrade Action +----------------------------------- + +function onTrade(player,npc,trade) +end; + +----------------------------------- +-- onTrigger Action +----------------------------------- + +function onTrigger(player,npc) + player:setPos(-40.005,-3.398,-232, 191, 0xB2) +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; \ No newline at end of file Index: sql/npc_list.sql =================================================================== --- sql/npc_list.sql (revision 1530) +++ sql/npc_list.sql (working copy) @@ -7963,6 +7963,7 @@ INSERT INTO npc_list VALUES (17310017, 'Treasure_Casket', 0, 0.000, 0.000, 0.000, 6, 40, 40, 0, 4, 4, 2, 3, x'0000C50300000000000000000000000000000000', 0, 130); INSERT INTO npc_list VALUES (17310018, 'Treasure_Casket', 0, 0.000, 0.000, 0.000, 7, 40, 40, 0, 4, 4, 2, 3, x'0000C60300000000000000000000000000000000', 0, 130); INSERT INTO npc_list VALUES (17310019, 'Treasure_Coffer', 155, -306.824, -23.999, 230.783, 7, 40, 40, 0, 0, 0, 0, 3, x'0000C10300000000000000000000000000000000', 0, 130); +INSERT INTO npc_list VALUES (17310024, 'RuAvitau_Gate', 0, 0.002, -46.615, -109.159, 32769, 40, 40, 9, 0, 0, 0, 3, x'0200000000000000000000000000000000000000', 0, 130); INSERT INTO npc_list VALUES (17310028, 'Pincerstone', 0, -363.109, -41.994, -38.385, 32769, 40, 40, 0, 0, 0, 0, 3, x'0000340000000000000000000000000000000000', 0, 130); INSERT INTO npc_list VALUES (17310030, 'Pincerstone', 0, -316.323, -41.970, -182.377, 32769, 40, 40, 0, 0, 0, 0, 3, x'0000340000000000000000000000000000000000', 0, 130); INSERT INTO npc_list VALUES (17310032, 'Pincerstone', 0, -49.919, -33.777, -372.671, 32769, 40, 40, 0, 0, 0, 0, 3, x'0000340000000000000000000000000000000000', 0, 130);