diff options
-rw-r--r-- | db/craft_db.conf | 32 | ||||
-rw-r--r-- | npc/items/recipes.txt | 3 |
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; } |