aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorChaz Brown <iamparadox@netscape.net>2009-09-09 18:07:08 -0400
committerChaz Brown <iamparadox@netscape.net>2009-09-09 18:07:08 -0400
commita67246587a47da04d95f367ec279615ba9a0c67a (patch)
tree4ca0c0fbf613d693bd55d05b797cc0209f5c679c /sql/updates
parent0d8ea7cd9710021eb9e25fa004dcbb70dc5e64eb (diff)
Start preparing script texts for upcoming changes to the way script texts will be handled. Be sure to reapply world_script_texts.sql from the FULL directory. This update will remove the entire table script_texts and recreate it, if you have custom script texts, back them up (data only) before applying the update.
--HG-- branch : trunk
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/5595_world_script_text.sql21
1 files changed, 21 insertions, 0 deletions
diff --git a/sql/updates/5595_world_script_text.sql b/sql/updates/5595_world_script_text.sql
new file mode 100644
index 00000000000..f99352cd22f
--- /dev/null
+++ b/sql/updates/5595_world_script_text.sql
@@ -0,0 +1,21 @@
+DROP TABLE IF EXISTS `script_texts`;
+CREATE TABLE `script_texts` (
+ `npc_entry` mediumint(8) NOT NULL default '0' COMMENT 'creature_template entry',
+ `entry` mediumint(8) NOT NULL,
+ `content_default` text NOT NULL,
+ `content_loc1` text,
+ `content_loc2` text,
+ `content_loc3` text,
+ `content_loc4` text,
+ `content_loc5` text,
+ `content_loc6` text,
+ `content_loc7` text,
+ `content_loc8` text,
+ `sound` mediumint(8) unsigned NOT NULL default '0',
+ `type` tinyint(3) unsigned NOT NULL default '0',
+ `language` tinyint(3) unsigned NOT NULL default '0',
+ `emote` smallint(5) unsigned NOT NULL default '0',
+ `comment` text,
+ PRIMARY KEY (`npc_entry`,`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Script Texts';
+