From 72083cf80f4372152698abc9b71e3cbffc4780a0 Mon Sep 17 00:00:00 2001 From: gumi Date: Fri, 14 Aug 2020 10:14:46 -0400 Subject: add the Armbands recipe Co-authored-by: Christopher Chay <2@hisfootsteps.net> --- db/craft_db.conf | 27 +++++++++++++++++++++++++++ npc/items/recipes.txt | 3 ++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/db/craft_db.conf b/db/craft_db.conf index e548822e..6ffaee99 100644 --- a/db/craft_db.conf +++ b/db/craft_db.conf @@ -1076,6 +1076,33 @@ Boots: 700 --> 799 } Priority: 12 }, +{ + Id: 301 + Name: "CraftArmbands" + Flag: "CRAFT_TAILORING" + /* TODO: maybe add a WOODWORKING category? */ + ReturnCode: "Armbands" + SourceItems: + ( + { + RawLog: 20 + /* May need to be changed at a later date to Hardwood/Softwood/RefinedWood */ + LeatherPatch: 10 + Coal: 15 + Knife: 1 + }, + ) + CreateItems: + ( + { + Armbands: 1 + }, + ) + RequiredItems: { + RecipeBook: 1 + } + Priority: 21 +}, /************************** WEAPONS & TOOLS ************************************ ******************************************************************************** diff --git a/npc/items/recipes.txt b/npc/items/recipes.txt index af8842b8..12d2f08c 100644 --- a/npc/items/recipes.txt +++ b/npc/items/recipes.txt @@ -202,7 +202,8 @@ function read_tailoring { mesf(".:: %s ::.", l("Gloves")); mes(); - showRecipe(ShortGloves); + showRecipe(ShortGloves, + Armbands); return; } -- cgit v1.2.3-60-g2f50