summaryrefslogtreecommitdiff
path: root/npc/custom/quests/jewel_case.txt
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-16 22:51:54 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-16 22:51:54 +0000
commit1127771e46133a1d3051fcc7e41000f394120c30 (patch)
tree60456f1017fa2766bf84738ac2ad49122a8ff0a6 /npc/custom/quests/jewel_case.txt
parent746a803671be0dc9aad418333f87bdf51ee65800 (diff)
downloadhercules-1127771e46133a1d3051fcc7e41000f394120c30.tar.gz
hercules-1127771e46133a1d3051fcc7e41000f394120c30.tar.bz2
hercules-1127771e46133a1d3051fcc7e41000f394120c30.tar.xz
hercules-1127771e46133a1d3051fcc7e41000f394120c30.zip
> Reorganization:
* Cleaned up "Custom Scripts" configuration file (scripts_custom.conf) * Moved "Event King Items" scripts from events to quests (custom\quests\kings_items.txt) * Moved "p_track" from events to etc (custom\etc\p_track.txt) * Renamed "lvl99_quest" to "jewel_case" for easier identification (custom\quests\jewel_case.txt) * Deleted "2006_dogs_year" event script (pointless and incomplete) > Script changes: * Cleaned/standardized "Valentine Event Script" (events\valentinesday.txt) * Cleaned "Slotted Sunglasses Quest" (custom\quests\sunglasses.txt) * Optimized "Lord Kaho's Horns Quest" (custom\quests\kahohorn.txt) * Cleaned and optimized "Balmung & Lord Kaho's Horns Quest" (custom\quests\kaho_balmung.txt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16313 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/quests/jewel_case.txt')
-rw-r--r--npc/custom/quests/jewel_case.txt66
1 files changed, 66 insertions, 0 deletions
diff --git a/npc/custom/quests/jewel_case.txt b/npc/custom/quests/jewel_case.txt
new file mode 100644
index 000000000..dfa52bdf6
--- /dev/null
+++ b/npc/custom/quests/jewel_case.txt
@@ -0,0 +1,66 @@
+//===== rAthena Script =======================================
+//= Jewel Case Quest
+//===== By: ==================================================
+//= Lupus
+//===== Current Version: =====================================
+//= 1.0
+//===== Compatible With: =====================================
+//= rAthena SVN
+//===== Description: =========================================
+//= A quest for players at base level 99,
+//= with Jewel Case as a reward.
+//===== Additional Comments: =================================
+//=
+//============================================================
+
+lighthalzen,108,229,2 script La Fenn 766,{
+ mes "[La Fenn]";
+ if(BaseLevel<99) {
+ if(Q_99LVL) {
+ mes "You... You got younger!!! But you are defenitely YOU!";
+ mes "I couldn't think you were able to meet my condition...";
+ emotion e_hmm;
+ next;
+ mes "[La Fenn]";
+ mes "Here is your prize. It's yours for good.";
+ set Q_99LVL,0;
+ getitem 12106,1; //Jewel Case
+ emotion e_grat;
+ } else {
+ mes callfunc("F_Hi");
+ mes "...";
+ emotion e_yawn;
+ next;
+ mes "[La Fenn]";
+ mes "I've got a riddle for a strong man of 2nd Class and 99 Base Level.";
+ mes "*Yawn* If you meet some, please tell them about my riddle.";
+ }
+ close;
+ }
+ if(BaseLevel==99 && Upper==0) {
+ if(Q_99LVL) {
+ mes "Now go forth and get younger!";
+ mes "If you solve my riddle, then I'll give you a magical Jewel Case with a rare accessory.";
+ } else {
+ mes callfunc("F_Hi")+" The Hero!";
+ if(BaseExp<1000000) {
+ mes "Now you're strong.";
+ mes "But... not quite strong for my riddle.";
+ if(rand(2)) {
+ mes "Kill "+((1000000-BaseExp)/3765+1)+" more Seals and return.";
+ } else {
+ mes "Kill "+((1000000-BaseExp)/81+1)+" more Poporings and come back.";
+ }
+ } else {
+ mes "Now you're REALLY strong.";
+ mes "And if you get younger than now I'll give you my treasure.";
+ set Q_99LVL,1;
+ emotion e_no1;
+ }
+ }
+ close;
+ }
+ emotion e_hmm;
+ mes "...";
+ close;
+}