From 2f065729610ea8a7df2fabe3cdcd8d5a06128364 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 17 Apr 2020 06:01:11 -0300 Subject: Terranite Armor and Pants recipe. Nerf Terra Protector blueprint droprate to only 0.12% --- db/craft_db.conf | 62 ++++++++++++++++++++++++++++++++++++++++++++++- db/re/mob_db.conf | 2 +- npc/craft/recipes.txt | 12 +++++++++ npc/items/miscrecipes.txt | 10 ++++---- 4 files changed, 79 insertions(+), 7 deletions(-) diff --git a/db/craft_db.conf b/db/craft_db.conf index 472ae86f4..33eb535d6 100644 --- a/db/craft_db.conf +++ b/db/craft_db.conf @@ -2639,7 +2639,67 @@ craft_db: ( Lifestone: 1 }, ) - Priority: 80 + Priority: 7 +}, +/****************************************************************************/ +{ + Id: 116 + Name: "CraftTerraniteArmor" + Flag: 16 + ReturnCode: 1311 + //TerraniteArmor + SourceItems: + ( + { + TerraniteIngot: 4 + Coal: 45 + IronPowder: 32 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + IronPowder: 1 + }, + { + IronPowder: 2 + }, + { + IronPowder: 1 + }, + ) + Priority: 7 +}, +/****************************************************************************/ +{ + Id: 117 + Name: "CraftTerranitePants" + Flag: 16 + ReturnCode: 2210 + //TerranitePants + SourceItems: + ( + { + TerraniteIngot: 2 + Coal: 15 + LeatherPatch: 32 + EarthPowder: 1 + }, + ) + CreateItems: + ( + { + LeatherPatch: 1 + }, + { + LeatherPatch: 2 + }, + { + LeatherPatch: 1 + }, + ) + Priority: 7 }, /****************************************************************************/ ) diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf index d8f5ddcc8..26652d8c9 100644 --- a/db/re/mob_db.conf +++ b/db/re/mob_db.conf @@ -8308,7 +8308,7 @@ mob_db: ( CasinoCoins: 100 Emerald: 30 Amethyst: 20 - TerraniteBlueprint: 15 + TerraniteBlueprint: 12 TerraniteMask: 1 } }, diff --git a/npc/craft/recipes.txt b/npc/craft/recipes.txt index d7228f0fb..063b5a20b 100644 --- a/npc/craft/recipes.txt +++ b/npc/craft/recipes.txt @@ -472,6 +472,16 @@ function readCrafting { 1, TitaniumIngot, 8, Coal, 1, EverburnPowder); + showRecipe(CraftTerranitePants, TerranitePants, + 2, TerraniteIngot, + 15, Coal, + 32, LeatherPatch, + 1, EarthPowder); + showRecipe(CraftTerraniteArmor, TerraniteArmor, + 4, TerraniteIngot, + 45, Coal, + 32, IronPowder, + 1, EarthPowder); next; @scope$=""; return; @@ -602,6 +612,8 @@ function script MakeBlueprint { array_push(.@recipes, CraftCenturionHelmet); array_push(.@recipes, CraftBullHelmet); array_push(.@recipes, CraftDarkHelm); + array_push(.@recipes, CraftTerraniteArmor); + array_push(.@recipes, CraftTerranitePants); } if (.@rarity & CRAFT_MASTER) { array_push(.@recipes, CraftDivineSword); diff --git a/npc/items/miscrecipes.txt b/npc/items/miscrecipes.txt index 560fa6e36..2b3d3f391 100644 --- a/npc/items/miscrecipes.txt +++ b/npc/items/miscrecipes.txt @@ -14,12 +14,12 @@ function script TerraniteBlueprint { } // Setup - array_push(.@recipes, CraftRockKnife); // Weapon: Rock Knife - array_push(.@recipes, CraftRockKnife); // TerraniteArmor - array_push(.@recipes, CraftRockKnife); // TerranitePants + array_push(.@recipes, CraftRockKnife); // Weapon: Rock Knife + array_push(.@recipes, CraftTerraniteArmor); // TerraniteArmor + array_push(.@recipes, CraftTerranitePants); // TerranitePants array_push(.@recipes, CraftTerraniteHelmet); // TerraniteHelmet - array_push(.@recipes, CraftRockKnife); // TerraniteGloves (?)(X) - array_push(.@recipes, CraftRockKnife); // TerraniteBoots (?)(X) + //array_push(.@recipes, CraftTerranite); // TerraniteGloves (?)(X)(TODO) + //array_push(.@recipes, CraftTerranite); // TerraniteBoots (?)(X)(TODO) // Now you'll learn some recipe! .@rcp=any_of(.@recipes); -- cgit v1.2.3-60-g2f50