mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
[2008_10_27_01_npc_option.sql,2008_10_27_02_locales_npc_option.sql] Implement npc_option localization support, also store in DB BoxText/BoxMoney/Coded.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
74ddd38af3
commit
94e29ce6a8
11 changed files with 206 additions and 24 deletions
|
|
@ -1803,6 +1803,42 @@ LOCK TABLES `locales_item` WRITE;
|
|||
/*!40000 ALTER TABLE `locales_item` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
||||
--
|
||||
-- Table structure for table `locales_npc_option`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `locales_npc_option`;
|
||||
CREATE TABLE `locales_npc_option` (
|
||||
`entry` mediumint(8) unsigned NOT NULL default '0',
|
||||
`option_text_loc1` text,
|
||||
`option_text_loc2` text,
|
||||
`option_text_loc3` text,
|
||||
`option_text_loc4` text,
|
||||
`option_text_loc5` text,
|
||||
`option_text_loc6` text,
|
||||
`option_text_loc7` text,
|
||||
`option_text_loc8` text,
|
||||
`box_text_loc1` text,
|
||||
`box_text_loc2` text,
|
||||
`box_text_loc3` text,
|
||||
`box_text_loc4` text,
|
||||
`box_text_loc5` text,
|
||||
`box_text_loc6` text,
|
||||
`box_text_loc7` text,
|
||||
`box_text_loc8` text,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Dumping data for table `locales_npc_option`
|
||||
--
|
||||
|
||||
LOCK TABLES `locales_npc_option` WRITE;
|
||||
/*!40000 ALTER TABLE `locales_npc_option` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `locales_npc_option` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `locales_npc_text`
|
||||
--
|
||||
|
|
@ -2707,12 +2743,15 @@ UNLOCK TABLES;
|
|||
|
||||
DROP TABLE IF EXISTS `npc_option`;
|
||||
CREATE TABLE `npc_option` (
|
||||
`id` tinyint(3) unsigned NOT NULL default '0',
|
||||
`gossip_id` tinyint(3) unsigned NOT NULL default '0',
|
||||
`id` mediumint(8) unsigned NOT NULL default '0',
|
||||
`gossip_id` mediumint(8) unsigned NOT NULL default '0',
|
||||
`npcflag` int(10) unsigned NOT NULL default '0',
|
||||
`icon` tinyint(3) unsigned NOT NULL default '0',
|
||||
`action` tinyint(3) unsigned NOT NULL default '0',
|
||||
`action` mediumint(8) unsigned NOT NULL default '0',
|
||||
`box_money` int(10) unsigned NOT NULL default '0',
|
||||
`coded` tinyint(3) unsigned NOT NULL default '0',
|
||||
`option_text` text,
|
||||
`box_text` text,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue