summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/019-2/angela.txt53
1 files changed, 52 insertions, 1 deletions
diff --git a/npc/019-2/angela.txt b/npc/019-2/angela.txt
index 446773e94..4937b69bc 100644
--- a/npc/019-2/angela.txt
+++ b/npc/019-2/angela.txt
@@ -35,7 +35,58 @@
// >1500000000: Cindy is safely at home (until this date +%s)
019-2,75,25,0 script Angela#Outside NPC_ELF_F,{
- hello; end;
+ if ($@CINDY_STATE > gettimetick(2))
+ goto L_Safe;
+ if (BaseLevel < 60) { hello; end; }
+ if ($@CINDY_STATE % 2 == 0) goto L_Worried;
+ if (getq(NivalisQuest_Cindy) == 0) goto L_Start;
+ mesn;
+ mesq l("Please find my lovely daughter!");
+ close;
+
+L_Safe:
+ mesn;
+ mesq l("Ah, what a wonderful day.");
+ close;
+
+L_Worried:
+ mesn;
+ mesq l("The group of warriors which went into the cave to rescue my precious Cindy still haven't returned... I'm worried with them, too...");
+ close;
+
+L_Start:
+ mesn;
+ mesq l("My daughter! My precious Cindy, why it had to be you?!");
+ next;
+ mesn;
+ mesq l("Please, help my precious! Save her! Oh, my precious Cindy...");
+ next;
+ mesn col(l("Rescuing Cindy Quest"),1);
+ mesc l("You are about to accept a high-risk quest. You cannot complete it alone."), 1;
+ mesc l("Help the distressed woman to save her daughter? ALL PLAYERS are penalized with failures."), 1;
+ select
+ l("[Decline Quest]"),
+ l("[Accept Quest]");
+ if (@menu == 1) {
+ mesn strcharinfo(0);
+ mesq lg("Sorry 'mam, I forgot courage on my other set of pants. This one doesn't have enough defense for it.");
+ close;
+ }
+ mesn;
+ mesq l("Awful Yetis kidnapped my daughter, and brought her to the cave. Please save her!");
+ next;
+ mesn;
+ mesq l("Ah, but don't distress them if you can't save her! My precious daughter life is more important than anything!");
+ next;
+ mesn;
+ mesq l("I'll reward you and your friends in an appropriate way, but if you endanger her... Oh, my poor Cindy...");
+ next;
+ mesc l("[Quest Accepted]"), 1;
+ mesc l("Rescue Cindy from the Ice Labyrinth and the evil Yetis. This is a global, multiplayer quest."), 1;
+ channelmes("#world", strcharinfo(0) + " said to be brave enough to help Angela rescuing her daughter!");
+ setq NivalisQuest_Cindy, 1;
+ close;
+
OnInit:
.@npcId = getnpcid(0, .name$);