summaryrefslogtreecommitdiff
path: root/npc/001-2-0
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2016-02-14 03:07:57 +0100
committerReid <reidyaro@gmail.com>2016-02-14 03:07:57 +0100
commite7fe9558735ae104fa1c818c31125291f06b587d (patch)
treee8909fb77d9a0dc601efa164b9b466c99b91364e /npc/001-2-0
parentfba54b5a3e5bb45382dfad2fb84270f2f75f5729 (diff)
downloadserverdata-e7fe9558735ae104fa1c818c31125291f06b587d.tar.gz
serverdata-e7fe9558735ae104fa1c818c31125291f06b587d.tar.bz2
serverdata-e7fe9558735ae104fa1c818c31125291f06b587d.tar.xz
serverdata-e7fe9558735ae104fa1c818c31125291f06b587d.zip
Add enora newb quest on resa.
Diffstat (limited to 'npc/001-2-0')
-rw-r--r--npc/001-2-0/resa.txt48
1 files changed, 39 insertions, 9 deletions
diff --git a/npc/001-2-0/resa.txt b/npc/001-2-0/resa.txt
index 1660b5d6..38c4546c 100644
--- a/npc/001-2-0/resa.txt
+++ b/npc/001-2-0/resa.txt
@@ -3,6 +3,16 @@
// Reid
// Description:
// Light Armor shop keeper.
+// Variables:
+// ArtisQuests_Enora
+// Values:
+// 0 Default.
+// 1 BlackSmith quest delivered.
+// 2 Chelios Quest given.
+// 3 Chelios Quest done.
+// 4 BlackSmith gave the sword.
+// 5 Light Armor Shop quest delivered.
+// 6 Light Armor Shop gave the cloths.
001-2-0,37,28,0 script Resa NPC_ELVEN_FEMALE_ARMOR_SHOP,{
@@ -15,17 +25,38 @@
return;
}
+ function enora_quest {
+ speech 5,
+ l("I thought that she would never come to pick it up!"),
+ l("Here it is, a fashionable @@.", getitemlink (ArtisTankTop, CamelCottonDye)),
+ l("I asked Calypsan to dye this tank top, now it has an unique look!");
+
+ narrator 4, l("You pick up the package.");
+
+ setq ArtisQuests_Enora, 6;
+
+ return;
+ }
+
speech 4,
l("Welcome to my office."),
l("What would you like today?");
do
{
- .@q = select (l("[Trade]"),
- l("How can I improve my equipment?"),
- l("[Quit]"));
- switch (.@q)
+ .@enora = getq (ArtisQuests_Enora);
+ menuint rif (.@enora == 5, l("I came to retrieve a package for Enora.")), 0,
+ l("[Trade]"), 1,
+ l("How can I improve my equipment?"), 2,
+ l("[Quit]"), 3;
+
+ switch (@menuret)
{
+ case 0:
+ enora_quest;
+ closedialog;
+ goodbye;
+ close;
case 1:
closedialog;
shop "Store#001-2-0";
@@ -34,13 +65,12 @@
explain_craft;
break;
case 3:
- break;
+ closedialog;
+ goodbye;
+ close;
}
- } while (.@q != 3);
+ } while (1);
- closedialog;
- goodbye;
- close;
OnInit:
.sex = G_FEMALE;