From 8e14496900575fac9b064c7aa2d3f9e9d3f5df08 Mon Sep 17 00:00:00 2001 From: gumi Date: Mon, 10 Aug 2020 13:55:36 -0400 Subject: add a tailoring section to the recipes --- npc/items/recipes.txt | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'npc') diff --git a/npc/items/recipes.txt b/npc/items/recipes.txt index c7e4b2a7..5174c76d 100644 --- a/npc/items/recipes.txt +++ b/npc/items/recipes.txt @@ -47,6 +47,8 @@ function read_book { read_cooking(); break; case CRAFT_SMITHERY: read_smithery(); 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."); @@ -97,14 +99,19 @@ function read_smithery { next; mesc l("List of known smithery recipes:"); - mes ""; - mes ".:: " + l("Helmets") + " ::."; - mes ""; - showRecipe(CraftInfantryHelmet, InfantryHelmet, - 12, IronOre, - 3, Coal, - 2, Moss, - 1, Dagger); + return; +} + +function read_tailoring { + setnpcdialogtitle(l("Tailoring Recipes")); + + mesc(l("(All items must be placed exactly in this order.)")); + next(); + mesc(l("List of known tailoring recipes:")); + + mes(); + mesf(".:: %s ::.", l("Chest Armor")); + mes(); return; } @@ -192,5 +199,3 @@ function script MakeBlueprint { } return; } - - -- cgit v1.2.3-70-g09d2