diff options
| author | tkrokli <tkrokli@hotmail.com> | 2016-01-31 03:35:41 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2016-04-02 17:36:48 +0200 |
| commit | 0466de43cc23ab036753f285a83a8b74dafb86cd (patch) | |
| tree | c469ae77aff920ea7d420aede61826ede6a17aa6 /sql | |
| parent | 870a76ad10af5a881a25d2d2cfa6ead9a3d56c5a (diff) | |
Core/Scripts/DB: remove hardcoded text from 'npc_disciple_of_naralex'
- moved 2 #define text lines to enum, already in npc_text
- new gossip_menu_option for NPC 3678 Disciple of Naralex
- using `ADD_GOSSIP_ITEM_DB` instead of `ADD_GOSSIP_ITEM`
Tested on both alliance and horde characters, works just like before.
(cherry picked from commit bc03fedf6dd77409a22dca1647916d154e563245)
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/world/2016_04_02_18_world_2016_01_31_15_world.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/2016_04_02_18_world_2016_01_31_15_world.sql b/sql/updates/world/2016_04_02_18_world_2016_01_31_15_world.sql new file mode 100644 index 00000000000..f1b181a29e3 --- /dev/null +++ b/sql/updates/world/2016_04_02_18_world_2016_01_31_15_world.sql @@ -0,0 +1,4 @@ +-- new gossip_menu for NPC 3678 Disciple of Naralex: +DELETE FROM `gossip_menu_option` WHERE `menu_id`= 201 AND `OptionBroadcastTextID`= 2662; +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`OptionBroadcastTextID`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`,`BoxBroadcastTextID`) VALUES +(201, 0, 0, 'Let the event begin!', 2662, 1, 1, 0, 0, 0, 0, '', 0); |
