aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authortkrokli <tkrokli@hotmail.com>2016-01-15 11:47:02 +0100
committerShauren <shauren.trinity@gmail.com>2016-04-02 15:18:47 +0200
commit50ad1cca003f6f13b2b62729bc806e8d07a4b74b (patch)
tree6e99579c33895a6966148ba0965cd5d2b31c3ff9 /sql
parent3211f639e8815eb384efac044f90b6f910e3f05b (diff)
Core/Scripts/DB: remove hardcoded text from 'npcs_dithers_and_arbington'
- created DB gossip_menu_option entries for both NPCs - added enum section instead of "magic numbers" in script - replaced core text with pointers to DB text - zone_western_plaguelands.cpp is now cleaned up (cherry picked from commit 29c2a4232477836afbcbd71f8ff3443c268e02e8)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2016_04_02_10_world_2016_01_31_32_world_335.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/2016_04_02_10_world_2016_01_31_32_world_335.sql b/sql/updates/world/2016_04_02_10_world_2016_01_31_32_world_335.sql
new file mode 100644
index 00000000000..64b32cb2d89
--- /dev/null
+++ b/sql/updates/world/2016_04_02_10_world_2016_01_31_32_world_335.sql
@@ -0,0 +1,12 @@
+-- Create new gossip_menu_option 3223 for Apothecary Dithers and 3228 for Alchemist Arbington:
+DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (3223,3228,3229) AND `OptionBroadcastTextID` IN (6516,6517,6518,6519,6531);
+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
+(3223,0,0,"What's needed for the cauldron at Felstone Field?",6516,3,131,0,0,0,0,'',0),
+(3223,1,0,"What's needed for the cauldron at Dalson's Tears?",6517,3,131,0,0,0,0,'',0),
+(3223,2,0,"What's needed for the cauldron at the Writhing Haunt?",6518,3,131,0,0,0,0,'',0),
+(3223,3,0,"What's needed for the cauldron at Gahrron's Withering?",6519,3,131,0,0,0,0,'',0),
+(3228,0,0,"What's needed for the cauldron at Felstone Field?",6516,3,131,0,0,0,0,'',0),
+(3228,1,0,"What's needed for the cauldron at Dalson's Tears?",6517,3,131,0,0,0,0,'',0),
+(3228,2,0,"What's needed for the cauldron at the Writhing Haunt?",6518,3,131,0,0,0,0,'',0),
+(3228,3,0,"What's needed for the cauldron at Gahrron's Withering?",6519,3,131,0,0,0,0,'',0),
+(3229,0,0,"I need a Vitreous Focuser.",6531,3,131,0,0,0,0,'',0);