From 2901ba177dea5867cbd52eb2b02a0ef8e1816e15 Mon Sep 17 00:00:00 2001 From: wushin Date: Wed, 7 Jan 2015 21:00:16 -0600 Subject: Moving Tutorial from Tulimshar to Candor --- world/map/npc/001-1/weellos.txt | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 world/map/npc/001-1/weellos.txt (limited to 'world/map/npc/001-1/weellos.txt') diff --git a/world/map/npc/001-1/weellos.txt b/world/map/npc/001-1/weellos.txt new file mode 100644 index 00000000..7400402a --- /dev/null +++ b/world/map/npc/001-1/weellos.txt @@ -0,0 +1,40 @@ +// A historian +// takes part in quest given by 021-2/kylian.txt + +001-1.gat,55,25,0|script|Weellos|103 +{ + set @halloween_npc_id, $@halloween_npc_weellos; + callfunc "TrickOrTreat"; + + set QUEST_NorthTulimshar, QUEST_NorthTulimshar | $@knowWeellosNT; + set @kylian, ((QUEST_NorthTulimshar & NIBBLE_5_MASK) >> NIBBLE_5_SHIFT); + + if isin("001-1.gat", 48, 20, 61, 28) goto L_In; + + mes "[Weellos]"; + mes "\"This is a very historic building. One of the oldest in the area.\""; + next; + mes "\"It's the current seat of the council of wizards.\""; + next; + mes "\"It's also holds the Magic Institute of Tulimshar.\""; + next; + mes "\"Part of It's been turned into a museum as well\""; + 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; +} -- cgit v1.2.3-70-g09d2