summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authorCoffee <coffee@coffee-EP45-UD3L.(none)>2011-07-07 21:07:29 -0300
committerCoffee <coffee@coffee-EP45-UD3L.(none)>2011-07-07 21:07:29 -0300
commita073a1cff3aa2350afa79d617f2a3bb969a93d9c (patch)
tree559e392735fc052ae2c8b0e8c97a11a35729d79d /world
parentb2753727cf6b5d004e3bee30afb530f0ca92dc1d (diff)
downloadserverdata-a073a1cff3aa2350afa79d617f2a3bb969a93d9c.tar.gz
serverdata-a073a1cff3aa2350afa79d617f2a3bb969a93d9c.tar.bz2
serverdata-a073a1cff3aa2350afa79d617f2a3bb969a93d9c.tar.xz
serverdata-a073a1cff3aa2350afa79d617f2a3bb969a93d9c.zip
Add an option to clauquer to show the players how many caves they eliminated.
Diffstat (limited to 'world')
-rw-r--r--world/map/npc/025-4/clauquer.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/world/map/npc/025-4/clauquer.txt b/world/map/npc/025-4/clauquer.txt
index a0e3f83d..c514bf48 100644
--- a/world/map/npc/025-4/clauquer.txt
+++ b/world/map/npc/025-4/clauquer.txt
@@ -57,15 +57,33 @@ L_End:
goto L_Advice;
L_Hmmm:
+ set @cleaned_caves, 0;
+ if (cavefights & BATTLE_CAVE1) set @cleaned_caves, @cleaned_caves + 1;
+ if (cavefights & BATTLE_CAVE2) set @cleaned_caves, @cleaned_caves + 1;
+ if (cavefights & BATTLE_CAVE3) set @cleaned_caves, @cleaned_caves + 1;
+ if (cavefights & BATTLE_CAVE4) set @cleaned_caves, @cleaned_caves + 1;
+ if (cavefights & BATTLE_CAVE5) set @cleaned_caves, @cleaned_caves + 1;
+ if (cavefights & BATTLE_CAVE6) set @cleaned_caves, @cleaned_caves + 1;
+ if (cavefights & BATTLE_CAVE7) set @cleaned_caves, @cleaned_caves + 1;
+ if (cavefights & BATTLE_CAVE8) set @cleaned_caves, @cleaned_caves + 1;
+ if (cavefights & BATTLE_CAVE9) set @cleaned_caves, @cleaned_caves + 1;
mes "[Clauquer]";
mes "\"You already know everything about these caves. You don't need me anymore to find the little girl.\"";
+ next;
menu
"But please, I really need your help!", -,
+ "Oh, so many caves! Do you know how many are still left?", L_Feedback,
"You're right, I don't need your help!", L_No;
next;
mes "\"Ok, if you insist... But I can only repeat what I already said.\"";
goto L_Advice;
+L_Feedback:
+ if (@cleaned_caves > 0 && @cleaned_caves < 9) mes "\"You are doing good... If I am right, you already eliminated " + @cleaned_caves + " of the 9 energy sources of the barrier that protects the cave in which Julia is hidden.\"";
+ if (@cleaned_caves == 9) mes "\"I am amazed... You eliminated all the 9 energy sources. Now is the difficult part. To save Julia, you need to eliminate the last and most powerful barrier. Good Luck!\"";
+ if (@cleaned_caves <= 0) mes "\"Well... You didn't eliminate any of the barriers, so that means there are still 9 caves and the tenth one, the strongest...\"";
+ close;
+
L_Huh:
mes "[Clauquer]";
mes "\"Why are you here? Get out.\"";