From 206e22426715c5d827928385f4ee8bc5657d4489 Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Thu, 4 Aug 2011 01:54:21 -0400 Subject: Make the hermit not repeat his story over and over. This is a long requested feature, but it took a girl with a very sexy name to motivate me. Patch was amended by Ablu to make it apply on the current history, mainly replacing tabs with spaces. --- world/map/npc/011-3/hermit.txt | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'world/map/npc/011-3') diff --git a/world/map/npc/011-3/hermit.txt b/world/map/npc/011-3/hermit.txt index 698ae0c5..6276b933 100644 --- a/world/map/npc/011-3/hermit.txt +++ b/world/map/npc/011-3/hermit.txt @@ -3,10 +3,19 @@ 011-3.gat,30,23,0|script|Arkim|116,{ mes "[Arkim the Hermit]"; mes "\"Do you want to go back outside?\""; + if (@knowhermitstory == 1) goto L_Short_Menu; + menu + "Yes, please!", L_Sure, + "Not yet.", -, + "Actually... Why do you live here?", L_Interested; + close; + + +L_Short_Menu: menu "Yes, please!", L_Sure, "Not yet.", -, - "Actually... Why do you live here?", L_Interested; + "What was that deal you were offering?", L_Quest; close; L_Sure: @@ -38,6 +47,8 @@ L_Experiment: close; L_Quest: + set @knowhermitstory, 1; + set @dq_level, 20; set @dq_cost, 4; set @dq_count, 3; @@ -49,7 +60,8 @@ L_Quest: callfunc "DailyQuest"; next; + mes "[Arkim the Hermit]"; mes "\"And remember: never lend your toothbrush to a slime!\""; close; -} \ No newline at end of file +} -- cgit v1.2.3-60-g2f50