diff options
author | Playtester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-09 19:13:24 +0000 |
---|---|---|
committer | Playtester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-09 19:13:24 +0000 |
commit | e802ccf43c8588cc12a54b87bcfcbf8cbe1b4b92 (patch) | |
tree | e53ab2aeaf2ff5e0511f7e5b0f191210829cea2f | |
parent | 67e8d17feb8e5562b357909d70c627813e825b2b (diff) | |
download | hercules-e802ccf43c8588cc12a54b87bcfcbf8cbe1b4b92.tar.gz hercules-e802ccf43c8588cc12a54b87bcfcbf8cbe1b4b92.tar.bz2 hercules-e802ccf43c8588cc12a54b87bcfcbf8cbe1b4b92.tar.xz hercules-e802ccf43c8588cc12a54b87bcfcbf8cbe1b4b92.zip |
Semi-official version of Rachel Sanctuary entrance
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10197 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | npc/Changelog.txt | 2 | ||||
-rw-r--r-- | npc/quest_variables.txt | 5 | ||||
-rw-r--r-- | npc/quests/quests_rachel.txt | 96 | ||||
-rw-r--r-- | npc/scripts_athena.conf | 1 | ||||
-rw-r--r-- | npc/warps/cities/rachel.txt | 16 |
5 files changed, 104 insertions, 16 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt index 6558b7e65..abc92c099 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -1,5 +1,7 @@ Date Added ====== +2007/04/10 + * Semi-official version of Rachel Sanctuary entrance [Playtester] 2007/04/07 * More cleanups in The Sign Quest [Lupus] 2007/04/05 diff --git a/npc/quest_variables.txt b/npc/quest_variables.txt index cc36a5533..1f2270dc1 100644 --- a/npc/quest_variables.txt +++ b/npc/quest_variables.txt @@ -89,6 +89,11 @@ Info: Ninja Job Room, Basshu How to set: set MISC_QUEST,MISC_QUEST | 4096; How to check: if(MISC_QUEST & 4096){} +Quest: Rachel Sanctuary Quest +Info: Gained access to Rachel Santuary (yes/no) +How to set: set MISC_QUEST,MISC_QUEST | 8192; +How to check: if(MISC_QUEST & 8192){} + -------------------------------------------------------------- Variable: MISC_QUEST2 diff --git a/npc/quests/quests_rachel.txt b/npc/quests/quests_rachel.txt new file mode 100644 index 000000000..c5255e98a --- /dev/null +++ b/npc/quests/quests_rachel.txt @@ -0,0 +1,96 @@ +//===== eAthena Script =======================================
+//= Quest NPCs related to Rachel
+//===== By: ==================================================
+//= Playtester
+//===== Current Version: =====================================
+//= 1.0
+//===== Compatible With: =====================================
+//= eAthena svn
+//===== Description: =========================================
+//= Rachel Santuary Quest
+//===== Additional Comments: =================================
+//= 1.0 Added semi-official Rachel Santuary Quest [Playtester]
+//============================================================
+
+//////////////////////////////////////////////////////////////
+// Rachel Sanctuary Quest //
+// //
+//It's all in one NPC for now because I don't know location //
+//and sprite ids of related NPCs. - Playtester //
+//////////////////////////////////////////////////////////////
+ra_temin,276,326,0 script Statue#Rachel 111,{
+
+ if($rachel_donate < 10000){
+ mes "-A sign on the statue reads-";
+ mes "Please donate ^FF000050,000 Zeny^000000 to our holy goddess.";
+ mes "There have been "+$rachel_donate+" donations already.";
+ next;
+ if(select("Don't donate.:Donate.") == 1){
+ mes "-You decided not to donate-";
+ close;
+ }else{
+ if(Zeny >= 50000){
+ set Zeny,Zeny-50000;
+ mes "-You can hear a voice-";
+ mes "May the goddess bless you.";
+ set .@bonus_donate,rand(1000);
+ if(.@bonus_donate < 400) getitem 545,1; //Red Condensed 40%
+ else if(.@bonus_donate >= 400 && .@bonus_donate < 700) getitem 546,1; //Yellow Condensed 30%
+ else if(.@bonus_donate >= 700 && .@bonus_donate < 900) getitem 547,1; //White Condensed 20%
+ else if(.@bonus_donate >= 900 && .@bonus_donate < 950) getitem 518,1; //Honey 5%
+ else if(.@bonus_donate >= 950 && .@bonus_donate < 970) getitem 526,1; //Royal Jelly 2%
+ else if(.@bonus_donate >= 970 && .@bonus_donate < 980) getitem 608,1; //Yggdrasil Seed 1%
+ else if(.@bonus_donate >= 980 && .@bonus_donate < 990) getitem 644,1; //Gift Box 1%
+ else if(.@bonus_donate >= 990 && .@bonus_donate < 995) getitem 607,1; //Yggdrasil Berry 0.5%
+ else if(.@bonus_donate >= 995 && .@bonus_donate < 1000) getitem 603,1; //Old Blue Box 0.5%
+ set $rachel_donate,$rachel_donate+1;
+ close;
+ }
+ else{
+ mes "-You want to donate-";
+ mes "-But you don't have enough zeny-";
+ close;
+ }
+ }
+ }
+ if(!(MISC_QUEST & 8192)){
+ mes "-You can hear a voice-";
+ next;
+ mes "[Voice]";
+ mes "The gates to Rachel Sanctuary have opened.";
+ mes "Bring me ^0000FF40 Ice Hearts^000000, ^FF00001 Candy^000000 and ^FF000020 Firecrackers^000000 and I'll allow you to enter.";
+ next;
+ if(select("Do nothing.:Hand over the items.") == 1){
+ mes "[Voice]";
+ mes "I won't grant you access to Rachel Sanctuary.";
+ close;
+ }else{
+ if(countitem(7561) < 40 || countitem(529) < 1 || countitem(12018) < 20){
+ mes "[Voice]";
+ mes "You don't have enough items.";
+ mes "I won't grant you access to Rachel Sanctuary.";
+ close;
+ }
+ delitem 7561,40; //Ice Hearts
+ delitem 529,1; //Candy
+ delitem 12018,20; //Firecrackers
+ mes "[Voice]";
+ mes "Very well. I shall grant you access to Rachel Sanctuary.";
+ set MISC_QUEST,MISC_QUEST | 8192;
+ close;
+ }
+ }
+ mes "[Voice]";
+ mes "Oh it's you my blessed child.";
+ mes "Do you want to enter Rachel Sanctuary?";
+ next;
+ if(select("No.", "Yes.") == 2){
+ mes "-The door to Rachel Sanctuary opens-";
+ close2;
+ warp "ra_san01",139,14;
+ end;
+ }
+ mes "[Voice]";
+ mes "I see, come back when you need my help.";
+ close;
+}
diff --git a/npc/scripts_athena.conf b/npc/scripts_athena.conf index 4666d57e0..24cf35d86 100644 --- a/npc/scripts_athena.conf +++ b/npc/scripts_athena.conf @@ -81,6 +81,7 @@ npc: npc/quests/quests_morocc.txt npc: npc/quests/quests_niflheim.txt npc: npc/quests/quests_payon.txt npc: npc/quests/quests_prontera.txt +npc: npc/quests/quests_rachel.txt npc: npc/quests/quests_umbala.txt npc: npc/quests/quests_yuno.txt npc: npc/quests/mrsmile.txt diff --git a/npc/warps/cities/rachel.txt b/npc/warps/cities/rachel.txt index dd9c1621f..6aff38dba 100644 --- a/npc/warps/cities/rachel.txt +++ b/npc/warps/cities/rachel.txt @@ -67,21 +67,6 @@ ra_temin,312,252,0 warp rachel006 1,1,ra_temin,206,88 ra_temin,130,93,0 warp rachel007 1,1,ra_temin,238,257 ra_temin,238,252,0 warp rachel008 1,1,ra_temin,130,88 -ra_temin,276,326,0 script Statue#Rachel 111,{ - mes "Do you want to enter Rachel Sanctuary?"; - mes "Please donate ^FF000050000 Zeny^000000 to enter."; - next; - if(select("Yes", "No") == 1){ - if(Zeny >= 50000){ - set Zeny,Zeny-50000; - close2; - warp "ra_san01",139,14; - end; - } - } - close; -} - //== WEAPON SHOP ========================== //rachel,42,108,0 warp ra_in001 2,2,ra_in01,171,389 //ra_in01,171,393,0 warp ra_in001a 2,2,rachel,41,112 @@ -110,7 +95,6 @@ ra_temin,276,326,0 script Statue#Rachel 111,{ //ra_in01,297,58,0 warp ra_in011 2,2,ra_in01,340,117 //ra_in01,338,120,0 warp ra_in011a 2,2,ra_in01,297,62 - //== HOUSES =============================== rachel,57,259,0 warp ra_in012 2,2,ra_in01,295,350 ra_in01,295,346,0 warp ra_in012a 2,2,rachel,57,254 |