summaryrefslogblamecommitdiff
path: root/db/craft_db.conf
blob: a3bb5a610adbce671f4d359dcd32b16cef8bf2e0 (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
	}
},
******************************************************************************/

/*
TODO: allow ReturnCode to be a constant
FIXME: use a regex find-replace to change ReturnCode to the corresponding AegisName constants
*/

/**************
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
*******************************************************************************/

{
	Id: 100
	Name: "CraftCreasedShirt"
	Flag: "CRAFT_TAILORING"
	ReturnCode: 1300
	SourceItems:
	(
		{
			CottonCloth: 5
			PiouFeathers: 15
			RattoTail: 5
			Knife: 1
		},
	)
	CreateItems:
	(
		{
			CreasedShirt: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 10
},
{
	Id: 101
	Name: "CraftArtisTankTop"
	Flag: "CRAFT_TAILORING"
	ReturnCode: 1302
	SourceItems:
	(
		{
			CottonCloth: 10
			PiouFeathers: 5
			Moss: 5
			Knife: 1
		},
	)
	CreateItems:
	(
		{
			ArtisTankTop: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 11
},
{
	Id: 102
	Name: "CraftVneckJumper"
	Flag: "CRAFT_TAILORING"
	ReturnCode: 1301
	SourceItems:
	(
		{
			CottonCloth: 15
			PiouFeathers: 5
			Moss: 7
			Knife: 1
		},
	)
	CreateItems:
	(
		{
			VneckJumper: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 20
},
{
	Id: 103
	Name: "CraftSailorShirt"
	Flag: "CRAFT_TAILORING"
	ReturnCode: 1303
	SourceItems:
	(
		{
			CottonCloth: 15
			LeatherPatch: 5
			Coal: 5
			Knife: 1
		},
	)
	CreateItems:
	(
		{
			SailorShirt: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 21
},
{
	Id: 104
	Name: "CraftFineDress"
	Flag: "CRAFT_TAILORING"
	ReturnCode: 1308
	SourceItems:
	(
		{
			CottonCloth: 23
			FluffyFur: 5
			SilkCocoon: 10
			Knife: 1
		},
	)
	CreateItems:
	(
		{
			FineDress: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 22
},
{
	Id: 105
	Name: "CraftSilkRobe"
	Flag: "CRAFT_TAILORING"
	ReturnCode: 1308
	SourceItems:
	(
		{
			SilkCocoon: 40
			CottonCloth: 10
			FluffyFur: 3
			Knife: 1
		},
	)
	CreateItems:
	(
		{
			SilkRobe: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 30
},
{
	Id: 106
	Name: "CraftLegionTrainingShirt"
	Flag: "CRAFT_SMITHERY"
	ReturnCode: 1304
	SourceItems:
	(
		{
			IronIngot: 5
			CopperIngot: 1
			Coal: 5
			Knife: 1
		},
	)
	CreateItems:
	(
		{
			LegionTrainingShirt: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 31
},
{
	Id: 107
	Name: "CraftForestArmor"
	Flag: "CRAFT_TAILORING"
	ReturnCode: 1306
	SourceItems:
	(
		{
			LeatherPatch: 10
			Moss: 20
			TortugaShellFragment: 3
			Knife: 1
		},
	)
	CreateItems:
	(
		{
			ForestArmor: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 32
},
{
	Id: 108
	Name: "CraftLegionCopperArmor"
	Flag: "CRAFT_SMITHERY"
	ReturnCode: 1305
	SourceItems:
	(
		{
			CopperIngot: 10
			IronIngot: 3
			Coal: 10
			SharpKnife: 1
		},
	)
	CreateItems:
	(
		{
			LegionCopperArmor: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 40
},
{
	Id: 109
	Name: "CraftApprenticeRobe"
	Flag: "CRAFT_TAILORING"
	ReturnCode: 1312
	SourceItems:
	(
		{
			CottonCloth: 10
			SilkCocoon: 70
			FluffyFur: 10
			SharpKnife: 1
		},
	)
	CreateItems:
	(
		{
			ApprenticeRobe: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 41
},
{
	Id: 110
	Name: "CraftPeltJacket"
	Flag: "CRAFT_TAILORING"
	ReturnCode: 1319
	SourceItems:
	(
		{
			SquirrelPelt: 25
			LeatherPatch: 10
			Moss: 15
			SharpKnife: 1
		},
	)
	CreateItems:
	(
		{
			PeltJacket: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 42
},
{
	Id: 111
	Name: "CraftChainmail"
	Flag: "CRAFT_SMITHERY"
	ReturnCode: 1315
	SourceItems:
	(
		{
			IronIngot: 18
			SilverIngot: 3
			Coal: 20
			SharpKnife: 1
		},
	)
	CreateItems:
	(
		{
			Chainmail: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 50
},
{
	Id: 112
	Name: "CraftSnakeplate"
	Flag: "CRAFT_SMITHERY"
	ReturnCode: 1320
	SourceItems:
	(
		{
			SnakeScale: 55
			IronIngot: 3
			Moss: 15
			SharpKnife: 1
		},
	)
	CreateItems:
	(
		{
			Snakeplate: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 51
},
{
	Id: 113
	Name: "CraftLightPlatemail"
	Flag: "CRAFT_SMITHERY"
	ReturnCode: 1318
	SourceItems:
	(
		{
			IronIngot: 25
			SilverIngot: 5
			Coal: 25
			SharpKnife: 1
		},
	)
	CreateItems:
	(
		{
			LightPlatemail: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 52
},
{
	Id: 114
	Name: "CraftJustifierChest"
	Flag: "CRAFT_SMITHERY"
	ReturnCode: 1317
	SourceItems:
	(
		{
			RotoniumIngot: 3
			CottonCloth: 40
			Coal: 20
			SharpKnife: 1
		},
	)
	CreateItems:
	(
		{
			JustifierChest: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 53
},
{
	Id: 115
	Name: "CraftSorcererRobe"
	Flag: "CRAFT_TAILORING"
	ReturnCode: 1321
	SourceItems:
	(
		{
			CottonCloth: 60
			FluffyFur: 40
			SilkCocoon: 20
			Dagger: 1
		},
	)
	CreateItems:
	(
		{
			SorcererRobe: 1
		},
	)
	RequiredItems: {
		RecipeBook: 1
	}
	Priority: 60
},

/************************* 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
*******************************************************************************/
)