Files
AzerothCore-Converted-Modul…/mod_npccodebox/sql/npc_codebox.sql
Maximilian Unsinn b78389acaf Initial Release
2021-04-05 16:20:35 +02:00

46 lines
2.2 KiB
SQL

USE world;
-- ######################################################--
-- NPC CODEBOX TABLES
-- ######################################################--
SET FOREIGN_KEY_CHECKS=0;
INSERT INTO `creature_template` VALUES ('190000', '0', '0', '0', '0', '0', '16804', '0', '0', '0', 'Retdream', 'Keeper of Codes', 'Buy', '0', '80', '80', '0', '35', '1', '1', '1.14286', '1', '0', '0', '0', '0', '1', '1', '1', '2', '0', '0', '0', '7', '138936390', '0', '0', '0', '0', '0', '0', '0', 'SmartAI', '0', '1', '1', '1', '1', '1', '1', '0', '0', '1', '0', '0', '2', 'codebox_npc', '0');
-- ----------------------------
-- Table structure for lootcode_items
-- ----------------------------
DROP TABLE IF EXISTS `lootcode_items`;
CREATE TABLE `lootcode_items` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`code` varchar(32) DEFAULT NULL,
`itemId` int(7) unsigned DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`quantity` int(14) NOT NULL DEFAULT '1',
`gold` int(14) unsigned DEFAULT NULL,
`charges` tinyint(5) DEFAULT '1',
`isUnique` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of lootcode_items
-- ----------------------------
INSERT INTO `lootcode_items` VALUES ('1', 'sixbags', '21841', 'Netherweave Bag', '6', '0', '2', '0');
INSERT INTO `lootcode_items` VALUES ('2', 'artifact', '4696', 'Lapidis Tankard of Tidesippe', '1', '5', '3', '0');
INSERT INTO `lootcode_items` VALUES ('3', 'ballroom', '3419', 'Red Rose', '1', '100', '3', '0');
INSERT INTO `lootcode_items` VALUES ('4', 'ballroom', '6833', 'Tuxedo Shirt', '1', '0', '3', '0');
INSERT INTO `lootcode_items` VALUES ('5', 'ballroom', '6835', 'Tuxedo Pants', '1', '0', '3', '0');
-- ----------------------------
-- Table structure for lootcode_player
-- ----------------------------
DROP TABLE IF EXISTS `lootcode_player`;
CREATE TABLE `lootcode_player` (
`id` int(7) unsigned NOT NULL AUTO_INCREMENT,
`code` varchar(255) DEFAULT NULL,
`playerGUID` int(7) unsigned DEFAULT NULL,
`isUnique` tinyint(1) unsigned NOT NULL DEFAULT '0',
`redeemed` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;