diff options
Diffstat (limited to 'npc/quests/quests_niflheim.txt')
-rw-r--r-- | npc/quests/quests_niflheim.txt | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/npc/quests/quests_niflheim.txt b/npc/quests/quests_niflheim.txt index e5e95c6a1..94bf2d25e 100644 --- a/npc/quests/quests_niflheim.txt +++ b/npc/quests/quests_niflheim.txt @@ -1,32 +1,33 @@ //===== Hercules Script ====================================== //= Quest NPCs related to Niflheim -//===== By: ================================================== +//===== By: ================================================== //= The rAthena Dev Team -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= -//= [Aegis Conversion] +//===== Current Version: ===================================== +//= 1.6 +//===== Description: ========================================= +//= [Official Conversion] //= Piano Key Ouest //= - Escape from Niflheim //= - Variables in use: nif_esc, MISC_QUEST (Bit 32) //= Message Delivery Quest //= - Deliver a message to Erious' departed wife. //= - Variables in use: nif_revive, MISC_QUEST (Bit 16384) -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 Initial release, moved Book of Devil and Piano quest -//= from npc/cities/niflheim.txt [Evera] +//= from npc/cities/niflheim.txt [Evera] //= 1.1 Optimized Book of Devil quest. used bit-wise var, -//= Optimized Piano Quest - now uses 1 variable [Lupus] +//= Optimized Piano Quest - now uses 1 variable [Lupus] //= 1.2 Fixed bad NPC header data to comply with rev. 11603. [L0ne_W0lf] //= 1.3 Moved the Book of Devil quest to custom folder. [L0ne_W0lf] -//= Updated to Aegis 10.3 Standed, added Message Delivery Quest. -//= Rescripted Piano Quest. Prior quest progress will be lost. +//= Updated to Aegis 10.3 Standed, added Message Delivery Quest. +//= Rescripted Piano Quest. Prior quest progress will be lost. //= 1.4 Fixed NPCs using ID 111 when it shoudl have been 139. [L0ne_W0lf] //= 1.5 Swapped NPC IDs back from last change (139 back to 111). [L0ne_W0lf] //= Clicking will do nothing, you have to still "touch" the npc. -//============================================================ +//= 1.6 Added questlog support. [Euphy] +//============================================================ -// Piano Quest +// Piano Quest :: nif_ryu //============================================================ niflheim,224,243,3 script Alreg#nif 795,{ if (nif_piano) set nif_piano,0; @@ -292,7 +293,7 @@ nif_in,188,168,3 script Witch#nif 792,{ end; } -// Message Delivery Quest +// Message Delivery Quest :: nif_npc_lackee //============================================================ prt_in,161,20,3 script Erious#nif 92,{ if (MISC_QUEST & 16384) { @@ -353,6 +354,7 @@ prt_in,161,20,3 script Erious#nif 92,{ mes "Thank you for your help,"; mes "and please take care."; set nif_revive,1; + setquest 11038; close; } mes "[Erious]"; @@ -432,6 +434,7 @@ prt_in,161,20,3 script Erious#nif 92,{ if (checkweight(610,26)) { set MISC_QUEST,MISC_QUEST | 16384; set nif_revive,0; + completequest 11043; getitem 607,2; //Yggdrasilberry getitem 608,2; //Seed_Of_Yggdrasil getitem 610,10; //Leaf_Of_Yggdrasil @@ -476,6 +479,7 @@ prt_in,161,20,3 script Erious#nif 92,{ if (checkweight(610,10)) { set MISC_QUEST,MISC_QUEST | 16384; set nif_revive,0; + completequest 11042; getitem 610,10; //Leaf_Of_Yggdrasil mes "[Erious]"; mes "Thank you for everything."; @@ -539,6 +543,7 @@ umbala,215,181,3 script Billik 733,{ mes "for him. That way, he'll know for"; mes "sure that I've sent you."; set nif_revive,2; + changequest 11038,11039; next; mes "[Billik]"; mes "The town of the dead is located"; @@ -598,6 +603,7 @@ niflheim,153,215,3 script Feylin 794,{ mes "you go back to where you came"; mes "from before it's too late."; set nif_revive,3; + changequest 11039,11040; close; } else if (nif_revive == 3) { @@ -621,6 +627,7 @@ niflheim,153,215,3 script Feylin 794,{ mes "you. Besides, speaking about"; mes "such things is taboo."; set nif_revive,4; + changequest 11040,11041; close; } mes "[Feylin]"; @@ -675,6 +682,7 @@ niflheim,153,215,3 script Feylin 794,{ delitem 748,1; //Witherless_Rose delitem 610,10; //Leaf_Of_Yggdrasil set nif_revive,5; + changequest 11041,11042; percentheal -99,0; next; mes "[Feylin]"; @@ -718,6 +726,7 @@ niflheim,153,215,3 script Feylin 794,{ mes "with someone else. Oh, also let"; mes "him know that I forgive him."; set nif_revive,6; + changequest 11040,11043; getitem 934,1; //Mementos next; mes "[Elly]"; |