summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-08-13 20:43:16 -0400
committergumi <git@gumi.ca>2020-08-13 20:43:16 -0400
commit39d9299a436efd53d4d90c27c377d732702c8fd9 (patch)
tree7e8a444841ca92e6c84ab69e5721674a30db21fb
parentc7f601c213eb9069694e207a7e62ba4d5a87d20c (diff)
downloadserverdata-39d9299a436efd53d4d90c27c377d732702c8fd9.tar.gz
serverdata-39d9299a436efd53d4d90c27c377d732702c8fd9.tar.bz2
serverdata-39d9299a436efd53d4d90c27c377d732702c8fd9.tar.xz
serverdata-39d9299a436efd53d4d90c27c377d732702c8fd9.zip
add LeatherPatch and the SailorShirt recipe
Christopher Chay <2@hisfootsteps.net>
-rw-r--r--db/craft_db.conf26
-rw-r--r--db/re/item_db.conf6
-rw-r--r--npc/items/recipes.txt5
3 files changed, 36 insertions, 1 deletions
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;
}