aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/world
diff options
context:
space:
mode:
authorForesterDev <forester.manv@gmail.com>2017-10-29 13:15:22 +0400
committerAokromes <Aokromes@users.noreply.github.com>2017-10-29 10:15:22 +0100
commita64d1ec51eb11fd01a26d08a09de3d8d7dd89675 (patch)
treed596fc0956ea1ff59493d5f41d9a789a73be733f /sql/updates/world
parentbbd339370ed2eea5f12e79a977fd9e0e93543101 (diff)
Core/Quests: implement Quest Greeting (DB table quest_greeting)
* Core/Quests: implement Quest Greetings. Partial port https://github.com/TrinityCore/TrinityCore/commit/22e230ecec1c7ce4eb4daeb60adfa03098271f34
Diffstat (limited to 'sql/updates/world')
-rw-r--r--sql/updates/world/3.3.5/2017_10_29_01_world_335.sql28
1 files changed, 28 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2017_10_29_01_world_335.sql b/sql/updates/world/3.3.5/2017_10_29_01_world_335.sql
new file mode 100644
index 00000000000..466fc840efa
--- /dev/null
+++ b/sql/updates/world/3.3.5/2017_10_29_01_world_335.sql
@@ -0,0 +1,28 @@
+DELETE FROM `command` WHERE `name`='reload quest_greeting';
+INSERT INTO `command` (`name`, `permission`, `help`) VALUES
+('reload quest_greeting', 843, 'Syntax: .reload quest_greeting\nReload quest_greeting table.');
+
+DELETE FROM `command` WHERE `name`='reload quest_greeting_locale';
+INSERT INTO `command` (`name`, `permission`, `help`) VALUES
+('reload quest_greeting_locale', 867, 'Syntax: .reload quest_greeting_locale\nReload quest_greeting_locale table.');
+
+DROP TABLE IF EXISTS `quest_greeting`;
+CREATE TABLE `quest_greeting` (
+ `ID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
+ `Type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
+ `GreetEmoteType` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
+ `GreetEmoteDelay` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `Greeting` TEXT,
+ `VerifiedBuild` SMALLINT(5) NOT NULL DEFAULT '0',
+ PRIMARY KEY (`ID`,`Type`)
+) ENGINE=MYISAM DEFAULT CHARSET=utf8;
+
+DROP TABLE IF EXISTS `quest_greeting_locale`;
+CREATE TABLE `quest_greeting_locale` (
+ `ID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
+ `Type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
+ `locale` VARCHAR(4) NOT NULL,
+ `Greeting` TEXT,
+ `VerifiedBuild` SMALLINT(5) DEFAULT '0',
+ PRIMARY KEY (`ID`,`Type`)
+) ENGINE=MYISAM DEFAULT CHARSET=utf8;