Advertisement
Guest User

NPC Crafter/exchanger

a guest
Nov 8th, 2015
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 2.27 KB | None | 0 0
  1. /*
  2. SQLyog Ultimate v10.42
  3. MySQL - 5.5.9-log : Database - world
  4. *********************************************************************
  5. */
  6.  
  7.  
  8. /*!40101 SET NAMES utf8 */;
  9.  
  10. /*!40101 SET SQL_MODE=''*/;
  11.  
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. CREATE DATABASE /*!32312 IF NOT EXISTS*/`world` /*!40100 DEFAULT CHARACTER SET latin1 */;
  17.  
  18. USE `world`;
  19.  
  20. /*Table structure for table `craft_system` */
  21.  
  22. DROP TABLE IF EXISTS `craft_system`;
  23.  
  24. CREATE TABLE `craft_system` (
  25.   `name` longtext NOT NULL COMMENT 'Craft item name',
  26.   `item` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Craft item entry',
  27.   `count` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Craft count',
  28.   `r_item1` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Reagent 1 entry',
  29.   `r_count1` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Reagent 1 count',
  30.   `r_item2` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Reagent 2 entry',
  31.   `r_count2` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Reagent 2 count',
  32.   `r_item3` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Reagent 3 entry',
  33.   `r_count3` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Reagent 3 count',
  34.   `r_item4` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  35.   `r_count4` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  36.   `r_item5` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  37.   `r_count5` INT(10) UNSIGNED NOT NULL DEFAULT '0'
  38. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  39.  
  40. /*Data for the table `craft_system` */
  41.  
  42. INSERT  INTO `craft_system`(`name`,`item`,`count`,`r_item1`,`r_count1`,`r_item2`,`r_count2`,`r_item3`,`r_count3`,`r_item4`,`r_count4`,`r_item5`,`r_count5`) VALUES ('test2',38497,1,6652,1,32595,2,0,0,0,0,0,0),('test1',40599,10,33635,1,0,0,0,0,0,0,0,0),('test3',49778,1,32595,1,0,0,0,0,0,0,0,0),('test11',53924,2,11613,3,39450,10,7101,6,50248,4,49984,7),('test4',0,0,0,0,0,0,0,0,0,0,0,0),('string1',2550,1,33635,1,0,0,0,0,0,0,0,0);
  43.  
  44. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  45. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  46. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  47. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement