summaryrefslogtreecommitdiff
path: root/world/map/npc/021-1
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2012-02-07 14:44:46 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2012-03-20 14:00:16 +0100
commitdc2d7158f90ace751fa08def872299e0514dded0 (patch)
tree23efd1d83a0a3f6e76ebdc5ad547c7a80d1992e6 /world/map/npc/021-1
parentb1baac74bfa63bf69d83e0438e0b85823c302298 (diff)
downloadserverdata-dc2d7158f90ace751fa08def872299e0514dded0.tar.gz
serverdata-dc2d7158f90ace751fa08def872299e0514dded0.tar.bz2
serverdata-dc2d7158f90ace751fa08def872299e0514dded0.tar.xz
serverdata-dc2d7158f90ace751fa08def872299e0514dded0.zip
North Tulimshar: quest about businessman who wants to open a shop in Tulimshar
Diffstat (limited to 'world/map/npc/021-1')
-rw-r--r--world/map/npc/021-1/north_shops.txt13
-rw-r--r--world/map/npc/021-1/weellos.txt17
2 files changed, 29 insertions, 1 deletions
diff --git a/world/map/npc/021-1/north_shops.txt b/world/map/npc/021-1/north_shops.txt
index c02141d3..a64a1d87 100644
--- a/world/map/npc/021-1/north_shops.txt
+++ b/world/map/npc/021-1/north_shops.txt
@@ -6,9 +6,22 @@
021-1.gat,136,38,0|shop|Inar|108,CottonShirt :-1,CottonShorts :-1,WhiteCottonBoots :-1,DesertShirt :-1,SilkRobe :-5,DesertHat :-4
// A snobby store that won't sell to the player
+// takes part in quest given by 021-2/kylian.txt
021-1.gat,138,29,0|script|Latoy|106,{
+
+ set QUEST_NorthTulimshar, QUEST_NorthTulimshar | $@knowLatoyNT;
+ set @kylian, ((QUEST_NorthTulimshar & $@businessmanNT_MASK) >> $@businessmanNT_SHIFT);
+
mes "[Latoy]";
mes "\"There's nothing here you could want or afford.\"";
+ if (@kylian != 7)
+ goto L_Close;
+ next;
+ mes "Maybe this is the kind of shop Kylian is looking for?";
+ goto L_Close;
+
+L_Close:
+ set @kylian, 0;
close;
}
diff --git a/world/map/npc/021-1/weellos.txt b/world/map/npc/021-1/weellos.txt
index ec57a457..d86f7221 100644
--- a/world/map/npc/021-1/weellos.txt
+++ b/world/map/npc/021-1/weellos.txt
@@ -1,6 +1,10 @@
// A historian
+// takes part in quest given by 021-2/kylian.txt
021-1.gat,130,125,0|script|Weellos|103,{
+ set QUEST_NorthTulimshar, QUEST_NorthTulimshar | $@knowWeellosNT;
+ set @kylian, ((QUEST_NorthTulimshar & $@businessmanNT_MASK) >> $@businessmanNT_SHIFT);
+
set @hw2011_npc_id, $@hw2011_npc_weellos;
if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day)
goto L_TrickOrTreat;
@@ -10,12 +14,23 @@ L_Begin:
mes "[Weellos]";
mes "\"This is a very historic building. One of the oldest in the area.\"";
- close;
+ goto L_BeforeClose;
// If the player is inside the fence with Weellos
L_In:
mes "[Weellos]";
mes "\"What did you think of the historic building?\"";
+ goto L_BeforeClose;
+
+L_BeforeClose:
+ if (@kylian != 4)
+ goto L_Close;
+ next;
+ mes "You wonder if Kylian would be interested to see this building.";
+ goto L_Close;
+
+L_Close:
+ set @kylian, 0;
close;
L_TrickOrTreat: