DB/Gossip: Gossip options for NPCs in Stillpine Hold

Closes #20474
This commit is contained in:
Wyreth
2017-09-30 15:57:18 +02:00
committed by Aokromes
parent 0c52b5e001
commit add778d6b4

View File

@@ -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 `OptionID`=0;
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(7431, 0, 1, "Hello, Parkat. I wish to purchase something.", 14161, 3, 128, 0, 0, 0, 0, "", 0, 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");