summaryrefslogblamecommitdiff
path: root/db/craft_db.conf
blob: 6fbf09060e0f8b635084465dbb0a5d9af98fd073 (plain) (tree)
1
2
3
4
5
6


                                                                               

                                                                               
 






                                                    
 






































                                                                                


                                                                               















                                                                                
 
             
                                 
                             
























                                       

  
             
                                    
                             


















                                          

  
             
                                   
                             


















                                         
  









































                                                                                
 
craft_db: (
//  craft Database
/******************************************************************************
************* Entry structure *************************************************
*******************************************************************************
{
	Id: craft id                    [int]
	Name: craft name                [string]
	Priority: craft priority        [int]
	Price: craft price              [int]
	Lv: base level                  [int]
	Flag: flag from craft object    [string/int]
	ReturnCode: return code for scripts [int]

	SourceItems: ({  craft inventory source (will be deleted after crafting)
		Name: amount                [int]
		...
	},
	...
	)
	CreateItems: ( // items what will be creted in crafting
	{
		Name: amount
		...
	},
	{
		Name:
		{
			Amount: amount
			Cards: ["card0", ...]
		},
	},
	...
	)
	DeleteItems: {  additional items what will be deleted from inventory
		Name: amount                [int]
		...
	}
	RequiredItems: {  required additional items. will be unchanged
		Name: amount                [int]
		...
	}
	RequiredSkills: {  required skills and levels
		Name: level                 [int]
		...
	}
	RequiredQuests: {
		Name: level                 [int]
		...
	}
	RequiredEquips: {
		Name: true
	}
},
******************************************************************************/

/**************
Cooking:        000 --> 099
Chest Armor:    100 --> 199
Pants:          200 --> 299
Gloves:         300 --> 399
Weapons:        400 --> 499
Shields:        500 --> 599
Hats:           600 --> 699
Boots:          700 --> 799
**************/

/****************************** COOKING ****************************************
********************************************************************************
**** Reserved range for <Id>: 000 --> 099
**** Valid <Flag> parameters: CRAFT_COOKING
*******************************************************************************/
{
	Id: 0
	Name: "CraftCarpSandwich"
	Flag: "CRAFT_COOKING"
	SourceItems:
	(
		{
			Bread: 1
			LettuceLeaf: 3
			Cheese: 2
			CommonCarp: 1
		},
		{
			Bread: 1
			LettuceLeaf: 3
			Cheese: 2
			GrassCarp: 1
		},
	)
	CreateItems:
	(
		{
			CarpSandwich: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 10
},
{
	Id: 1
	Name: "CraftPioulegSandwich"
	Flag: "CRAFT_COOKING"
	SourceItems:
	(
		{
			Bread: 1
			LettuceLeaf: 3
			Cheese: 2
			PiouLegs: 1
		},
	)
	CreateItems:
	(
		{
			PioulegSandwich: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 10
},
{
	Id: 2
	Name: "CraftMananaSandwich"
	Flag: "CRAFT_COOKING"
	SourceItems:
	(
		{
			Bread: 1
			LettuceLeaf: 3
			Cheese: 2
			Manana: 1
		},
	)
	CreateItems:
	(
		{
			MananaSandwich: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 10
},

/************************ CHEST ARMOR (SHIRTS) *********************************
********************************************************************************
**** Reserved range for <Id>: 100 --> 199
**** Valid <Flag> parameters: CRAFT_SMITHERY, CRAFT_TAILORING
*******************************************************************************/

/************************* LEG ARMOR (PANTS) ***********************************
********************************************************************************
**** Reserved range for <Id>: 200 --> 299
**** Valid <Flag> parameters: CRAFT_SMITHERY, CRAFT_TAILORING
*******************************************************************************/

/****************************** GLOVES *****************************************
********************************************************************************
**** Reserved range for <Id>: 300 --> 399
**** Valid <Flag> parameters: CRAFT_SMITHERY, CRAFT_TAILORING
*******************************************************************************/

/************************** WEAPONS & TOOLS ************************************
********************************************************************************
**** Reserved range for <Id>: 400 --> 499
**** Valid <Flag> parameters: CRAFT_SMITHERY
*******************************************************************************/

/****************************** SHIELDS ****************************************
********************************************************************************
**** Reserved range for <Id>: 500 --> 599
**** Valid <Flag> parameters: CRAFT_SMITHERY
*******************************************************************************/

/************************* HEAD ARMOR (HATS) ***********************************
********************************************************************************
**** Reserved range for <Id>: 600 --> 699
**** Valid <Flag> parameters: CRAFT_SMITHERY, CRAFT_TAILORING
*******************************************************************************/

/******************************* BOOTS *****************************************
********************************************************************************
**** Reserved range for <Id>: 700 --> 799
**** Valid <Flag> parameters: CRAFT_SMITHERY, CRAFT_TAILORING
*******************************************************************************/
)