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 System (ID 0~20, Flag 4) ////////////////////////////////////////////////////////////////////////////// /****************************************************************************/ // Alchemy System (ID 21~50, Flag 8) ////////////////////////////////////////////////////////////////////////////// { Id: 21 Name: "CraftHastePotion" Flag: 8 SourceItems: ( { Plushroom: 15 }, ) CreateItems: ( { HastePotion: 3 }, { HastePotion: 3 }, { HastePotion: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 22 Name: "CraftStrengthPotion" Flag: 8 SourceItems: ( { Chagashroom: 15 }, ) CreateItems: ( { StrengthPotion: 3 }, { StrengthPotion: 3 }, { StrengthPotion: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 23 Name: "CraftResetPotion" Flag: 8 SourceItems: ( { ManaPiouFeathers: 90 Curshroom: 10 }, ) CreateItems: ( { StatusResetPotion: 1 }, ) Priority: 10 }, /****************************************************************************/ { Id: 24 Name: "CraftSpeedPotion" Flag: 8 SourceItems: ( { GemPowder: 1 FluoPowder: 5 }, ) CreateItems: ( { MoveSpeedPotion: 1 }, ) Priority: 10 }, /****************************************************************************/ { Id: 25 Name: "CraftPrecisionPotion" Flag: 8 SourceItems: ( { Piberries: 3 MountainSnakeEgg: 1 }, ) CreateItems: ( { PrecisionPotion: 1 }, ) Priority: 10 }, /****************************************************************************/ { Id: 26 Name: "CraftDodgePotion" Flag: 8 SourceItems: ( { Piberries: 3 SnakeEgg: 1 }, ) CreateItems: ( { DodgePotion: 1 }, ) Priority: 10 }, /****************************************************************************/ { Id: 27 Name: "CraftLukPotionA" Flag: 8 SourceItems: ( { EmeraldPowder: 1 HerbalTea: 1 }, ) CreateItems: ( { LukPotionA: 1 }, { LukPotionA: 1 }, { LukPotionA: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 28 Name: "CraftLukPotionB" Flag: 8 SourceItems: ( { Emerald: 1 HerbalTea: 2 }, ) CreateItems: ( { LukPotionB: 1 }, { LukPotionB: 1 }, { LukPotionB: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 29 Name: "CraftLukPotionC" Flag: 8 SourceItems: ( { PolishedEmerald: 1 HerbalTea: 3 }, ) CreateItems: ( { LukPotionC: 1 }, { LukPotionC: 1 }, { LukPotionC: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 30 Name: "CraftDexPotionA" Flag: 8 SourceItems: ( { AmethystPowder: 1 HerbalTea: 1 }, ) CreateItems: ( { DexPotionA: 1 }, { DexPotionA: 1 }, { DexPotionA: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 31 Name: "CraftDexPotionB" Flag: 8 SourceItems: ( { Amethyst: 1 HerbalTea: 2 }, ) CreateItems: ( { DexPotionB: 1 }, { DexPotionB: 1 }, { DexPotionB: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 32 Name: "CraftDexPotionC" Flag: 8 SourceItems: ( { PolishedAmethyst: 1 HerbalTea: 3 }, ) CreateItems: ( { DexPotionC: 1 }, { DexPotionC: 1 }, { DexPotionC: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 33 Name: "CraftIntPotionA" Flag: 8 SourceItems: ( { SapphirePowder: 1 HerbalTea: 1 }, ) CreateItems: ( { IntPotionA: 1 }, { IntPotionA: 1 }, { IntPotionA: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 34 Name: "CraftIntPotionB" Flag: 8 SourceItems: ( { Sapphire: 1 HerbalTea: 2 }, ) CreateItems: ( { IntPotionB: 1 }, { IntPotionB: 1 }, { IntPotionB: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 35 Name: "CraftIntPotionC" Flag: 8 SourceItems: ( { PolishedSapphire: 1 HerbalTea: 3 }, ) CreateItems: ( { IntPotionC: 1 }, { IntPotionC: 1 }, { IntPotionC: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 36 Name: "CraftVitPotionA" Flag: 8 SourceItems: ( { DiamondPowder: 1 HerbalTea: 1 }, ) CreateItems: ( { VitPotionA: 1 }, { VitPotionA: 1 }, { VitPotionA: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 37 Name: "CraftVitPotionB" Flag: 8 SourceItems: ( { Diamond: 1 HerbalTea: 2 }, ) CreateItems: ( { VitPotionB: 1 }, { VitPotionB: 1 }, { VitPotionB: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 38 Name: "CraftVitPotionC" Flag: 8 SourceItems: ( { PolishedDiamond: 1 HerbalTea: 3 }, ) CreateItems: ( { VitPotionC: 1 }, { VitPotionC: 1 }, { VitPotionC: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 39 Name: "CraftAgiPotionA" Flag: 8 SourceItems: ( { TopazPowder: 1 HerbalTea: 1 }, ) CreateItems: ( { AgiPotionA: 1 }, { AgiPotionA: 1 }, { AgiPotionA: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 40 Name: "CraftAgiPotionB" Flag: 8 SourceItems: ( { Topaz: 1 HerbalTea: 2 }, ) CreateItems: ( { AgiPotionB: 1 }, { AgiPotionB: 1 }, { AgiPotionB: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 41 Name: "CraftAgiPotionC" Flag: 8 SourceItems: ( { PolishedTopaz: 1 HerbalTea: 3 }, ) CreateItems: ( { AgiPotionC: 1 }, { AgiPotionC: 1 }, { AgiPotionC: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 42 Name: "CraftSacredLifePot" Flag: 8 SourceItems: ( { GoldenApple: 1 ElixirOfLife: 1 }, ) CreateItems: ( { SacredLifePotion: 1 }, ) Priority: 10 }, /****************************************************************************/ // CelestiaTea takes about 1 hour the unit to get ingame { Id: 43 Name: "CraftSacredManaPot" Flag: 8 SourceItems: ( { GoldenApple: 1 CelestiaTea: 15 }, ) CreateItems: ( { SacredManaPotion: 1 }, ) Priority: 10 }, /****************************************************************************/ { Id: 44 Name: "CraftPiberriesInfusion" Flag: 8 SourceItems: ( { Piberries: 5 Curshroom: 1 }, ) CreateItems: ( { PiberriesInfusion: 1 }, ) Priority: 10 }, /****************************************************************************/ // Crafting System (ID 51~100, Flag 16) // 51~71 → Swords // 72~76 → Bows (ok) // 77~81 → Wands (ok) // 82 → Reserved for guns (ok) // 83~87 → Armor Chestplates // 88~92 → Armor Helmets // 93~97 → Shields // 98, 99, 100 → Reserved for guns (ok) ////////////////////////////////////////////////////////////////////////////// // Output PileOfAsh // Require 1x EverburnPowder to lit (maybe Sulphur?) // Require BentNeddle to costure (leather) // We rely on hardcoded values here, BEWARE { Id: 51 Name: "CraftWoodenSword" Flag: 16 ReturnCode: 3503 //WoodenSword SourceItems: ( { WoodenLog: 20 RawLog: 5 SharpKnife: 1 }, ) CreateItems: ( { RawLog: 1 }, { RustyKnife: 1 RawLog: 1 }, { RustyKnife: 1 }, ) Priority: 10 }, /****************************************************************************/ { Id: 52 Name: "CraftBugSlayer" Flag: 16 ReturnCode: 3501 //BugSlayer SourceItems: ( { IronIngot: 8 Coal: 12 EverburnPowder: 1 }, ) CreateItems: ( { PileOfAsh: 1 }, { PileOfAsh: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 53 Name: "CraftShortGladius" Flag: 16 ReturnCode: 3502 //ShortGladius SourceItems: ( { IronIngot: 12 Coal: 16 EverburnPowder: 1 }, ) CreateItems: ( { PileOfAsh: 1 }, { PileOfAsh: 2 }, { PileOfAsh: 3 }, ) Priority: 20 }, /****************************************************************************/ { Id: 54 Name: "CraftBacksword" Flag: 16 ReturnCode: 3504 //Backsword SourceItems: ( { IronIngot: 18 TinIngot: 3 Coal: 20 EverburnPowder: 1 }, ) CreateItems: ( { PileOfAsh: 1 }, { TinIngot: 1 PileOfAsh: 1 }, { PileOfAsh: 2 }, { PileOfAsh: 3 }, ) Priority: 30 }, /****************************************************************************/ { Id: 55 Name: "CraftShortsword" Flag: 16 ReturnCode: 3527 //ShortSword SourceItems: ( { IronIngot: 24 TinIngot: 5 Coal: 24 EverburnPowder: 1 }, ) CreateItems: ( { PileOfAsh: 1 }, { TinIngot: 1 PileOfAsh: 1 }, { PileOfAsh: 2 }, { PileOfAsh: 3 }, ) Priority: 40 }, /****************************************************************************/ { Id: 56 Name: "CraftKitana" Flag: 16 ReturnCode: 3531 //Kitana SourceItems: ( { IronIngot: 30 TinIngot: 9 Coal: 30 EverburnPowder: 1 }, ) CreateItems: ( { PileOfAsh: 1 }, { IronIngot: 1 PileOfAsh: 1 }, { PileOfAsh: 2 }, { PileOfAsh: 3 }, ) Priority: 50 }, /****************************************************************************/ { Id: 57 Name: "CraftBoneKnife" Flag: 16 ReturnCode: 3508 //BoneKnife SourceItems: ( { IronIngot: 36 Bone: 90 Coal: 30 EverburnPowder: 1 }, ) CreateItems: ( { PileOfAsh: 1 }, { Bone: 1 PileOfAsh: 1 }, { PileOfAsh: 2 }, { PileOfAsh: 3 }, ) Priority: 50 }, /****************************************************************************/ { Id: 58 Name: "CraftLongSword" Flag: 16 ReturnCode: 3516 //LongSword SourceItems: ( { IronIngot: 42 PlatinumIngot: 1 IridiumIngot: 1 Coal: 32 }, ) CreateItems: ( { PileOfAsh: 1 }, { IronIngot: 1 PileOfAsh: 1 }, { PileOfAsh: 2 }, { PileOfAsh: 3 }, ) Priority: 60 }, /****************************************************************************/ { Id: 59 Name: "CraftRockKnife" Flag: 16 ReturnCode: 3509 //RockKnife SourceItems: ( { TerraniteOre: 50 PlatinumIngot: 2 IridiumIngot: 3 Coal: 40 }, ) CreateItems: ( { PileOfAsh: 1 }, { TerraniteOre: 1 PileOfAsh: 1 }, { PileOfAsh: 2 }, { PileOfAsh: 3 }, ) Priority: 70 }, /****************************************************************************/ { Id: 60 Name: "CraftDivineSword" Flag: 16 ReturnCode: 3511 //DivineSword SourceItems: ( { DivineApple: 2 PlatinumIngot: 3 IridiumIngot: 5 Coal: 60 }, ) CreateItems: ( { PileOfAsh: 1 }, { PileOfAsh: 2 }, { PileOfAsh: 3 }, ) Priority: 80 }, /****************************************************************************/ // 61~71 two hand swords I guess { Id: 61 Name: "CraftMiereCleaver" Flag: 16 ReturnCode: 3523 //MiereCleaver SourceItems: ( { SilverIngot: 12 TinIngot: 1 Coal: 8 EverburnPowder: 1 }, ) CreateItems: ( { PileOfAsh: 1 }, { TinIngot: 1 PileOfAsh: 1 }, { PileOfAsh: 2 }, ) Priority: 10 }, /****************************************************************************/ { Id: 62 Name: "CraftBroadsword" Flag: 16 ReturnCode: 3524 //Broadsword SourceItems: ( { SilverIngot: 27 TinIngot: 1 Coal: 20 EverburnPowder: 1 }, ) CreateItems: ( { PileOfAsh: 2 }, { TinIngot: 1 PileOfAsh: 1 }, { PileOfAsh: 3 }, ) Priority: 20 }, /****************************************************************************/ // 51~71 → Swords // 72~76 → Bows // 77~81 → Wands // 82 → Reserved for guns // 83~87 → Armor Chestplates // 88~92 → Armor Helmets // 93~97 → Shields // 98, 99, 100 → Reserved for guns ////////////////////////////////////////////////////////////////////////////// { Id: 72 Name: "CraftShortBow" Flag: 16 ReturnCode: 6002 // ShortBow SourceItems: ( { WoodenLog: 18 Root: 12 LeatherPatch: 3 CommonCarp: 1 }, ) CreateItems: ( { RawLog: 1 }, ) Priority: 10 }, /****************************************************************************/ { Id: 73 Name: "CraftForestBow" Flag: 16 ReturnCode: 6003 // ForestBow SourceItems: ( { WoodenLog: 24 Root: 16 LeatherPatch: 5 CommonCarp: 3 }, ) CreateItems: ( { RawLog: 1 }, ) Priority: 20 }, /****************************************************************************/ { Id: 74 Name: "CraftElficBow" Flag: 16 ReturnCode: 6004 // ElficBow SourceItems: ( { WoodenLog: 33 Root: 22 IronIngot: 1 CommonCarp: 4 }, ) CreateItems: ( { RawLog: 1 }, ) Priority: 30 }, /****************************************************************************/ { Id: 75 Name: "CraftChampionshipBow" Flag: 16 ReturnCode: 6005 // ChampionshipBow SourceItems: ( { WoodenLog: 48 Root: 32 GoldIngot: 1 CommonCarp: 5 }, ) CreateItems: ( { RawLog: 1 }, ) Priority: 40 }, /****************************************************************************/ { Id: 76 Name: "CraftBansheeBow" Flag: 16 ReturnCode: 6006 // BansheeBow SourceItems: ( { WoodenLog: 70 Root: 45 DarkCrystal: 5 CommonCarp: 5 }, ) CreateItems: ( { BoneArrow: 1 }, { BoneArrow: 2 }, { BoneArrow: 3 }, ) Priority: 50 }, /****************************************************************************/ // 51~71 → Swords // 72~76 → Bows // 77~81 → Wands // 82 → Reserved for guns // 83~87 → Armor Chestplates // 88~92 → Armor Helmets // 93~97 → Shields // 98, 99, 100 → Reserved for guns ////////////////////////////////////////////////////////////////////////////// { Id: 77 Name: "CraftTrainingWand" Flag: 16 ReturnCode: 7000 //TrainingWand SourceItems: ( { WoodenLog: 20 ManaPiouFeathers: 30 FluoPowder: 5 GemPowder: 1 }, ) CreateItems: ( { RawLog: 1 }, { PileOfAsh: 1 RawLog: 1 }, { PileOfAsh: 1 }, ) Priority: 10 }, /****************************************************************************/ { Id: 78 Name: "CraftNoviceWand" Flag: 16 ReturnCode: 7001 //NoviceWand SourceItems: ( { WoodenLog: 40 ManaPiouFeathers: 60 FluoPowder: 8 GemPowder: 1 }, ) CreateItems: ( { RawLog: 2 }, { PileOfAsh: 2 RawLog: 2 }, { PileOfAsh: 2 }, ) Priority: 20 }, /****************************************************************************/ { Id: 79 Name: "CraftApprenticeWand" Flag: 16 ReturnCode: 7002 //ApprenticeWand SourceItems: ( { WoodenLog: 60 ManaPiouFeathers: 90 FluoPowder: 12 GemPowder: 2 }, ) CreateItems: ( { RawLog: 3 }, { PileOfAsh: 3 RawLog: 2 }, { PileOfAsh: 3 }, ) Priority: 30 }, /****************************************************************************/ { Id: 80 Name: "CraftLeaderWand" Flag: 16 ReturnCode: 7003 //LeaderWand SourceItems: ( { WoodenLog: 100 ManaPiouFeathers: 120 FluoPowder: 15 GemPowder: 3 }, ) CreateItems: ( { PileOfAsh: 1 RawLog: 5 }, { PileOfAsh: 5 RawLog: 3 }, { PileOfAsh: 4 }, ) Priority: 40 }, /****************************************************************************/ { Id: 81 Name: "CraftLegendaryWand" Flag: 16 ReturnCode: 7004 //LegendaryWand SourceItems: ( { WoodenLog: 110 GoldenApple: 3 FluoPowder: 20 GemPowder: 5 }, ) CreateItems: ( { PileOfAsh: 1 RawLog: 5 }, { PileOfAsh: 5 RawLog: 3 }, { PileOfAsh: 4 }, ) Priority: 50 }, /****************************************************************************/ // 51~71 → Swords // 72~76 → Bows // 77~81 → Wands // 82 → Reserved for guns // 83~87 → Armor Chestplates // 88~92 → Armor Helmets // 93~97 → Shields // 98, 99, 100 → Reserved for guns ////////////////////////////////////////////////////////////////////////////// { Id: 82 Name: "CraftPynRevolver" Flag: 16 ReturnCode: 6040 //PynRevolver SourceItems: ( { LeadIngot: 4 TitaniumIngot: 5 Coal: 11 EverburnPowder: 1 }, ) CreateItems: ( { PileOfAsh: 1 }, { PileOfAsh: 1 LeadOre: 1 }, { PileOfAsh: 2 }, ) Priority: 10 }, /****************************************************************************/ // We don't care for order here. You noticed. { Id: 98 Name: "CraftPynRifle" Flag: 16 ReturnCode: 6010 //PynRifle SourceItems: ( { LeadIngot: 6 TitaniumIngot: 7 Coal: 14 EverburnPowder: 1 }, ) CreateItems: ( { PileOfAsh: 1 }, { PileOfAsh: 1 LeadOre: 1 }, { PileOfAsh: 2 }, ) Priority: 20 }, /****************************************************************************/ { Id: 99 Name: "CraftPynGatling" Flag: 16 ReturnCode: 6020 //PynGatling SourceItems: ( { LeadIngot: 7 TitaniumIngot: 7 Coal: 14 EverburnPowder: 1 }, ) CreateItems: ( { PileOfAsh: 1 }, { PileOfAsh: 1 LeadOre: 1 }, { PileOfAsh: 2 }, ) Priority: 30 }, /****************************************************************************/ { Id: 100 Name: "CraftPynShotgun" Flag: 16 ReturnCode: 6030 //PynShotgun SourceItems: ( { LeadIngot: 9 TitaniumIngot: 10 Coal: 16 EverburnPowder: 1 }, ) CreateItems: ( { PileOfAsh: 2 }, { PileOfAsh: 1 LeadOre: 1 }, { PileOfAsh: 3 }, ) Priority: 40 }, /****************************************************************************/ // 51~71 → Swords // 72~76 → Bows // 77~81 → Wands // 82 → Reserved for guns // 83~87 → Armor Chestplates // 88~92 → Armor Helmets // 93~97 → Shields // 98, 99, 100 → Reserved for guns ////////////////////////////////////////////////////////////////////////////// { Id: 93 Name: "CraftWoodenShield" Flag: 16 ReturnCode: 2710 //WoodenShield SourceItems: ( { WoodenLog: 40 LeatherPatch: 2 SharpKnife: 1 }, ) CreateItems: ( { RawLog: 1 }, { RustyKnife: 1 RawLog: 1 }, { RustyKnife: 1 }, ) Priority: 10 }, /****************************************************************************/ { Id: 94 Name: "CraftBladeShield" Flag: 16 ReturnCode: 2702 //BladeShield SourceItems: ( { IronIngot: 14 TitaniumIngot: 2 Coal: 5 EverburnPowder: 1 }, ) CreateItems: ( { TitaniumIngot: 1 }, { TitaniumIngot: 1 IronIngot: 1 }, { IronIngot: 1 }, { PileOfAsh: 1 }, ) Priority: 20 }, /****************************************************************************/ // 51~71 → Swords // 72~76 → Bows // 77~81 → Wands // 82 → Reserved for guns // 83~87 → Armor Chestplates // 88~92 → Armor Helmets // 93~97 → Shields // 98, 99, 100 → Reserved for guns ////////////////////////////////////////////////////////////////////////////// { Id: 101 Name: "CraftGoldenRing" Flag: 16 ReturnCode: 2501 //GoldenRing SourceItems: ( { GoldPieces: 5 TitaniumIngot: 1 Coal: 8 EverburnPowder: 1 }, ) CreateItems: ( { PileOfAsh: 1 }, ) Priority: 10 }, /****************************************************************************/ { Id: 102 Name: "CraftDagger" Flag: 16 ReturnCode: 3507 //Dagger SourceItems: ( { IronIngot: 1 Coal: 3 SulfurPowder: 1 }, ) CreateItems: ( { PileOfAsh: 1 }, ) Priority: 5 }, /****************************************************************************/ )