diff options
author | gumi <git@gumi.ca> | 2020-08-10 14:46:56 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2020-08-13 19:39:56 -0400 |
commit | 2ae337d01c43dbc24722dd3159f46b1031f97f98 (patch) | |
tree | 62fdf0bb319e0ecb4fbdbcd03686960d5b579e5d | |
parent | 0fe3a6fde2769b55b0019487d9939bf628c760b2 (diff) | |
download | serverdata-2ae337d01c43dbc24722dd3159f46b1031f97f98.tar.gz serverdata-2ae337d01c43dbc24722dd3159f46b1031f97f98.tar.bz2 serverdata-2ae337d01c43dbc24722dd3159f46b1031f97f98.tar.xz serverdata-2ae337d01c43dbc24722dd3159f46b1031f97f98.zip |
add the CreasedShirt recipe
Co-authored-by: Christopher Chay <2@hisfootsteps.net>
-rw-r--r-- | db/craft_db.conf | 26 | ||||
-rw-r--r-- | db/re/item_db.conf | 5 | ||||
-rw-r--r-- | npc/items/recipes.txt | 11 |
3 files changed, 40 insertions, 2 deletions
diff --git a/db/craft_db.conf b/db/craft_db.conf index 6fbf0906..f13d1015 100644 --- a/db/craft_db.conf +++ b/db/craft_db.conf @@ -155,6 +155,32 @@ Boots: 700 --> 799 **** Valid <Flag> parameters: CRAFT_SMITHERY, CRAFT_TAILORING *******************************************************************************/ +{ + Id: 100 + Name: "CraftCreasedShirt" + Flag: "CRAFT_TAILORING" + ReturnCode: 1300 + SourceItems: + ( + { + CottonCloth: 5 + PiouFeathers: 15 + RattoTail: 5 + Knife: 1 + }, + ) + CreateItems: + ( + { + CreasedShirt: 1 + }, + ) + RequiredItems: { + RecipeBook: 1 + } + Priority: 10 +}, + /************************* LEG ARMOR (PANTS) *********************************** ******************************************************************************** **** Reserved range for <Id>: 200 --> 299 diff --git a/db/re/item_db.conf b/db/re/item_db.conf index bf1ff82f..dfd26cbf 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2255,6 +2255,11 @@ item_db: ( Weight: 2 Refine: false }, +{ + Id: 809 + AegisName: "CottonCloth" + Name: "Cotton Cloth" +}, // Necklaces { Id: 1000 diff --git a/npc/items/recipes.txt b/npc/items/recipes.txt index 5174c76d..cfa45251 100644 --- a/npc/items/recipes.txt +++ b/npc/items/recipes.txt @@ -29,6 +29,7 @@ function script showRecipe { function read_book; function read_cooking; function read_smithery; + function read_tailoring; end; function read_book { @@ -47,8 +48,8 @@ function read_book { read_cooking(); break; case CRAFT_SMITHERY: read_smithery(); break; - case CRAFT_TAILORING - read_tailoring(): break; + case CRAFT_TAILORING: + read_tailoring(); break; default: mesc l("Unfortunately, there is nothing on this bookmark."); mesc l("Perhaps, in future, someone adds it to this world."); @@ -113,6 +114,12 @@ function read_tailoring { mesf(".:: %s ::.", l("Chest Armor")); mes(); + showRecipe(CraftCreasedShirt, CreasedShirt, + 1, CottonCloth, + 15, PiouFeathers, + 5, RattoTail, + 1, Knife); + return; } |