summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-17 06:01:11 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-17 06:01:11 -0300
commit2f065729610ea8a7df2fabe3cdcd8d5a06128364 (patch)
tree5719f1b90ec5c64a8efba6fc53fd83fa30bea248
parentd945fedbf8a62580ff48e82cb6cd55118b6dd40e (diff)
downloadserverdata-2f065729610ea8a7df2fabe3cdcd8d5a06128364.tar.gz
serverdata-2f065729610ea8a7df2fabe3cdcd8d5a06128364.tar.bz2
serverdata-2f065729610ea8a7df2fabe3cdcd8d5a06128364.tar.xz
serverdata-2f065729610ea8a7df2fabe3cdcd8d5a06128364.zip
Terranite Armor and Pants recipe.
Nerf Terra Protector blueprint droprate to only 0.12%
-rw-r--r--db/craft_db.conf62
-rw-r--r--db/re/mob_db.conf2
-rw-r--r--npc/craft/recipes.txt12
-rw-r--r--npc/items/miscrecipes.txt10
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);