From 906ba6620ea4a764da6492c97e7e1140d9274362 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 14 Jun 2018 10:13:59 -0300 Subject: Import an extra quest node for Scythe from TMW-BR team. Bug Fixes. --- npc/012-1/_import.txt | 1 + npc/012-1/terezin.txt | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++ npc/012-7/airlia.txt | 4 +++- 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 npc/012-1/terezin.txt diff --git a/npc/012-1/_import.txt b/npc/012-1/_import.txt index 3e50006cc..2742626a1 100644 --- a/npc/012-1/_import.txt +++ b/npc/012-1/_import.txt @@ -14,3 +14,4 @@ "npc/012-1/ship.txt", "npc/012-1/soul-menhir.txt", "npc/012-1/statue.txt", +"npc/012-1/terezin.txt", diff --git a/npc/012-1/terezin.txt b/npc/012-1/terezin.txt new file mode 100644 index 000000000..dc7a52342 --- /dev/null +++ b/npc/012-1/terezin.txt @@ -0,0 +1,58 @@ +// TMW2 Script +// Author: +// Jesusalva +// Description: +// Hinnak's Wife, Terezin (renamed to make an Easter Egg) +// NPC_MONA? + +012-1,110,41,0 script Tezzerin NPC_ELVEN_FEMALE_READING,{ + .@q1=getq(HurnscaldQuest_Farmers); + .@q2=getq2(HurnscaldQuest_Farmers); + if (strcharinfo(0) == $MOST_HEROIC$) mesn; + if (strcharinfo(0) == $MOST_HEROIC$) mesq l("Ah, @@, welcome!", $MOST_HEROIC$); + if (strcharinfo(0) == $MOST_HEROIC$) next; + if (.@q1 == 5 && .@q2 == 0) goto L_PinkieHat; + if (.@q1 == 4) goto L_Almost; + if (.@q1 > 2) goto L_Thanks; + mesn; + mesq l("Ah, my husband Hinnak is so hard working..."); + close; + +L_Almost: + mesn; + mesq l("You deserve a reward for helping my husband Hinnak, but please, get Oscar's reward first."); + close; + +L_Thanks: + mesn; + mesq l("Thanks for helping my husband. I'll think if there's something I can do for you, why don't you help Oscar on the meanwhile...?"); + close; + +L_PinkieHat: + mesn; + mesq l("You deserve a reward for helping my husband. I can make you a nice gift."); + next; + mesn; + mesq l("Please bring me a single @@, and I'll give you a memeto."); + if (countitem(PinkAntenna) < 1) + close; + next; + mesn strcharinfo(0); + mes col("Give the Antenna to her?", 9); + if (askyesno() != ASK_YES) { + mesq l("I'll seek one for you."); + close; + } + delitem PinkAntenna, 1; + getitem PinkieHat, 1; + mesn; + mesq l("Here, I did this @@ for you! I'm pretty sure this is also a drop, but that's literally everything I could do for helping my husband.", getitemlink(PinkieHat)); + setq2 HurnscaldQuest_Farmers, 1; + close; + +OnInit: + .sex = G_FEMALE; + .distance = 5; + end; +} + diff --git a/npc/012-7/airlia.txt b/npc/012-7/airlia.txt index 8bb42507b..5df3201c1 100644 --- a/npc/012-7/airlia.txt +++ b/npc/012-7/airlia.txt @@ -10,17 +10,19 @@ if (strcharinfo(0) == $MOST_HEROIC$) mesq l("Ah, if it isn't @@? You're the talk of the town!", $MOST_HEROIC$); if (strcharinfo(0) == $MOST_HEROIC$) next; if (.@q1 == 4) goto L_Letter; + mesn; mesq l("Oh, a visitor. Welcome to the city hall. Please, enjoy your stay."); close; L_Letter: + mesn; mesq l("You're the savior of Hurnscald crops. Half from the world would die from famine, weren't for you."); next; mesn; mesq l("We're currently the biggest exporter of food. We may be a small town, but Tulimshar and Halinarzo can barely hold themselves."); next; mesn; - mesq l("Here, take this Scythe. This is the proof that you've helped Hurnscald greatly. This shall open new opportunities to you."); + mesq l("Here, take this @@. This is the proof that you've helped Hurnscald greatly. This shall open new opportunities to you.", getitemlink(Scythe)); setq HurnscaldQuest_Farmers, 5; getitem Scythe, 1; getexp 0, 100; -- cgit v1.2.3-60-g2f50