summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-08-14 10:21:26 -0400
committergumi <git@gumi.ca>2020-08-14 10:21:26 -0400
commit1a75727c66154b2390fca257e975865642e2afdd (patch)
tree663f5c39308553a6e7f1f558523c9a77e30d1331
parenta01ecbc12675fded58ce1a266a376db6c570a83c (diff)
downloadserverdata-1a75727c66154b2390fca257e975865642e2afdd.tar.gz
serverdata-1a75727c66154b2390fca257e975865642e2afdd.tar.bz2
serverdata-1a75727c66154b2390fca257e975865642e2afdd.tar.xz
serverdata-1a75727c66154b2390fca257e975865642e2afdd.zip
add the SilkGloves recipe
Co-authored-by: Christopher Chay <2@hisfootsteps.net>
-rw-r--r--db/craft_db.conf32
-rw-r--r--npc/items/recipes.txt3
2 files changed, 30 insertions, 5 deletions
diff --git a/db/craft_db.conf b/db/craft_db.conf
index 5720e127..6e4d9d61 100644
--- a/db/craft_db.conf
+++ b/db/craft_db.conf
@@ -55,10 +55,9 @@ craft_db: (
******************************************************************************/
/*
-TODO: allow ReturnCode to be a constant
-FIXME: use a regex find-replace to change ReturnCode to the corresponding AegisName constants
-// Name: "Craft([^"]+)"\n\tFlag: "([^"]+)"\n\tReturnCode: [0-9]+
-// Name: "Craft$1"\n\tFlag: "$2"\n\tReturnCode: "$1"
+VSCode Regex to convert a ReturnCode to string:
+Name: "Craft([^"]+)"\n\tFlag: "([^"]+)"\n\tReturnCode: [0-9]+
+Name: "Craft$1"\n\tFlag: "$2"\n\tReturnCode: "$1"
*/
/**************
@@ -1153,6 +1152,31 @@ Boots: 700 --> 799
}
Priority: 31
},
+{
+ Id: 304
+ Name: "CraftSilkGloves"
+ Flag: "CRAFT_TAILORING"
+ ReturnCode: "SilkGloves"
+ SourceItems:
+ (
+ {
+ SilkCocoon: 55
+ CottonCloth: 15
+ FluffyFur: 7
+ SharpKnife: 1
+ },
+ )
+ CreateItems:
+ (
+ {
+ SilkGloves: 1
+ },
+ )
+ RequiredItems: {
+ RecipeBook: 1
+ }
+ Priority: 39
+},
/************************** WEAPONS & TOOLS ************************************
********************************************************************************
diff --git a/npc/items/recipes.txt b/npc/items/recipes.txt
index 759ee59b..375b9892 100644
--- a/npc/items/recipes.txt
+++ b/npc/items/recipes.txt
@@ -205,7 +205,8 @@ function read_tailoring {
showRecipe(ShortGloves,
Armbands,
CottonGloves,
- BanditGloves);
+ BanditGloves,
+ SilkGloves);
return;
}