diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-08 18:40:15 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-08 18:40:15 -0300 |
commit | 76aa29ccfe1f1c732b63c117e08bfeca2b358ebb (patch) | |
tree | 2e3ed68cd2f4d69d0e64db969aef1499965345d9 | |
parent | e743e2e7d013e50ea299c47a976d6f8a306a6a99 (diff) | |
download | serverdata-76aa29ccfe1f1c732b63c117e08bfeca2b358ebb.tar.gz serverdata-76aa29ccfe1f1c732b63c117e08bfeca2b358ebb.tar.bz2 serverdata-76aa29ccfe1f1c732b63c117e08bfeca2b358ebb.tar.xz serverdata-76aa29ccfe1f1c732b63c117e08bfeca2b358ebb.zip |
This will be just babbling if player have the recipe book
-rw-r--r-- | npc/024-16/craftsman.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/024-16/craftsman.txt b/npc/024-16/craftsman.txt index 77e4b5fd6..09005b2d6 100644 --- a/npc/024-16/craftsman.txt +++ b/npc/024-16/craftsman.txt @@ -41,9 +41,11 @@ mesn; mesq l("Well, first of, you'll need an @@ and an Equipment Recipe.", getitemlink(RecipeBook)); next; - mesn; - mesq l("If you don't have the recipe book, you'll need to find one... Maybe someone in a household you've already helped is willing to give you one."); - next; + if (!countitem(RecipeBook)) { + mesn; + mesq l("If you don't have the recipe book, you'll need to find one... Maybe someone in a household you've already helped is willing to give you one."); + next; + } mesn; mesq l("Anyway, once you have the recipe book and learned a recipe, you can craft items in forges. I think you can buy it in your apartment."); next; |