summaryrefslogtreecommitdiff
path: root/world/map/npc/002-2/latoy.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/002-2/latoy.txt')
-rw-r--r--world/map/npc/002-2/latoy.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/world/map/npc/002-2/latoy.txt b/world/map/npc/002-2/latoy.txt
new file mode 100644
index 00000000..4c847af7
--- /dev/null
+++ b/world/map/npc/002-2/latoy.txt
@@ -0,0 +1,33 @@
+// A snobby store that won't sell to the player
+// takes part in quest given by 021-2/kylian.txt
+
+002-2.gat,86,93,0|shop|#LatoyShop|127,SilkHeadband:*20000,SilkGloves:*20000,SilkPants:*30000,SilkRobe:*40000
+
+002-2.gat,86,93,0|script|Latoy|106
+{
+ set QUEST_NorthTulimshar, QUEST_NorthTulimshar | $@knowLatoyNT;
+ set @kylian, ((QUEST_NorthTulimshar & NIBBLE_5_MASK) >> NIBBLE_5_SHIFT);
+
+ mes "[Latoy]";
+ mes "\"Is there something I can help you with?\"";
+ if (@kylian != 7)
+ goto L_Shop;
+ next;
+ mes "Maybe this is the kind of shop Kylian is looking for?";
+ goto L_Shop;
+
+L_Shop:
+ mes "[Latoy]";
+ mes "\"How would you like to browse my wares?\"";
+ menu
+ "Yes.", L_LatoyShop,
+ "No.", L_Close;
+
+L_LatoyShop:
+ close2;
+ shop "#LatoyShop";
+
+L_Close:
+ set @kylian, 0;
+ close;
+}