Index: scripts/zones/Chateau_dOraguille/npcs/Celebratory_Chest.lua =================================================================== --- scripts/zones/Chateau_dOraguille/npcs/Celebratory_Chest.lua (revision 0) +++ scripts/zones/Chateau_dOraguille/npcs/Celebratory_Chest.lua (working copy) @@ -0,0 +1,50 @@ +----------------------------------- +-- [Command name]: shop +-- [Author ]: +-- [Description ]: +----------------------------------- +--http://ffxi.gamerescape.com/wiki/Celebratory_Chest +-- NOTE: commented out the HQ crystals. and Serene serinette , and Joyous serinette as these last 2 items are not coded and im not sure how to code them.http://ffxi.gamerescape.com/wiki/Serene_serinette || and http://ffxi.gamerescape.com/wiki/Joyous_serinette +----------------------------------- +-- Action +----------------------------------- + +function onTrigger(player,npc) +stock = + { + 0x1047,231, --Cracker + 0x1048,275, --Twinkle Shower + 0x1077,440, --Popstar + 0x1078,252, --Brilliant Snow + 0x10A0,459, --Ouka Ranman + 0x1049,275, --Little Comet + 0x1689,650, --Popper + 0x104A,1000, --Wedding Bell + --0x1530,6000, --Serene serinette + --0x1531,6000, --Joyous serinette + 0x1159,1116, --Grape Juice + --0x108E,3000, --Inferno Crystal + --0x1090,3000, --Cyclone Crystal + --0x1091,3000, --Terra Crystal + }; + + 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: scripts/zones/Chateau_dOraguille/npcs/Matrimonial_Coffer.lua =================================================================== --- scripts/zones/Chateau_dOraguille/npcs/Matrimonial_Coffer.lua (revision 0) +++ scripts/zones/Chateau_dOraguille/npcs/Matrimonial_Coffer.lua (working copy) @@ -0,0 +1,47 @@ +----------------------------------- +-- [Command name]: shop +-- [Author ]: +-- [Description ]: +----------------------------------- +--http://ffxi.gamerescape.com/wiki/Matrimonial_Coffer +----------------------------------- +-- Action +----------------------------------- + +function onTrigger(player,npc) +stock = + { + --Gender: Female Only ? + --Wedding Dress Set 400,000 + 0x366D,100000, --bridal corsage, + 0x3832,100000, --wedding dress, + 0x37AB,100000, --wedding hose, + 0x372E,100000, --wedding boots, + 0x3DE8,100000, --matrimony band, + + --Gender: Male Only ? + --Benedight Coat Set 200,000 + 0x3FEC,100000, --benedight hose + 0x2C2D,100000, --benedight coat, + 0x3DE7,80000, --matrimony ring, + }; + 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; \ No newline at end of file Index: scripts/zones/Heavens_Tower/npcs/Celebratory_Chest.lua =================================================================== --- scripts/zones/Heavens_Tower/npcs/Celebratory_Chest.lua (revision 0) +++ scripts/zones/Heavens_Tower/npcs/Celebratory_Chest.lua (working copy) @@ -0,0 +1,50 @@ +----------------------------------- +-- [Command name]: shop +-- [Author ]: +-- [Description ]: +----------------------------------- +--http://ffxi.gamerescape.com/wiki/Celebratory_Chest +-- NOTE: commented out the HQ crystals. and Serene serinette , and Joyous serinette as these last 2 items are not coded and im not sure how to code them.http://ffxi.gamerescape.com/wiki/Serene_serinette || and http://ffxi.gamerescape.com/wiki/Joyous_serinette +----------------------------------- +-- Action +----------------------------------- + +function onTrigger(player,npc) +stock = + { + 0x1047,231, --Cracker + 0x1048,275, --Twinkle Shower + 0x1077,440, --Popstar + 0x1078,252, --Brilliant Snow + 0x10A0,459, --Ouka Ranman + 0x1049,275, --Little Comet + 0x1689,650, --Popper + 0x104A,1000, --Wedding Bell + --0x1530,6000, --Serene serinette + --0x1531,6000, --Joyous serinette + 0x1159,1116, --Grape Juice + --0x108E,3000, --Inferno Crystal + --0x1090,3000, --Cyclone Crystal + --0x1091,3000, --Terra Crystal + }; + + 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: scripts/zones/Heavens_Tower/npcs/Matrimonial_Coffer.lua =================================================================== --- scripts/zones/Heavens_Tower/npcs/Matrimonial_Coffer.lua (revision 0) +++ scripts/zones/Heavens_Tower/npcs/Matrimonial_Coffer.lua (working copy) @@ -0,0 +1,47 @@ +----------------------------------- +-- [Command name]: shop +-- [Author ]: +-- [Description ]: +----------------------------------- +--http://ffxi.gamerescape.com/wiki/Matrimonial_Coffer +----------------------------------- +-- Action +----------------------------------- + +function onTrigger(player,npc) +stock = + { + --Gender: Female Only ? + --Wedding Dress Set 400,000 + 0x366D,100000, --bridal corsage, + 0x3832,100000, --wedding dress, + 0x37AB,100000, --wedding hose, + 0x372E,100000, --wedding boots, + 0x3DE8,100000, --matrimony band, + + --Gender: Male Only ? + --Benedight Coat Set 200,000 + 0x3FEC,100000, --benedight hose + 0x2C2D,100000, --benedight coat, + 0x3DE7,80000, --matrimony ring, + }; + 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; \ No newline at end of file Index: scripts/zones/Metalworks/npcs/Celebratory_Chest.lua =================================================================== --- scripts/zones/Metalworks/npcs/Celebratory_Chest.lua (revision 0) +++ scripts/zones/Metalworks/npcs/Celebratory_Chest.lua (working copy) @@ -0,0 +1,50 @@ +----------------------------------- +-- [Command name]: shop +-- [Author ]: +-- [Description ]: +----------------------------------- +--http://ffxi.gamerescape.com/wiki/Celebratory_Chest +-- NOTE: commented out the HQ crystals. and Serene serinette , and Joyous serinette as these last 2 items are not coded and im not sure how to code them.http://ffxi.gamerescape.com/wiki/Serene_serinette || and http://ffxi.gamerescape.com/wiki/Joyous_serinette +----------------------------------- +-- Action +----------------------------------- + +function onTrigger(player,npc) +stock = + { + 0x1047,231, --Cracker + 0x1048,275, --Twinkle Shower + 0x1077,440, --Popstar + 0x1078,252, --Brilliant Snow + 0x10A0,459, --Ouka Ranman + 0x1049,275, --Little Comet + 0x1689,650, --Popper + 0x104A,1000, --Wedding Bell + --0x1530,6000, --Serene serinette + --0x1531,6000, --Joyous serinette + 0x1159,1116, --Grape Juice + --0x108E,3000, --Inferno Crystal + --0x1090,3000, --Cyclone Crystal + --0x1091,3000, --Terra Crystal + }; + + 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: scripts/zones/Metalworks/npcs/Matrimonial_Coffer.lua =================================================================== --- scripts/zones/Metalworks/npcs/Matrimonial_Coffer.lua (revision 0) +++ scripts/zones/Metalworks/npcs/Matrimonial_Coffer.lua (working copy) @@ -0,0 +1,47 @@ +----------------------------------- +-- [Command name]: shop +-- [Author ]: +-- [Description ]: +----------------------------------- +--http://ffxi.gamerescape.com/wiki/Matrimonial_Coffer +----------------------------------- +-- Action +----------------------------------- + +function onTrigger(player,npc) +stock = + { + --Gender: Female Only ? + --Wedding Dress Set 400,000 + 0x366D,100000, --bridal corsage, + 0x3832,100000, --wedding dress, + 0x37AB,100000, --wedding hose, + 0x372E,100000, --wedding boots, + 0x3DE8,100000, --matrimony band, + + --Gender: Male Only ? + --Benedight Coat Set 200,000 + 0x3FEC,100000, --benedight hose + 0x2C2D,100000, --benedight coat, + 0x3DE7,80000, --matrimony ring, + }; + 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; \ No newline at end of file Index: sql/npc_list.sql =================================================================== --- sql/npc_list.sql (revision 3246) +++ sql/npc_list.sql (working copy) @@ -15579,9 +15579,9 @@ INSERT INTO `npc_list` VALUES ('17748158', 'Aileen', '0', '0.000', '0.000', '0.000', '0', '40', '40', '0', '1', '0', '6', '27', 0x01000B027C107C207C307C407C50006000700000, '32', '237'); INSERT INTO `npc_list` VALUES ('17748159', 'Anneliese', '0', '0.000', '0.000', '0.000', '0', '40', '40', '0', '1', '0', '6', '27', 0x01000F027C107C207C307C407C50006000700000, '32', '237'); INSERT INTO `npc_list` VALUES ('17748160', 'Hildolf', '32', '-83.999', '2.000', '-17.999', '21', '40', '40', '0', '0', '0', '2', '27', 0x0100090177107820833083408350006000700000, '32', '237'); -INSERT INTO `npc_list` VALUES ('17748161', 'Cloud_Walker', '220', '89.047', '-20.170', '-12.089', '14', '40', '40', '0', '0', '0', '2', '27', 0x0100050839103920393039403950006000700000, '32', '237'); -INSERT INTO `npc_list` VALUES ('17748162', 'Matrimonial_Coffer', '220', '90.079', '-20.170', '-12.937', '1', '40', '40', '0', '0', '0', '2', '3', 0x0000C10300000000000000000000000000000000, '0', '237'); -INSERT INTO `npc_list` VALUES ('17748163', 'Celebratory_Chest', '220', '88.029', '-20.170', '-11.086', '1', '40', '40', '0', '8', '0', '2', '3', 0x0000C00300000000000000000000000000000000, '0', '237'); +INSERT INTO `npc_list` VALUES ('17748161', 'Cloud_Walker', '220', '89.047', '-20.170', '-12.089', '14', '40', '40', '0', '0', '0', '0', '27', 0x0100050839103920393039403950006000700000, '32', '237'); +INSERT INTO `npc_list` VALUES ('17748162', 'Matrimonial_Coffer', '220', '90.079', '-20.170', '-12.937', '1', '40', '40', '0', '0', '0', '0', '3', 0x0000C10300000000000000000000000000000000, '0', '237'); +INSERT INTO `npc_list` VALUES ('17748163', 'Celebratory_Chest', '220', '88.029', '-20.170', '-11.086', '1', '40', '40', '0', '8', '0', '0', '3', 0x0000C00300000000000000000000000000000000, '0', '237'); INSERT INTO `npc_list` VALUES ('17748164', 'Synergy_Furnace', '0', '-83.184', '2.000', '-20.866', '1', '40', '40', '0', '5', '100', '2', '2075', 0x00002C0900000000000000000000000000000000, '32', '237');