
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11426 54d463be-8e91-2dee-dedb-b68131a5f0ec
43 lines
1.7 KiB
SQL
43 lines
1.7 KiB
SQL
#
|
|
# Table structure for table `item_db2`
|
|
#
|
|
|
|
DROP TABLE IF EXISTS `item_db2`;
|
|
CREATE TABLE `item_db2` (
|
|
`id` smallint(5) unsigned NOT NULL default '0',
|
|
`name_english` varchar(50) NOT NULL default '',
|
|
`name_japanese` varchar(50) NOT NULL default '',
|
|
`type` tinyint(2) unsigned NOT NULL default '0',
|
|
`price_buy` mediumint(10) unsigned default NULL,
|
|
`price_sell` mediumint(10) unsigned default NULL,
|
|
`weight` smallint(5) unsigned NOT NULL default '0',
|
|
`attack` smallint(3) unsigned default NULL,
|
|
`defence` tinyint(3) unsigned default NULL,
|
|
`range` tinyint(2) unsigned default NULL,
|
|
`slots` tinyint(2) unsigned default NULL,
|
|
`equip_jobs` int(12) unsigned default NULL,
|
|
`equip_upper` tinyint(8) unsigned default NULL,
|
|
`equip_genders` tinyint(2) unsigned default NULL,
|
|
`equip_locations` smallint(4) unsigned default NULL,
|
|
`weapon_level` tinyint(2) unsigned default NULL,
|
|
`equip_level` tinyint(3) unsigned default NULL,
|
|
`refineable` tinyint(1) unsigned default NULL,
|
|
`view` smallint(3) unsigned default NULL,
|
|
`script` text,
|
|
`equip_script` text,
|
|
`unequip_script` text,
|
|
PRIMARY KEY (`id`)
|
|
) TYPE=MyISAM;
|
|
|
|
# // Items Additional Database - Custom Items go here
|
|
# //
|
|
# // Structure of Database:
|
|
# // ID,Name,Name,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }
|
|
# //
|
|
# // THQ Quest Items
|
|
# //=============================================================
|
|
# //7950,THG_Membership,THG Membership,3,,10,10,,,,,,,,,,,,,{},{},{}
|
|
# //7951,Token_Bag,Token Bag,3,,10,10,,,,,,,,,,,,,{},{},{}
|
|
# //1998,Jeramiah's_Jur,Jeramiah's Jur,3,,10,10,,,,,,,,,,,,,{},{},{}
|
|
# //1999,Zed's_Staff,Zed's Staff,3,,10,10,,,,,,,,,,,,,{},{},{}
|