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
// Name: "Craft([^"]+)"\n\tFlag: "([^"]+)"\n\tReturnCode: [0-9]+
// Name: "Craft$1"\n\tFlag: "$2"\n\tReturnCode: "$1"
*/
/**************
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: "CreasedShirt"
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: "ArtisTankTop"
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: "VneckJumper"
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: "SailorShirt"
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: "FineDress"
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: "SilkRobe"
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: "LegionTrainingShirt"
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: "ForestArmor"
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: "LegionCopperArmor"
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: "ApprenticeRobe"
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: "PeltJacket"
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: "Chainmail"
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: "Snakeplate"
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: "LightPlatemail"
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: "JustifierChest"
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: "SorcererRobe"
SourceItems:
(
{
CottonCloth: 60
FluffyFur: 40
SilkCocoon: 20
Dagger: 1
},
)
CreateItems:
(
{
SorcererRobe: 1
},
)
RequiredItems: {
RecipeBook: 1
}
Priority: 60
},
{
Id: 116
Name: "CraftLegionIronArmor"
Flag: "CRAFT_SMITHERY"
ReturnCode: "LegionIronArmor"
SourceItems:
(
{
IronIngot: 30
RotoniumIngot: 6
Coal: 40
Dagger: 1
},
)
CreateItems:
(
{
LegionIronArmor: 1
},
)
RequiredItems: {
RecipeBook: 1
}
Priority: 61
},
{
Id: 117
Name: "CraftWarlordPlate"
Flag: "CRAFT_SMITHERY"
ReturnCode: "WarlordPlate"
SourceItems:
(
{
RotoniumIngot: 11
SilverIngot: 20
Coal: 50
Dagger: 1
},
)
CreateItems:
(
{
WarlordPlate: 1
},
)
RequiredItems: {
RecipeBook: 1
}
Priority: 70
},
{
Id: 118
Name: "CraftWizardRobe"
Flag: "CRAFT_TAILORING"
ReturnCode: "WizardRobe"
SourceItems:
(
{
SquirrelPelt: 30
SilkCocoon: 60
LeatherPatch: 5
Dagger: 1
},
)
CreateItems:
(
{
WizardRobe: 1
},
)
RequiredItems: {
RecipeBook: 1
}
Priority: 71
},
{
Id: 119
Name: "CraftTerraniteArmor"
Flag: "CRAFT_SMITHERY"
ReturnCode: "TerraniteArmor"
SourceItems:
(
{
TerraniteIngot: 15
TerraniteOre: 5
Coal: 35
Dagger: 1
},
)
CreateItems:
(
{
TerraniteArmor: 1
},
)
RequiredItems: {
RecipeBook: 1
}
Priority: 72
},
{
Id: 120
Name: "CraftAssassinChest"
Flag: "CRAFT_SMITHERY"
ReturnCode: "AssassinChest"
SourceItems:
(
{
RotoniumIngot: 6
CottonCloth: 50
Coal: 30
Dagger: 1
},
)
CreateItems:
(
{
AssassinChest: 1
},
)
RequiredItems: {
RecipeBook: 1
}
Priority: 73
},
{
Id: 121
Name: "CraftBlackArmor"
Flag: "CRAFT_SMITHERY"
ReturnCode: "BlackArmor"
SourceItems:
(
{
ZealiteIngot: 1
CottonCloth: 50
BlackScorpionStinger: 70
Dagger: 1
},
)
CreateItems:
(
{
BlackArmor: 1
},
)
RequiredItems: {
RecipeBook: 1
}
Priority: 80
},
{
Id: 122
Name: "CraftGoldenWarlordPlate"
Flag: "CRAFT_SMITHERY"
ReturnCode: "GoldenWarlordPlate"
SourceItems:
(
{
GoldIngot: 30
WarlordPlate: 1
TopazShard: 5
Dagger: 1
},
)
CreateItems:
(
{
GoldenWarlordPlate: 1
},
)
RequiredItems: {
RecipeBook: 1
}
Priority: 81
},
{
Id: 123
Name: "CraftEvocatorRobe"
Flag: "CRAFT_TAILORING"
ReturnCode: "EvocatorRobe"
SourceItems:
(
{
CottonCloth: 60
RotoniumIngot: 5
BlackPearl: 1
Dagger: 1
},
)
CreateItems:
(
{
EvocatorRobe: 1
},
)
RequiredItems: {
RecipeBook: 1
}
Priority: 82
},
/************************* LEG ARMOR (PANTS) ***********************************
********************************************************************************
**** Reserved range for <Id>: 200 --> 299
**** Valid <Flag> parameters: CRAFT_SMITHERY, CRAFT_TAILORING
*******************************************************************************/
{
Id: 200
Name: "CraftCreasedShorts"
Flag: "CRAFT_TAILORING"
ReturnCode: "CreasedShorts"
SourceItems:
(
{
CottonCloth: 10
PiouFeathers: 10
RattoTail: 5
Knife: 1
},
)
CreateItems:
(
{
CreasedShorts: 1
},
)
RequiredItems: {
RecipeBook: 1
}
Priority: 10
},
{
Id: 201
Name: "CraftCottonSkirt"
Flag: "CRAFT_TAILORING"
ReturnCode: "CottonSkirt"
SourceItems:
(
{
CottonCloth: 15
PiouFeathers: 5
Moss: 10
Knife: 1
},
)
CreateItems:
(
{
CottonSkirt: 1
},
)
RequiredItems: {
RecipeBook: 1
}
Priority: 20
},
{
Id: 202
Name: "CraftPirateShorts"
Flag: "CRAFT_TAILORING"
ReturnCode: "PirateShorts"
SourceItems:
(
{
CottonCloth: 20
LeatherPatch: 10
Coal: 10
Knife: 1
},
)
CreateItems:
(
{
PirateShorts: 1
},
)
RequiredItems: {
RecipeBook: 1
}
Priority: 25
},
/****************************** 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
*******************************************************************************/
)