diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-05-05 16:14:47 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-05-13 09:57:58 -0400 |
commit | 159116ab059fe579ac42f75eb1bb288d90c01a67 (patch) | |
tree | b22a16eb4d9c1d7bcdfe67a15e14e7b5a1ad74eb /world/map/npc/031-1/angelaOutside.txt | |
parent | 1c175670634bef1967306932ea6217dd88cde32e (diff) | |
download | serverdata-159116ab059fe579ac42f75eb1bb288d90c01a67.tar.gz serverdata-159116ab059fe579ac42f75eb1bb288d90c01a67.tar.bz2 serverdata-159116ab059fe579ac42f75eb1bb288d90c01a67.tar.xz serverdata-159116ab059fe579ac42f75eb1bb288d90c01a67.zip |
add new states to cindy quest
Diffstat (limited to 'world/map/npc/031-1/angelaOutside.txt')
-rw-r--r-- | world/map/npc/031-1/angelaOutside.txt | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/world/map/npc/031-1/angelaOutside.txt b/world/map/npc/031-1/angelaOutside.txt index 4b0c5db5..322cbfb0 100644 --- a/world/map/npc/031-1/angelaOutside.txt +++ b/world/map/npc/031-1/angelaOutside.txt @@ -9,8 +9,10 @@ mes "Current state: " + QL_CINDY; mes "---"; mes "Available states:"; - mes "0 - does not have the quest."; - mes "1 - got the quest."; + mes "0 - can not do the quest."; + mes "5 - does not have the quest."; + mes "6 - got the quest."; + mes "1 - can go rescue cindy."; mes "2 - rescued cindy."; mes "3 - got reward from cindy."; mes "4 - got reward from angela."; @@ -20,7 +22,7 @@ L_Set: input @state; - if(@state < 0 || @state > 4) set @state, 0; + if(@state < 0 || @state > 6) set @state, 0; set QL_CINDY, @state; goto L_Close; @@ -32,12 +34,12 @@ OnInit: end; } -031-1,79,24,0|script|Angela|195 +031-1,79,24,0|script|Angela|195,15,15 { set @minlevel, 70; - if (QL_CINDY > 3) goto L_Please_Visit_Again; - if (QL_CINDY > 1) goto L_Please_Visit; + if (QL_CINDY == 3) goto L_Please_Visit_Again; + if (QL_CINDY > 1 && QL_CINDY < 5) goto L_Please_Visit; if (QL_CINDY == 1) goto L_Please_Help; mes "[Angela]"; @@ -45,13 +47,18 @@ OnInit: next; mes "\"It's terrible, oh my dear child!\""; next; - if (countitem("ConcentrationPotion") > 0 && BaseLevel >= @minlevel) + if (countitem("ConcentrationPotion") > 0 && BaseLevel >= @minlevel && QL_CINDY == 6) goto L_Menu_Potion; menu "\"Please calm down and tell me what happened.\"", L_Whining, "Leave", L_Close; +OnTouch: + if(BaseLevel >= @minlevel && !QL_CINDY) + set QL_CINDY, 5; + end; + L_Whining: mes "[Angela]"; mes "\"My poor little daughter, please! Oh no, oh no...\""; @@ -73,6 +80,13 @@ L_Whining: mes "She is crying and sobbing."; next; mes "It seems she is too upset to tell you anything helpful. If she would just calm down and concentrate a bit..."; + if(BaseLevel >= @minlevel) goto L_GetQuest; + goto L_Close; + +L_GetQuest: + next; + set QL_CINDY, 6; + mes "Perhaps you could give her something to help concentrate ?"; goto L_Close; L_Menu_Potion: |