From 39d9299a436efd53d4d90c27c377d732702c8fd9 Mon Sep 17 00:00:00 2001 From: gumi Date: Thu, 13 Aug 2020 20:43:16 -0400 Subject: add LeatherPatch and the SailorShirt recipe Christopher Chay <2@hisfootsteps.net> --- db/craft_db.conf | 26 +++++++++++++++++++++++++- db/re/item_db.conf | 6 ++++++ npc/items/recipes.txt | 5 +++++ 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/db/craft_db.conf b/db/craft_db.conf index c0d08400..e1aadb91 100644 --- a/db/craft_db.conf +++ b/db/craft_db.conf @@ -230,7 +230,31 @@ Boots: 700 --> 799 } Priority: 20 }, - +{ + Id: 103 + Name: "CraftSailorShirt" + Flag: "CRAFT_TAILORING" + ReturnCode: 1303 + SourceItems: + ( + { + CottonCloth: 15 + LeatherPatch: 5 + Coal: 5 + Knife: 1 + }, + ) + CreateItems: + ( + { + SailorShirt: 1 + }, + ) + RequiredItems: { + RecipeBook: 1 + } + Priority: 21 +}, /************************* LEG ARMOR (PANTS) *********************************** ******************************************************************************** diff --git a/db/re/item_db.conf b/db/re/item_db.conf index dfd26cbf..67d47fd2 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2260,6 +2260,12 @@ item_db: ( AegisName: "CottonCloth" Name: "Cotton Cloth" }, +{ + Id: 810 + AegisName: "LeatherPatch" + Name: "Leather Patch" +}, + // Necklaces { Id: 1000 diff --git a/npc/items/recipes.txt b/npc/items/recipes.txt index d39ee5b8..6bd3f3fc 100644 --- a/npc/items/recipes.txt +++ b/npc/items/recipes.txt @@ -131,6 +131,11 @@ function read_tailoring { 5, PiouFeathers, 7, Moss, 1, Knife); + showRecipe(CraftSailorShirt, SailorShirt, + 15, CottonCloth, + 5, LeatherPatch, + 5, Coal, + 1, Knife); return; } -- cgit v1.2.3-70-g09d2