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 : 000 --> 099 **** Valid 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 : 100 --> 199 **** Valid parameters: CRAFT_SMITHERY, CRAFT_TAILORING *******************************************************************************/ /************************* LEG ARMOR (PANTS) *********************************** ******************************************************************************** **** Reserved range for : 200 --> 299 **** Valid parameters: CRAFT_SMITHERY, CRAFT_TAILORING *******************************************************************************/ /****************************** GLOVES ***************************************** ******************************************************************************** **** Reserved range for : 300 --> 399 **** Valid parameters: CRAFT_SMITHERY, CRAFT_TAILORING *******************************************************************************/ /************************** WEAPONS & TOOLS ************************************ ******************************************************************************** **** Reserved range for : 400 --> 499 **** Valid parameters: CRAFT_SMITHERY *******************************************************************************/ /****************************** SHIELDS **************************************** ******************************************************************************** **** Reserved range for : 500 --> 599 **** Valid parameters: CRAFT_SMITHERY *******************************************************************************/ /************************* HEAD ARMOR (HATS) *********************************** ******************************************************************************** **** Reserved range for : 600 --> 699 **** Valid parameters: CRAFT_SMITHERY, CRAFT_TAILORING *******************************************************************************/ /******************************* BOOTS ***************************************** ******************************************************************************** **** Reserved range for : 700 --> 799 **** Valid parameters: CRAFT_SMITHERY, CRAFT_TAILORING *******************************************************************************/ )