From fa39363fcd0611e7f4c768d4ee7338f04eafddd7 Mon Sep 17 00:00:00 2001 From: Christopher Chay <2vendor@hisfootsteps.net> Date: Fri, 26 Jun 2020 00:14:32 +0000 Subject: Xanthem added Chest and Pants Equipment Recipes --- db/craft_db.conf | 790 +++++++++++++++++++++++++++++++++++++++++++++----- db/re/item_db.conf | 2 +- npc/017-5/nahrec.txt | 41 ++- npc/craft/recipes.txt | 118 ++++++++ 4 files changed, 864 insertions(+), 87 deletions(-) diff --git a/db/craft_db.conf b/db/craft_db.conf index e677e1ad0..40af852df 100644 --- a/db/craft_db.conf +++ b/db/craft_db.conf @@ -706,6 +706,14 @@ craft_db: ( // 92 → Reserved for gloves // 93~97 → Shields // 98, 99, 100 → Reserved for guns (ok) + +// 101, 102 → Misc +// 103~114 → Helmets +// 115~121 → Terranite +// 122~124 → Special +// 125~132 → Chest Armors +// 132~140 → Pants +// 141+ → WIP ////////////////////////////////////////////////////////////////////////////// // Output PileOfAsh // Require 1x EverburnPowder to lit (maybe Sulphur?) @@ -716,7 +724,7 @@ craft_db: ( Name: "CraftWoodenSword" Flag: 16 ReturnCode: 3503 - //WoodenSword + //WoodenSword SourceItems: ( { @@ -746,7 +754,7 @@ craft_db: ( Name: "CraftBugSlayer" Flag: 16 ReturnCode: 3501 - //BugSlayer + //BugSlayer SourceItems: ( { @@ -764,7 +772,7 @@ craft_db: ( PileOfAsh: 2 }, ) - Priority: 10 + Priority: 11 }, /****************************************************************************/ { @@ -772,7 +780,7 @@ craft_db: ( Name: "CraftShortGladius" Flag: 16 ReturnCode: 3502 - //ShortGladius + //ShortGladius SourceItems: ( { @@ -801,7 +809,7 @@ craft_db: ( Name: "CraftBacksword" Flag: 16 ReturnCode: 3504 - //Backsword + //Backsword SourceItems: ( { @@ -835,7 +843,7 @@ craft_db: ( Name: "CraftShortsword" Flag: 16 ReturnCode: 3527 - //ShortSword + //ShortSword SourceItems: ( { @@ -869,7 +877,7 @@ craft_db: ( Name: "CraftKitana" Flag: 16 ReturnCode: 3531 - //Kitana + //Kitana SourceItems: ( { @@ -903,7 +911,7 @@ craft_db: ( Name: "CraftBoneKnife" Flag: 16 ReturnCode: 3508 - //BoneKnife + //BoneKnife SourceItems: ( { @@ -929,7 +937,7 @@ craft_db: ( PileOfAsh: 3 }, ) - Priority: 50 + Priority: 51 }, /****************************************************************************/ { @@ -937,7 +945,7 @@ craft_db: ( Name: "CraftLongSword" Flag: 16 ReturnCode: 3516 - //LongSword + //LongSword SourceItems: ( { @@ -971,7 +979,7 @@ craft_db: ( Name: "CraftRockKnife" Flag: 16 ReturnCode: 3509 - //RockKnife + //RockKnife SourceItems: ( { @@ -1005,7 +1013,7 @@ craft_db: ( Name: "CraftDivineSword" Flag: 16 ReturnCode: 3511 - //DivineSword + //DivineSword SourceItems: ( { @@ -1036,7 +1044,7 @@ craft_db: ( Name: "CraftMiereCleaver" Flag: 16 ReturnCode: 3523 - //MiereCleaver + //MiereCleaver SourceItems: ( { @@ -1067,7 +1075,7 @@ craft_db: ( Name: "CraftBroadsword" Flag: 16 ReturnCode: 3524 - //Broadsword + //Broadsword SourceItems: ( { @@ -1102,7 +1110,7 @@ craft_db: ( Name: "CraftHalberd" Flag: 16 ReturnCode: 3534 - //Halberd + //Halberd SourceItems: ( { @@ -1134,7 +1142,7 @@ craft_db: ( Name: "CraftImmortalSword" Flag: 16 ReturnCode: 3532 - //ImmortalSword + //ImmortalSword SourceItems: ( { @@ -1158,7 +1166,7 @@ craft_db: ( PileOfAsh: 3 }, ) - Priority: 50 + Priority: 51 }, /****************************************************************************/ @@ -1175,14 +1183,16 @@ craft_db: ( // 103~114 → Helmets // 115~121 → Terranite // 122~124 → Special -// 125+ → WIP +// 125~132 → Chest Armors +// 132~140 → Pants +// 141+ → WIP ////////////////////////////////////////////////////////////////////////////// { Id: 72 Name: "CraftShortBow" Flag: 16 ReturnCode: 6002 - // ShortBow + // ShortBow SourceItems: ( { @@ -1213,7 +1223,7 @@ craft_db: ( Name: "CraftForestBow" Flag: 16 ReturnCode: 6003 - // ForestBow + // ForestBow SourceItems: ( { @@ -1243,7 +1253,7 @@ craft_db: ( Name: "CraftElficBow" Flag: 16 ReturnCode: 6004 - // ElficBow + // ElficBow SourceItems: ( { @@ -1273,7 +1283,7 @@ craft_db: ( Name: "CraftChampionshipBow" Flag: 16 ReturnCode: 6005 - // ChampionshipBow + // ChampionshipBow SourceItems: ( { @@ -1303,7 +1313,7 @@ craft_db: ( Name: "CraftBansheeBow" Flag: 16 ReturnCode: 6006 - // BansheeBow + // BansheeBow SourceItems: ( { @@ -1342,14 +1352,16 @@ craft_db: ( // 103~114 → Helmets // 115~121 → Terranite // 122~124 → Special -// 125+ → WIP +// 125~132 → Chest Armors +// 132~140 → Pants +// 141+ → WIP ////////////////////////////////////////////////////////////////////////////// { Id: 77 Name: "CraftTrainingWand" Flag: 16 ReturnCode: 7000 - //TrainingWand + //TrainingWand SourceItems: ( { @@ -1386,7 +1398,7 @@ craft_db: ( Name: "CraftNoviceWand" Flag: 16 ReturnCode: 7001 - //NoviceWand + //NoviceWand SourceItems: ( { @@ -1420,7 +1432,7 @@ craft_db: ( Name: "CraftApprenticeWand" Flag: 16 ReturnCode: 7002 - //ApprenticeWand + //ApprenticeWand SourceItems: ( { @@ -1454,7 +1466,7 @@ craft_db: ( Name: "CraftLeaderWand" Flag: 16 ReturnCode: 7003 - //LeaderWand + //LeaderWand SourceItems: ( { @@ -1490,7 +1502,7 @@ craft_db: ( Name: "CraftLegendaryWand" Flag: 16 ReturnCode: 7004 - //LegendaryWand + //LegendaryWand SourceItems: ( { @@ -1534,14 +1546,16 @@ craft_db: ( // 103~114 → Helmets // 115~121 → Terranite // 122~124 → Special -// 125+ → WIP +// 125~132 → Chest Armors +// 132~140 → Pants +// 141+ → WIP ////////////////////////////////////////////////////////////////////////////// { Id: 82 Name: "CraftPynRevolver" Flag: 16 ReturnCode: 6040 - //PynRevolver + //PynRevolver SourceItems: ( { @@ -1573,7 +1587,7 @@ craft_db: ( Name: "CraftPynRifle" Flag: 16 ReturnCode: 6010 - //PynRifle + //PynRifle SourceItems: ( { @@ -1604,7 +1618,7 @@ craft_db: ( Name: "CraftPynGatling" Flag: 16 ReturnCode: 6020 - //PynGatling + //PynGatling SourceItems: ( { @@ -1635,7 +1649,7 @@ craft_db: ( Name: "CraftPynShotgun" Flag: 16 ReturnCode: 6030 - //PynShotgun + //PynShotgun SourceItems: ( { @@ -1674,14 +1688,16 @@ craft_db: ( // 103~114 → Helmets // 115~121 → Terranite // 122~124 → Special -// 125+ → WIP +// 125~132 → Chest Armors +// 132~140 → Pants +// 141+ → WIP ////////////////////////////////////////////////////////////////////////////// { Id: 93 Name: "CraftWoodenShield" Flag: 16 ReturnCode: 2710 - //WoodenShield + //WoodenShield SourceItems: ( { @@ -1711,7 +1727,7 @@ craft_db: ( Name: "CraftBladeShield" Flag: 16 ReturnCode: 2702 - //BladeShield + //BladeShield SourceItems: ( { @@ -1745,7 +1761,7 @@ craft_db: ( Name: "CraftBraknarShield" Flag: 16 ReturnCode: 2709 - //BraknarShield + //BraknarShield SourceItems: ( { @@ -1780,7 +1796,7 @@ craft_db: ( Name: "CraftBritShield" Flag: 16 ReturnCode: 2704 - //BritShield + //BritShield SourceItems: ( { @@ -1811,7 +1827,7 @@ craft_db: ( Name: "CraftBromenalShield" Flag: 16 ReturnCode: 2706 - //BromenalShield + //BromenalShield SourceItems: ( { @@ -1842,7 +1858,7 @@ craft_db: ( Name: "CraftBlueKnightShield" Flag: 16 ReturnCode: 2703 - //BlueKnightShield + //BlueKnightShield SourceItems: ( { @@ -1876,7 +1892,7 @@ craft_db: ( Name: "CraftSteelShield" Flag: 16 ReturnCode: 2711 - //SteelShield + //SteelShield SourceItems: ( { @@ -1911,7 +1927,7 @@ craft_db: ( Name: "CraftDragonShield" Flag: 16 ReturnCode: 2712 - //DragonShield + //DragonShield SourceItems: ( { @@ -1946,7 +1962,7 @@ craft_db: ( Name: "CraftSaviorShield" Flag: 16 ReturnCode: 2705 - //SaviorShield + //SaviorShield SourceItems: ( { @@ -1989,14 +2005,16 @@ craft_db: ( // 103~114 → Helmets // 115~121 → Terranite // 122~124 → Special -// 125+ → WIP +// 125~132 → Chest Armors +// 132~140 → Pants +// 141+ → WIP ////////////////////////////////////////////////////////////////////////////// { Id: 83 Name: "CraftSilkGloves" Flag: 16 ReturnCode: 2007 - //SilkGloves + //SilkGloves SourceItems: ( { @@ -2027,7 +2045,7 @@ craft_db: ( Name: "CraftLeatherGloves" Flag: 16 ReturnCode: 2008 - //LeatherGloves + //LeatherGloves SourceItems: ( { @@ -2058,7 +2076,7 @@ craft_db: ( Name: "CraftBromenalGloves" Flag: 16 ReturnCode: 2010 - //BromenalGloves + //BromenalGloves SourceItems: ( { @@ -2089,7 +2107,7 @@ craft_db: ( Name: "CraftManaGloves" Flag: 16 ReturnCode: 2013 - //ManaGloves + //ManaGloves SourceItems: ( { @@ -2119,7 +2137,7 @@ craft_db: ( Name: "CraftWarlordGloves" Flag: 16 ReturnCode: 2012 - //WarlordGloves + //WarlordGloves SourceItems: ( { @@ -2149,7 +2167,7 @@ craft_db: ( Name: "CraftAssassinGloves" Flag: 16 ReturnCode: 2015 - //AssassinGloves + //AssassinGloves SourceItems: ( { @@ -2187,14 +2205,16 @@ craft_db: ( // 103~114 → Helmets // 115~121 → Terranite // 122~124 → Special -// 125+ → WIP +// 125~132 → Chest Armors +// 132~140 → Pants +// 141+ → WIP ////////////////////////////////////////////////////////////////////////////// { Id: 101 Name: "CraftGoldenRing" Flag: 16 ReturnCode: 2501 - //GoldenRing + //GoldenRing SourceItems: ( { @@ -2218,7 +2238,7 @@ craft_db: ( Name: "CraftDagger" Flag: 16 ReturnCode: 3507 - //Dagger + //Dagger SourceItems: ( { @@ -2249,14 +2269,16 @@ craft_db: ( // 103~114 → Helmets // 115~121 → Terranite // 122~124 → Special -// 125+ → WIP +// 125~132 → Chest Armors +// 132~140 → Pants +// 141+ → WIP ////////////////////////////////////////////////////////////////////////////// { Id: 103 Name: "CraftInfantryHelmet" Flag: 16 ReturnCode: 2911 - //InfantryHelmet + //InfantryHelmet SourceItems: ( { @@ -2286,7 +2308,7 @@ craft_db: ( Name: "CraftDesertHelmet" Flag: 16 ReturnCode: 2916 - //DesertHelmet + //DesertHelmet SourceItems: ( { @@ -2310,7 +2332,7 @@ craft_db: ( Name: "CraftBromenalHelmet" Flag: 16 ReturnCode: 2914 - //BromenalHelmet + //BromenalHelmet SourceItems: ( { @@ -2340,7 +2362,7 @@ craft_db: ( Name: "CraftCandleHelmet" Flag: 16 ReturnCode: 2914 - //CandleHelmet + //CandleHelmet SourceItems: ( { @@ -2362,7 +2384,7 @@ craft_db: ( Lifestone: 1 }, ) - Priority: 30 + Priority: 31 }, /****************************************************************************/ { @@ -2370,7 +2392,7 @@ craft_db: ( Name: "CraftCrusadeHelmet" Flag: 16 ReturnCode: 2909 - //CrusadeHelmet + //CrusadeHelmet SourceItems: ( { @@ -2400,7 +2422,7 @@ craft_db: ( Name: "CraftWarlordHelmet" Flag: 16 ReturnCode: 2920 - //WarlordHelmet + //WarlordHelmet SourceItems: ( { @@ -2430,7 +2452,7 @@ craft_db: ( Name: "CraftVikingHelmet" Flag: 16 ReturnCode: 2941 - //VikingHelmet + //VikingHelmet SourceItems: ( { @@ -2452,7 +2474,7 @@ craft_db: ( Lifestone: 1 }, ) - Priority: 50 + Priority: 51 }, /****************************************************************************/ { @@ -2460,7 +2482,7 @@ craft_db: ( Name: "CraftCenturionHelmet" Flag: 16 ReturnCode: 2942 - //CenturionHelmet + //CenturionHelmet SourceItems: ( { @@ -2490,7 +2512,7 @@ craft_db: ( Name: "CraftBullHelmet" Flag: 16 ReturnCode: 2906 - //BullHelmet + //BullHelmet SourceItems: ( { @@ -2520,7 +2542,7 @@ craft_db: ( Name: "CraftDarkHelm" Flag: 16 ReturnCode: 2907 - //DarkHelm + //DarkHelm SourceItems: ( { @@ -2542,7 +2564,7 @@ craft_db: ( Lifestone: 1 }, ) - Priority: 70 + Priority: 71 }, /****************************************************************************/ { @@ -2550,7 +2572,7 @@ craft_db: ( Name: "CraftDarkKnightHelmet" Flag: 16 ReturnCode: 2927 - //DarkKnightHelmet + //DarkKnightHelmet SourceItems: ( { @@ -2580,7 +2602,7 @@ craft_db: ( Name: "CraftSamuraiHelmet" Flag: 16 ReturnCode: 2929 - //SamuraiHelmet + //SamuraiHelmet SourceItems: ( { @@ -2602,7 +2624,7 @@ craft_db: ( Lifestone: 1 }, ) - Priority: 80 + Priority: 81 }, /****************************************************************************/ // 51~71 → Swords @@ -2618,14 +2640,16 @@ craft_db: ( // 103~114 → Helmets // 115~121 → Terranite // 122~124 → Special -// 125+ → WIP +// 125~132 → Chest Armors +// 132~140 → Pants +// 141+ → WIP ////////////////////////////////////////////////////////////////////////////// { Id: 115 Name: "CraftTerraniteHelmet" Flag: 16 ReturnCode: 3020 - //TerraniteHelmet + //TerraniteHelmet SourceItems: ( { @@ -2647,7 +2671,7 @@ craft_db: ( Lifestone: 1 }, ) - Priority: 7 + Priority: 70 }, /****************************************************************************/ { @@ -2655,7 +2679,7 @@ craft_db: ( Name: "CraftTerraniteArmor" Flag: 16 ReturnCode: 1311 - //TerraniteArmor + //TerraniteArmor SourceItems: ( { @@ -2677,7 +2701,7 @@ craft_db: ( IronPowder: 1 }, ) - Priority: 7 + Priority: 71 }, /****************************************************************************/ { @@ -2685,7 +2709,7 @@ craft_db: ( Name: "CraftTerranitePants" Flag: 16 ReturnCode: 2210 - //TerranitePants + //TerranitePants SourceItems: ( { @@ -2707,7 +2731,7 @@ craft_db: ( LeatherPatch: 1 }, ) - Priority: 7 + Priority: 72 }, /****************************************************************************/ // 51~71 → Swords @@ -2723,14 +2747,16 @@ craft_db: ( // 103~114 → Helmets // 115~121 → Terranite // 122~124 → Special -// 125+ → WIP +// 125~132 → Chest Armors +// 132~140 → Pants +// 141+ → WIP ////////////////////////////////////////////////////////////////////////////// { Id: 122 Name: "CraftSkyPiercer" Flag: 16 ReturnCode: 7421 - //Skypiercer + //Skypiercer SourceItems: ( { @@ -2749,4 +2775,608 @@ craft_db: ( Priority: 99 }, /****************************************************************************/ +// 51~71 → Swords +// 72~76 → Bows +// 77~81 → Wands +// 82 → Reserved for guns +// 83~87 → Gloves +// 88~91 → Stronger Shields +// 92 → Reserved for gloves +// 93~97 → Shields +// 98, 99, 100 → Reserved for guns +// 101, 102 → Misc +// 103~114 → Helmets +// 115~121 → Terranite +// 122~124 → Special +// 125~132 → Chest Armors +// 132~143 → Pants +// 144+ → WIP +////////////////////////////////////////////////////////////////////////////// +{ + Id: 125 + Name: "CraftLeatherShirt" + Flag: 16 + ReturnCode: 1314 + //LeatherShirt + SourceItems: + ( + { + LeatherPatch: 35 + IronIngot: 2 + IronPowder: 8 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + IronPowder: 1 + }, + { + IronPowder: 2 + }, + { + IronPowder: 1 + }, + ) + Priority: 20 +}, +/****************************************************************************/ +{ + Id: 126 + Name: "CraftLieutenantArmor" + Flag: 16 + ReturnCode: 1304 + //LieutenantArmor + SourceItems: + ( + { + CopperIngot: 4 + IronIngot: 4 + IronPowder: 12 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + IronPowder: 1 + }, + { + IronPowder: 2 + }, + { + IronPowder: 1 + }, + ) + Priority: 30 +}, +/****************************************************************************/ +{ + Id: 127 + Name: "CraftChainmail" + Flag: 16 + ReturnCode: 1310 + //Chainmail + SourceItems: + ( + { + IronIngot: 10 + SilverIngot: 2 + IronPowder: 18 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + IronPowder: 1 + }, + { + IronPowder: 2 + }, + { + IronPowder: 1 + }, + ) + Priority: 50 +}, +/****************************************************************************/ +{ + Id: 128 + Name: "CraftCopperArmor" + Flag: 16 + ReturnCode: 1305 + //CopperArmor + SourceItems: + ( + { + CopperIngot: 10 + IronIngot: 3 + IronPowder: 22 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + IronPowder: 1 + }, + { + IronPowder: 2 + }, + { + IronPowder: 1 + }, + ) + Priority: 51 +}, +/****************************************************************************/ +{ + Id: 129 + Name: "CraftLightPlatemail" + Flag: 16 + ReturnCode: 1312 + //LightPlatemail + SourceItems: + ( + { + IronIngot: 15 + SilverIngot: 5 + IronPowder: 24 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + IronPowder: 1 + }, + { + IronPowder: 2 + }, + { + IronPowder: 1 + }, + ) + Priority: 60 +}, +/****************************************************************************/ +{ + Id: 130 + Name: "CraftGoldenLightPlate" + Flag: 16 + ReturnCode: 1328 + //GoldenLightPlatemail + SourceItems: + ( + { + GoldIngot: 15 + LightPlatemail: 1 + IronPowder: 26 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + IronPowder: 1 + }, + { + IronPowder: 2 + }, + { + IronPowder: 1 + }, + ) + Priority: 61 +}, +/****************************************************************************/ +{ + Id: 131 + Name: "CraftWarlordPlate" + Flag: 16 + ReturnCode: 1306 + //WarlordPlate + SourceItems: + ( + { + TitaniumIngot: 15 + SilverIngot: 5 + IronPowder: 28 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + IronPowder: 1 + }, + { + IronPowder: 2 + }, + { + IronPowder: 1 + }, + ) + Priority: 70 +}, +/****************************************************************************/ +{ + Id: 132 + Name: "CraftGoldenWarlord" + Flag: 16 + ReturnCode: 1329 + //GoldenWarlordPlate + SourceItems: + ( + { + GoldIngot: 45 + WarlordPlate: 1 + IronPowder: 30 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + IronPowder: 1 + }, + { + IronPowder: 2 + }, + { + IronPowder: 1 + }, + ) + Priority: 71 +}, +/****************************************************************************/ +{ + Id: 133 + Name: "CraftBromenalChest" + Flag: 16 + ReturnCode: 1307 + //BromenalChest + SourceItems: + ( + { + TitaniumIngot: 11 + CopperIngot: 5 + IronPowder: 28 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + IronPowder: 1 + }, + { + IronPowder: 2 + }, + { + IronPowder: 1 + }, + ) + Priority: 72 +}, +/****************************************************************************/ +{ + Id: 134 + Name: "CraftAssassinChest" + Flag: 16 + ReturnCode: 1333 + //AssassinChest + SourceItems: + ( + { + IridiumIngot: 5 + CottonCloth: 30 + IronPowder: 34 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + IronPowder: 1 + }, + { + IronPowder: 2 + }, + { + IronPowder: 1 + }, + ) + Priority: 80 +}, +/****************************************************************************/ +// 51~71 → Swords +// 72~76 → Bows +// 77~81 → Wands +// 82 → Reserved for guns +// 83~87 → Gloves +// 88~91 → Stronger Shields +// 92 → Reserved for gloves +// 93~97 → Shields +// 98, 99, 100 → Reserved for guns +// 101, 102 → Misc +// 103~114 → Helmets +// 115~121 → Terranite +// 122~124 → Special +// 125~134 → Chest Armors +// 134~140 → Pants +// 141+ → WIP +////////////////////////////////////////////////////////////////////////////// +{ + Id: 135 + Name: "CraftJeansShorts" + Flag: 16 + ReturnCode: 2212 + //JeansShorts + SourceItems: + ( + { + CottonCloth: 10 + CaveSnakeSkin: 5 + LeatherPatch: 10 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + LeatherPatch: 1 + }, + { + LeatherPatch: 2 + }, + { + LeatherPatch: 1 + }, + ) + Priority: 20 +}, +/****************************************************************************/ +{ + Id: 136 + Name: "CraftRaidTrousers" + Flag: 16 + ReturnCode: 2201 + //RaidTrousers + SourceItems: + ( + { + CottonCloth: 30 + WhiteFur: 25 + LeatherPatch: 14 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + LeatherPatch: 1 + }, + { + LeatherPatch: 2 + }, + { + LeatherPatch: 1 + }, + ) + Priority: 30 +}, +/****************************************************************************/ +{ + Id: 137 + Name: "CraftLeatherTrousers" + Flag: 16 + ReturnCode: 2213 + //LeatherTrousers + SourceItems: + ( + { + CottonCloth: 30 + Coal: 20 + LeatherPatch: 19 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + LeatherPatch: 1 + }, + { + LeatherPatch: 2 + }, + { + LeatherPatch: 1 + }, + ) + Priority: 40 +}, +/****************************************************************************/ +{ + Id: 138 + Name: "CraftJeansChaps" + Flag: 16 + ReturnCode: 2204 + //JeansChaps + SourceItems: + ( + { + SnakeSkin: 35 + CottonCloth: 20 + LeatherPatch: 22 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + LeatherPatch: 1 + }, + { + LeatherPatch: 2 + }, + { + LeatherPatch: 1 + }, + ) + Priority: 50 +}, +/****************************************************************************/ +{ + Id: 139 + Name: "CraftSilkPants" + Flag: 16 + ReturnCode: 2208 + //SilkPants + SourceItems: + ( + { + SilkCocoon: 150 + CottonCloth: 5 + LeatherPatch: 24 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + LeatherPatch: 1 + }, + { + LeatherPatch: 2 + }, + { + LeatherPatch: 1 + }, + ) + Priority: 51 +}, +/****************************************************************************/ +{ + Id: 140 + Name: "CraftChainmailSkirt" + Flag: 16 + ReturnCode: 2211 + //ChainmailSkirt + SourceItems: + ( + { + IronIngot: 10 + SilverIngot: 15 + LeatherPatch: 26 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + LeatherPatch: 1 + }, + { + LeatherPatch: 2 + }, + { + LeatherPatch: 1 + }, + ) + Priority: 60 +}, +/****************************************************************************/ +{ + Id: 141 + Name: "CraftBromenalPants" + Flag: 16 + ReturnCode: 2203 + //BromenalPants + SourceItems: + ( + { + TitaniumIngot: 5 + CopperIngot: 4 + LeatherPatch: 28 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + LeatherPatch: 1 + }, + { + LeatherPatch: 2 + }, + { + LeatherPatch: 1 + }, + ) + Priority: 70 +}, +/****************************************************************************/ +{ + Id: 142 + Name: "CraftWarlordPants" + Flag: 16 + ReturnCode: 2215 + //WarlordPants + SourceItems: + ( + { + TitaniumIngot: 8 + SilverIngot: 10 + LeatherPatch: 30 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + LeatherPatch: 1 + }, + { + LeatherPatch: 2 + }, + { + LeatherPatch: 1 + }, + ) + Priority: 71 +}, +/****************************************************************************/ +{ + Id: 143 + Name: "CraftAssassinPants" + Flag: 16 + ReturnCode: 2202 + //AssassinPants + SourceItems: + ( + { + IridiumIngot: 3 + CottonCloth: 35 + LeatherPatch: 34 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + LeatherPatch: 1 + }, + { + LeatherPatch: 2 + }, + { + LeatherPatch: 1 + }, + ) + Priority: 80 +}, +/****************************************************************************/ ) diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 3ef25b4ee..8bd181039 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -7190,7 +7190,7 @@ item_db: ( { Id: 1333 AegisName: "AssassinChest" - Name: "AssassinChest" + Name: "Assassin Chest" Type: "IT_ARMOR" Buy: 200000 Sell: 9000 diff --git a/npc/017-5/nahrec.txt b/npc/017-5/nahrec.txt index 009998e46..cd78feaa6 100644 --- a/npc/017-5/nahrec.txt +++ b/npc/017-5/nahrec.txt @@ -58,11 +58,11 @@ function NahrecMain { mesn; mesq l("Yes, I can craft many things. In addition to plating and improving armor, I can craft smaller items made of gold and other metals."); select - rif(false && countitem(WarlordPlate) > 0, l("Can you improve my Warlord Plate for me?")), - rif(false && countitem(LightPlatemail) > 0, l("Can you improve my Light Platemail for me?")), + rif(!RECIPES_EQUIPMENT[CraftGoldenLightPlate], l("Can you improve my Light Platemail for me?")), + rif(!RECIPES_EQUIPMENT[CraftGoldenWarlord], l("Can you improve my Warlord Plate for me?")), l("Can you craft Chainmail?"), l("Can you craft Light Platemail?"), - rif(false, l("Can you craft Warlord Plate?")), + l("Can you craft Warlord Plate?"), l("Can you craft Savior Pants?"), l("Can you craft Chainmail Skirt?"), l("Do you know something about 'Mylarin Dust'?"), @@ -70,10 +70,31 @@ function NahrecMain { mes ""; switch (@menu) { case 1: - blacksmith_create(GoldIngot, 35, WarlordPlate, 1, GoldenWarlordPlate, 200000); + mesn; + mesq ("For %d GP I'll teach you, do we have a deal?", fnum(30000)); + next; + if (askyesno() == ASK_YES && Zeny > 30000) { + mes ""; + Zeny-=30000; + RECIPES_EQUIPMENT[CraftGoldenLightPlate]=true; + mesn; + mesc l("Nahrec discretly gives you a recipe."); + mesc l("\"*psst, just follow what is outlined here to make it golden.*\""); + } break; case 2: - blacksmith_create(GoldIngot, 10, LightPlatemail, 1, GoldenLightPlatemail, 30000); + mesn; + mesq ("For %d GP I'll teach you, do we have a deal?", fnum(200000)); + next; + if (askyesno() == ASK_YES && Zeny > 200000) { + mes ""; + Zeny-=200000; + RECIPES_EQUIPMENT[CraftGoldenWarlord]=true; + mesn; + mesc l("Nahrec discretly gives you a recipe."); + mesc l("\"*psst, just follow what is outlined here to make it golden.*\""); + } + break; break; case 3: blacksmith_create(IronIngot, 10, SilverIngot, 2, Chainmail, 20000); @@ -148,7 +169,15 @@ function blacksmith_create { delitem .@base1, .@amon1; delitem .@base2, .@amon2; POL_PlayerMoney(.@price); - getitem .@prize, 1; + if (.@prize == WarlordPlate) { + .@b=any(IOPT_SPLASHDAMAGE, VAR_ITEMDEFPOWER); + if (.@b == IOPT_SPLASHDAMAGE) + CsysNpcCraft(.@prize, .@b, 1); + else + CsysNpcCraft(.@prize, VAR_ITEMDEFPOWER, 50, VAR_MDEFPOWER, 30); + } else { + CsysNpcCraft(.@prize, IOPT_SCRESIST_POISON, 10, IOPT_SCRESIST_SILENCE, 10, IOPT_SCRESIST_BLIND, 10, IOPT_SCRESIST_CURSE, 10); + } mes ""; mesn; diff --git a/npc/craft/recipes.txt b/npc/craft/recipes.txt index 45bc940f7..8e2ba3731 100644 --- a/npc/craft/recipes.txt +++ b/npc/craft/recipes.txt @@ -364,6 +364,107 @@ function readCrafting { 40, Coal, 1, EverburnPowder); dnext; + // Chest Armors -> Primary Ore + Secondary Ore + Iron Powder + Earth Powder + mesc "----------"+l("Chest Armor Recipes")+"----------", 2; + showRecipe(CraftLeatherShirt, LeatherShirt, + 35, LeatherPatch, + 2, IronIngot, + 8, IronPowder, + 1, EarthPowder); + showRecipe(CraftLieutenantArmor, LieutenantArmor, + 4, CopperIngot, + 4, IronIngot, + 12, IronPowder, + 1, EarthPowder); + showRecipe(CraftChainmail, Chainmail, + 10, IronIngot, + 2, SilverIngot, + 18, IronPowder, + 1, EarthPowder); + showRecipe(CraftCopperArmor, CopperArmor, + 10, Copperngot, + 3, IronIngot, + 22, IronPowder, + 1, EarthPowder); + showRecipe(CraftLightPlatemail, LightPlatemail, + 15, IronIngot, + 5, SilverIngot, + 24, IronPowder, + 1, EarthPowder); + showRecipe(CraftGoldenLightPlate, GoldenLightPlatemail, + 15, GoldIngot, + 1, LightPlatemail, + 26, IronPowder, + 1, EarthPowder); + showRecipe(CraftWarlordPlate, WarlordPlate, + 15, TitaniumIngot, + 5, SilverIngot, + 28, IronPowder, + 1, EarthPowder); + showRecipe(CraftGoldenWarlord, GoldenWarlordPlate, + 45, GoldIngot, + 1, WarlordPlate, + 30, IronPowder, + 1, EarthPowder); + showRecipe(CraftBromenalChest, BromenalChest, + 11, TitaniumIngot, + 5, SilverIngot, + 11, IronPowder, + 1, EarthPowder); + showRecipe(CraftAsassinChest, AssassinChest, + 5, PlatinumIngot, + 30, CottonCloth, + 34, IronPowder, + 1, EarthPowder); + dnext; + // Pants -> Primary Item + Secondary Item + Leather Patch + Earth Powder + mesc "----------"+l("Pants Recipes")+"----------", 2; + showRecipe(CraftJeansShorts, JeansShorts, + 10, CottonCloth, + 5, CaveSnakeSkin, + 10, LeatherPatch, + 1, EarthPowder); + showRecipe(CraftRaidTrousers, RaidTrousers, + 30, CottonCloth, + 25, WhiteFur, + 14, LeatherPatch, + 1, EarthPowder); + showRecipe(CraftLeatherTrousers, LeatherTrousers, + 30, CottonCloth, + 20, Coal, + 19, LeatherPatch, + 1, EarthPowder); + showRecipe(CraftJeansChaps, JeansChaps, + 35, SnakeSkin, + 20, CottonCloth, + 22, LeatherPatch, + 1, EarthPowder); + showRecipe(CraftSilkPants, SilkPants, + 150,SilkCocoon, + 5, CottonCloth, + 24, LeatherPatch, + 1, EarthPowder); + showRecipe(CraftChainmailSkirt, ChainmailSkirt, + 10, IronIngot, + 15, SilverIngot, + 26, LeatherPatch, + 1, EarthPowder); + showRecipe(CraftBromenalPants, BromenalPants, + 5, TitaniumIngot, + 4, CopperIngot, + 28, LeatherPatch, + 1, EarthPowder); + showRecipe(CraftWarlordPants, WarlordPants, + 8, TitaniumIngot, + 10, SilverIngot, + 30, LeatherPatch, + 1, EarthPowder); + showRecipe(CraftAssassinPants, AssassinPants, + 3, IridiumIngot, + 35, CottonCloth, + 34, LeatherPatch, + 1, EarthPowder); + dnext; // Gloves: Gloves items mesc "----------"+l("Gloves Recipes")+"----------", 2; showRecipe(CraftSilkGloves, SilkGloves, @@ -570,6 +671,8 @@ function script MakeBlueprint { array_push(.@recipes, CraftShortBow); array_push(.@recipes, CraftSilkGloves); array_push(.@recipes, CraftInfantryHelmet); + array_push(.@recipes, CraftLeatherShirt); + array_push(.@recipes, CraftJeansShorts); } if (.@rarity & CRAFT_INTERMEDIARY) { array_push(.@recipes, CraftBugSlayer); @@ -581,6 +684,8 @@ function script MakeBlueprint { array_push(.@recipes, CraftLeatherGloves); array_push(.@recipes, CraftDesertHelmet); array_push(.@recipes, CraftBromenalHelmet); + array_push(.@recipes, CraftLieutenantArmor); + array_push(.@recipes, CraftRaidTrousers); } if (.@rarity & CRAFT_ADVANCED) { array_push(.@recipes, CraftBacksword); @@ -599,6 +704,17 @@ function script MakeBlueprint { array_push(.@recipes, CraftCrusadeHelmet); array_push(.@recipes, CraftWarlordHelmet); array_push(.@recipes, CraftVikingHelmet); + array_push(.@recipes, CraftChainmail); + array_push(.@recipes, CraftCopperArmor); + array_push(.@recipes, CraftLightPlatemail); + array_push(.@recipes, CraftWarlordPlate); + array_push(.@recipes, CraftBromenalArmor); + array_push(.@recipes, CraftLeatherTrousers); + array_push(.@recipes, CraftJeansChaps); + array_push(.@recipes, CraftSilkPants); + array_push(.@recipes, CraftChainmailSkirt); + array_push(.@recipes, CraftBromenalPants); + array_push(.@recipes, CraftWarlordPants); } if (.@rarity & CRAFT_EXPERT) { array_push(.@recipes, CraftGoldenRing); @@ -619,6 +735,8 @@ function script MakeBlueprint { array_push(.@recipes, CraftDarkHelm); array_push(.@recipes, CraftTerraniteArmor); array_push(.@recipes, CraftTerranitePants); + array_push(.@recipes, CraftAssassinChest); + array_push(.@recipes, CraftAssassinPants); } if (.@rarity & CRAFT_MASTER) { array_push(.@recipes, CraftDivineSword); -- cgit v1.2.3-60-g2f50