aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr-J <daniel.jarrott0@gmail.com>2016-11-01 12:57:34 +0000
committerGitHub <noreply@github.com>2016-11-01 12:57:34 +0000
commitcefed89c38bcd7bb7562df51f9e932878084c5da (patch)
tree7f3d9398fe2af622156bc28940b4b8f815a1d143
parent555bd88e3186f8ebc2bf17dc2a54556e5027e290 (diff)
DB/Creature: Augustus the Untouched
Move from cpp to db, also added some missing detail
-rw-r--r--sql/updates/world/3.3.5/2016_11_01_02_world.sql16
1 files changed, 16 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2016_11_01_02_world.sql b/sql/updates/world/3.3.5/2016_11_01_02_world.sql
new file mode 100644
index 00000000000..bf37b2b41c7
--- /dev/null
+++ b/sql/updates/world/3.3.5/2016_11_01_02_world.sql
@@ -0,0 +1,16 @@
+DELETE FROM `gossip_menu_option` WHERE `menu_id`=4085;
+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`, `VerifiedBuild`) VALUES
+(4085, 0, 1, 'Yes, Augustus. I would like to do business.', 7623, 3, 128, 0, 0, 0, 0, '', 0, 0);
+
+DELETE FROM `gossip_menu` WHERE `entry`=4085;
+INSERT INTO `gossip_menu` (`entry`, `text_id`, `VerifiedBuild`) VALUES
+(4085, 4979, 0),
+(4085, 4980, 0);
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`IN(14,15) AND `SourceGroup`=4085;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(14, 4085, 4979, 0, 0, 8, 0, 6164, 0, 0, 1, 0, 0, '', 'Augustus - Show Gossip Menu text 4979 if Quest 6164 is not rewarded'),
+(14, 4085, 4980, 0, 0, 8, 0, 6164, 0, 0, 0, 0, 0, '', 'Augustus - Show Gossip Menu text 4980 if Quest 6164 is rewarded'),
+(15, 4085, 0, 0, 0, 8, 0, 6164, 0, 0, 0, 0, 0, '', 'Augustus - Only allow players who have completed Augustus Receipt Book to access vendor');
+
+UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=12384;