1 | DROP TABLE IF EXISTS `custom_texts`; |
---|
2 | CREATE TABLE `custom_texts` ( |
---|
3 | `entry` mediumint(8) NOT NULL, |
---|
4 | `content_default` text NOT NULL, |
---|
5 | `content_loc1` text, |
---|
6 | `content_loc2` text, |
---|
7 | `content_loc3` text, |
---|
8 | `content_loc4` text, |
---|
9 | `content_loc5` text, |
---|
10 | `content_loc6` text, |
---|
11 | `content_loc7` text, |
---|
12 | `content_loc8` text, |
---|
13 | `sound` mediumint(8) unsigned NOT NULL default '0', |
---|
14 | `type` tinyint unsigned NOT NULL default '0', |
---|
15 | `language` tinyint unsigned NOT NULL default '0', |
---|
16 | `comment` text, |
---|
17 | PRIMARY KEY (`entry`) |
---|
18 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Custom Texts'; |
---|
19 | |
---|
20 | DROP TABLE IF EXISTS `eventai_scripts`; |
---|
21 | CREATE TABLE `eventai_scripts` ( |
---|
22 | `id` int(11) unsigned NOT NULL COMMENT 'Identifier' AUTO_INCREMENT, |
---|
23 | `creature_id` int(11) unsigned NOT NULL default '0' COMMENT 'Creature Template Identifier', |
---|
24 | `event_type` tinyint(5) unsigned NOT NULL default '0' COMMENT 'Event Type', |
---|
25 | `event_inverse_phase_mask` int(11) signed NOT NULL default '0' COMMENT 'Mask which phases this event will not trigger in', |
---|
26 | `event_chance` int(3) unsigned NOT NULL default '100', |
---|
27 | `event_flags` int(3) unsigned NOT NULL default '0', |
---|
28 | `event_param1` int(11) signed NOT NULL default '0', |
---|
29 | `event_param2` int(11) signed NOT NULL default '0', |
---|
30 | `event_param3` int(11) signed NOT NULL default '0', |
---|
31 | `event_param4` int(11) signed NOT NULL default '0', |
---|
32 | `action1_type` tinyint(5) unsigned NOT NULL default '0' COMMENT 'Action Type', |
---|
33 | `action1_param1` int(11) signed NOT NULL default '0', |
---|
34 | `action1_param2` int(11) signed NOT NULL default '0', |
---|
35 | `action1_param3` int(11) signed NOT NULL default '0', |
---|
36 | `action2_type` tinyint(5) unsigned NOT NULL default '0' COMMENT 'Action Type', |
---|
37 | `action2_param1` int(11) signed NOT NULL default '0', |
---|
38 | `action2_param2` int(11) signed NOT NULL default '0', |
---|
39 | `action2_param3` int(11) signed NOT NULL default '0', |
---|
40 | `action3_type` tinyint(5) unsigned NOT NULL default '0' COMMENT 'Action Type', |
---|
41 | `action3_param1` int(11) signed NOT NULL default '0', |
---|
42 | `action3_param2` int(11) signed NOT NULL default '0', |
---|
43 | `action3_param3` int(11) signed NOT NULL default '0', |
---|
44 | `comment` varchar(255) NOT NULL default '' COMMENT 'Event Comment', |
---|
45 | PRIMARY KEY (`id`) |
---|
46 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='EventAI Scripts'; |
---|
47 | |
---|
48 | DROP TABLE IF EXISTS `eventai_summons`; |
---|
49 | CREATE TABLE `eventai_summons` ( |
---|
50 | `id` int(11) unsigned NOT NULL COMMENT 'Location Identifier' AUTO_INCREMENT, |
---|
51 | `position_x` float NOT NULL default '0', |
---|
52 | `position_y` float NOT NULL default '0', |
---|
53 | `position_z` float NOT NULL default '0', |
---|
54 | `orientation` float NOT NULL default '0', |
---|
55 | `spawntimesecs` int(11) unsigned NOT NULL default '120', |
---|
56 | `comment` varchar(255) NOT NULL default '' COMMENT 'Summon Comment', |
---|
57 | PRIMARY KEY (`id`) |
---|
58 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='EventAI Summoning Locations'; |
---|
59 | |
---|
60 | DROP TABLE IF EXISTS `eventai_texts`; |
---|
61 | CREATE TABLE `eventai_texts` ( |
---|
62 | `entry` mediumint(8) NOT NULL, |
---|
63 | `content_default` text NOT NULL, |
---|
64 | `content_loc1` text, |
---|
65 | `content_loc2` text, |
---|
66 | `content_loc3` text, |
---|
67 | `content_loc4` text, |
---|
68 | `content_loc5` text, |
---|
69 | `content_loc6` text, |
---|
70 | `content_loc7` text, |
---|
71 | `content_loc8` text, |
---|
72 | `sound` mediumint(8) unsigned NOT NULL default '0', |
---|
73 | `type` tinyint unsigned NOT NULL default '0', |
---|
74 | `language` tinyint unsigned NOT NULL default '0', |
---|
75 | `comment` text, |
---|
76 | PRIMARY KEY (`entry`) |
---|
77 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Script Texts'; |
---|
78 | |
---|
79 | DROP TABLE IF EXISTS `script_texts`; |
---|
80 | CREATE TABLE `script_texts` ( |
---|
81 | `entry` mediumint(8) NOT NULL, |
---|
82 | `content_default` text NOT NULL, |
---|
83 | `content_loc1` text, |
---|
84 | `content_loc2` text, |
---|
85 | `content_loc3` text, |
---|
86 | `content_loc4` text, |
---|
87 | `content_loc5` text, |
---|
88 | `content_loc6` text, |
---|
89 | `content_loc7` text, |
---|
90 | `content_loc8` text, |
---|
91 | `sound` mediumint(8) unsigned NOT NULL default '0', |
---|
92 | `type` tinyint unsigned NOT NULL default '0', |
---|
93 | `language` tinyint unsigned NOT NULL default '0', |
---|
94 | `comment` text, |
---|
95 | PRIMARY KEY (`entry`) |
---|
96 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Script Texts'; |
---|
97 | |
---|
98 | DROP TABLE IF EXISTS `script_db_version`; |
---|
99 | CREATE TABLE `script_db_version` ( |
---|
100 | `version` varchar(255) NOT NULL default '' COMMENT 'Script Database version string' |
---|
101 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
---|