diff options
author | Chuck Miller <shadowmil@gmail.com> | 2011-08-04 01:54:21 -0400 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-12-22 16:55:33 +0100 |
commit | 206e22426715c5d827928385f4ee8bc5657d4489 (patch) | |
tree | 09f9bc0813b5d791216cbbce94d3a5cc49ed659e /world/map/npc | |
parent | d055f5ee2e8aba6023fad078340770ef051a8d2e (diff) | |
download | serverdata-206e22426715c5d827928385f4ee8bc5657d4489.tar.gz serverdata-206e22426715c5d827928385f4ee8bc5657d4489.tar.bz2 serverdata-206e22426715c5d827928385f4ee8bc5657d4489.tar.xz serverdata-206e22426715c5d827928385f4ee8bc5657d4489.zip |
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.
Diffstat (limited to 'world/map/npc')
-rw-r--r-- | world/map/npc/011-3/hermit.txt | 16 |
1 files changed, 14 insertions, 2 deletions
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 +} |