Char server now loads/saves quest information.

Included table definitions for quests and quest objectives.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12545 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Kevin
2008-04-10 05:35:04 +00:00
parent 6391d7b687
commit f5fd71f4be
4 changed files with 164 additions and 3 deletions

View File

@@ -565,6 +565,34 @@ CREATE TABLE `pet` (
PRIMARY KEY (`pet_id`)
) ENGINE=MyISAM;
--
-- Table structure for table `quest`
--
DROP TABLE IF EXISTS `quest`;
CREATE TABLE `quest` (
`id` int(11) unsigned NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '',
`char_id` int(11) unsigned NOT NULL default '0',
`quest_id` int(10) unsigned NOT NULL,
`state` enum('1','0') NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM;
--
-- Table structure for table `quest_mob`
--
DROP TABLE IF EXISTS `quest_objective`;
CREATE TABLE `quest_objective` (
`id` int(11) unsigned NOT NULL auto_increment,
`quest_id` int(11) unsigned NOT NULL,
`count` mediumint(8) unsigned NOT NULL default '0',
`name` varchar(255) NOT NULL default '',
`num` tinyint(3) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM;
--
-- Table structure for table `ragsrvinfo`
--