summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-08-13 21:34:20 -0400
committergumi <git@gumi.ca>2020-08-13 21:34:20 -0400
commit811238341360a52255fcac55e7c3d99d71ac3c96 (patch)
treec3f6749e46e9c4441b9df469884fbca7cb821be6
parent8dd725a3abd8085a589924eda702bea84f2a6b24 (diff)
downloadserverdata-811238341360a52255fcac55e7c3d99d71ac3c96.tar.gz
serverdata-811238341360a52255fcac55e7c3d99d71ac3c96.tar.bz2
serverdata-811238341360a52255fcac55e7c3d99d71ac3c96.tar.xz
serverdata-811238341360a52255fcac55e7c3d99d71ac3c96.zip
add the Chainmail recipe
Co-authored-by: Christopher Chay <2@hisfootsteps.net>
-rw-r--r--db/craft_db.conf25
-rw-r--r--npc/items/recipes.txt5
2 files changed, 30 insertions, 0 deletions
diff --git a/db/craft_db.conf b/db/craft_db.conf
index 47975199..7aef95a8 100644
--- a/db/craft_db.conf
+++ b/db/craft_db.conf
@@ -430,6 +430,31 @@ Boots: 700 --> 799
}
Priority: 42
},
+{
+ Id: 111
+ Name: "CraftChainmail"
+ Flag: "CRAFT_SMITHERY"
+ ReturnCode: 1315
+ SourceItems:
+ (
+ {
+ IronIngot: 18
+ SilverIngot: 3
+ Coal: 20
+ SharpKnife: 1
+ },
+ )
+ CreateItems:
+ (
+ {
+ Chainmail: 1
+ },
+ )
+ RequiredItems: {
+ RecipeBook: 1
+ }
+ Priority: 50
+},
/************************* LEG ARMOR (PANTS) ***********************************
********************************************************************************
diff --git a/npc/items/recipes.txt b/npc/items/recipes.txt
index 7573d24f..903c93c4 100644
--- a/npc/items/recipes.txt
+++ b/npc/items/recipes.txt
@@ -116,6 +116,11 @@ function read_smithery {
3, IronIngot,
10, Coal,
1, SharpKnife);
+ showRecipe(CraftChainmail, Chainmail,
+ 18, IronIngot,
+ 3, SilverIngot,
+ 20, Coal,
+ 1, SharpKnife);
return;
}