summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-11-11 20:05:10 -0300
committerJesusaves <cpntb1@ymail.com>2020-11-11 20:05:10 -0300
commit6bb78cd137ec2aeb004d014600ba8d5cb2386ba2 (patch)
treedebbdb8bb79d4080fa420ba44280f60219ddac3a
parent3baae55dc7944ddf7d6c5fe9497f5a19fbc512bb (diff)
downloadserverdata-6bb78cd137ec2aeb004d014600ba8d5cb2386ba2.tar.gz
serverdata-6bb78cd137ec2aeb004d014600ba8d5cb2386ba2.tar.bz2
serverdata-6bb78cd137ec2aeb004d014600ba8d5cb2386ba2.tar.xz
serverdata-6bb78cd137ec2aeb004d014600ba8d5cb2386ba2.zip
Allow you to tailor as well, provided you have the recipe.
Jewelery and Alchemy will wait for another release, I'm afraid.
-rw-r--r--npc/001-2-27/don.txt6
-rw-r--r--npc/020-2-10/hetchel.txt15
2 files changed, 19 insertions, 2 deletions
diff --git a/npc/001-2-27/don.txt b/npc/001-2-27/don.txt
index 4968cf9b..468111b9 100644
--- a/npc/001-2-27/don.txt
+++ b/npc/001-2-27/don.txt
@@ -91,7 +91,11 @@ function good_blacksmith {
case 1:
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("You can try if you know the recipe, but your chance of success is lesser than a well trained smith and master craftsman.");
- SmithSystem(CRAFT_SMITHERY);
+ .@s = SmithSystem(CRAFT_SMITHERY);
+ if (.@s)
+ mesc l("Success!"), 3;
+ else
+ mesc l("That didn't work!"), 1;
next;
break;
case 2:
diff --git a/npc/020-2-10/hetchel.txt b/npc/020-2-10/hetchel.txt
index 5114124e..0632a848 100644
--- a/npc/020-2-10/hetchel.txt
+++ b/npc/020-2-10/hetchel.txt
@@ -10,7 +10,20 @@
l("Hi there. I am Hetchel, I weave fine textiles."),
l("My best client is Lora Tay, at Dimond's."),
l("So if you want, you can talk to her instead."),
- l("Tailoring is in decline and I have nothing to sell nor teach.");
+ l("Tailoring is in decline and I have nothing to sell nor teach."),
+ l("Unless you want to try doing it yourself?");
+ next;
+ do
+ {
+ mes "";
+ .@s = SmithSystem(CRAFT_TAILORING);
+ if (.@s)
+ mesc l("Success!"), 3;
+ else
+ mesc l("That didn't work!"), 1;
+ next;
+ mesc l("Do you want to continue?");
+ } while (askyesno() != ASK_YES);
close;
OnInit: