aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyreth <Wyreth@users.noreply.github.com>2017-09-30 15:57:18 +0200
committerShauren <shauren.trinity@gmail.com>2020-09-13 18:41:50 +0200
commitea9e412943d7708d6f44d62008205116aefa7e0e (patch)
tree2d8a4975a16ff806b2576848ea8d2d61f543ed3f
parentb884843814ebfbf667e205ea6da91b6a1ce671d8 (diff)
DB/Gossip: Gossip options for NPCs in Stillpine Hold
Closes #20474 (cherry picked from commit 9e1885c0038379230735055ac5619cea086cf268)
-rw-r--r--sql/updates/world/master/2020_09_13_14_world_2017_09_30_07_world.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/world/master/2020_09_13_14_world_2017_09_30_07_world.sql b/sql/updates/world/master/2020_09_13_14_world_2017_09_30_07_world.sql
new file mode 100644
index 00000000000..7bd82697cfa
--- /dev/null
+++ b/sql/updates/world/master/2020_09_13_14_world_2017_09_30_07_world.sql
@@ -0,0 +1,10 @@
+-- show gossip options for NPCs in Stillpine Hold only if The Prophecy of Akida rewarded
+DELETE FROM `gossip_menu_option` WHERE `MenuID`=7431 AND `OptionIndex`=0;
+INSERT INTO `gossip_menu_option` (`MenuID`, `OptionIndex`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES
+(7431, 0, 1, "Hello, Parkat. I wish to purchase something.", 14161, 3, 128, 0);
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` IN (7428, 7429, 7430, 7431);
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(15, 7428, 0, 0, 0, 8, 0, 9544, 0, 0, 0, 0, 0, "", "Show gossip option 0 if player has quest 9544 rewarded"),
+(15, 7429, 0, 0, 0, 8, 0, 9544, 0, 0, 0, 0, 0, "", "Show gossip option 0 if player has quest 9544 rewarded"),
+(15, 7430, 0, 0, 0, 8, 0, 9544, 0, 0, 0, 0, 0, "", "Show gossip option 0 if player has quest 9544 rewarded"),
+(15, 7431, 0, 0, 0, 8, 0, 9544, 0, 0, 0, 0, 0, "", "Show gossip option 0 if player has quest 9544 rewarded");