Advertisement
bucur35

Untitled

Jan 14th, 2013
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 2.24 KB | None | 0 0
  1. UPDATE `creature_template` SET `gossip_menu_id`=45874 WHERE  `entry`=45874;
  2. UPDATE `creature_template` SET `npcflag`=1 WHERE  `entry`=45874;
  3.      
  4. DELETE FROM `npc_text` WHERE `ID`=45874;
  5. INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `lang0`, `prob0`, `em0_0`, `em0_1`, `em0_2`, `em0_3`, `em0_4`, `em0_5`, `text1_0`, `text1_1`, `lang1`, `prob1`, `em1_0`, `em1_1`, `em1_2`, `em1_3`, `em1_4`, `em1_5`, `text2_0`, `text2_1`, `lang2`, `prob2`, `em2_0`, `em2_1`, `em2_2`, `em2_3`, `em2_4`, `em2_5`, `text3_0`, `text3_1`, `lang3`, `prob3`, `em3_0`, `em3_1`, `em3_2`, `em3_3`, `em3_4`, `em3_5`, `text4_0`, `text4_1`, `lang4`, `prob4`, `em4_0`, `em4_1`, `em4_2`, `em4_3`, `em4_4`, `em4_5`, `text5_0`, `text5_1`, `lang5`, `prob5`, `em5_0`, `em5_1`, `em5_2`, `em5_3`, `em5_4`, `em5_5`, `text6_0`, `text6_1`, `lang6`, `prob6`, `em6_0`, `em6_1`, `em6_2`, `em6_3`, `em6_4`, `em6_5`, `text7_0`, `text7_1`, `lang7`, `prob7`, `em7_0`, `em7_1`, `em7_2`, `em7_3`, `em7_4`, `em7_5`, `WDBVerified`) VALUES
  6. (45874, 'After a quick assessment , you determine that this fellow has expired within the last several hours.', NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 1);
  7.      
  8. DELETE FROM `gossip_menu_option` WHERE `menu_id`=45874;
  9. INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`) VALUES
  10. (45874, 0, 0, 'Take the scout\'s spectacles. ', 1, 1, 0, 0, 0, 0, NULL);
  11.      
  12. DELETE FROM `gossip_menu` WHERE `entry`=45874;
  13. INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
  14. (45874, 45874);
  15.      
  16.  
  17. DELETE FROM `conditions` WHERE `SourceGroup`=45874;
  18. INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
  19. (15, 45874, 0, 0, 0, 9, 0, 27541, 0, 0, 0, 0, '', 'show gossip if player has quest');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement