summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-08-10 13:55:36 -0400
committergumi <git@gumi.ca>2020-08-10 13:55:36 -0400
commit8e14496900575fac9b064c7aa2d3f9e9d3f5df08 (patch)
treeada05a74c4cc0bd25b95ae576077c3dd5e0336fa
parent802a68048e9aa66a2d43fd1fc8c91446bd868b0c (diff)
downloadserverdata-8e14496900575fac9b064c7aa2d3f9e9d3f5df08.tar.gz
serverdata-8e14496900575fac9b064c7aa2d3f9e9d3f5df08.tar.bz2
serverdata-8e14496900575fac9b064c7aa2d3f9e9d3f5df08.tar.xz
serverdata-8e14496900575fac9b064c7aa2d3f9e9d3f5df08.zip
add a tailoring section to the recipes
-rw-r--r--npc/items/recipes.txt25
1 files changed, 15 insertions, 10 deletions
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;
}
-
-