Pārlūkot izejas kodu

Added npc/events/custom/npc_event_thesign.txt a temporary way to enter Gefenia without doing The Sign quest.
For some Zeny you can activate the fountain.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6065 54d463be-8e91-2dee-dedb-b68131a5f0ec

Playtester 19 gadi atpakaļ
vecāks
revīzija
726443f346

+ 3 - 0
npc/Changelog.txt

@@ -27,6 +27,9 @@ Nexon
 
 Date		Added
 ======
+04/14
+	* Added a temporary script to enter Gefenia for some Zeny [Playtester]
+	- will be replaced once we have finished The Sign Quest
 04/13
 	* Finally added the missing Xmas spawns in Geffen Field [Playtester]
 	* Added a few missing warps in Lighthalzen, thanks to Kargha. [MasterOfMuppets]

+ 68 - 0
npc/events/custom/npc_event_thesign.txt

@@ -0,0 +1,68 @@
+//==============================================================================
+// Temporary The Sign Script [Playtester]
+//==============================================================================
+// Version 1.0
+//==============================================================================
+// How it works:
+// - to activate the fountain you need to have at least 1000000 Zeny
+// - if you throw 250000 Zeny into the fountain the path to Geffenia 
+//   will open for 30 seconds
+// - the requirements will later be replaced by "Finishing The Sign Quest"
+//==============================================================================
+// Special thanks to Dr.Evil, Tharis, Blaze
+//==============================================================================
+geffen.gat,119,56,0	script	#gefeniagate	139,{
+OnInit:
+	disablenpc "gefeniawarp";
+	end;
+On_Start:
+	misceffect 247;
+	initnpctimer;
+	end;
+OnTimer10000:
+	misceffect 247;
+	donpcevent "Fountain::On_Effect";
+	end;
+OnTimer20000:
+	misceffect 247;
+	donpcevent "Fountain::On_Effect";
+	end;
+OnTimer30000:
+	disablenpc "gefeniawarp";
+	mapannounce "geffen.gat","The gate to Geffenia has closed.",0;
+	stopnpctimer;
+	end;
+}
+
+geffen.gat,119,56,0	script	gefeniawarp	45,1,1{
+	set @warp,rand(4);
+	if (@warp==0) warp "gefenia01.gat",58,169;
+	if (@warp==1) warp "gefenia02.gat",116,115;
+	if (@warp==2) warp "gefenia03.gat",130,206;
+	if (@warp==3) warp "gefenia04.gat",133,88;
+	end;
+}
+
+geffen.gat,119,48,0	script	Fountain	111,{
+	mes "This is the";
+	mes "Geffen Fountain.";
+	if (Zeny >= 1000000) goto L_1;
+	close;
+L_1:
+	mes "The Zeny in your pocket begins to glow.";
+	mes "Do you want to throw ^FF0000250000 Zeny^000000 into the fountain?";
+	next;
+	menu "Yes",L_2,"No",-;
+	close;
+L_2:
+	mes "When you threw the money into the fountain a bright light appears.";
+	set Zeny, Zeny-250000;
+	enablenpc "gefeniawarp";
+	donpcevent "#gefeniagate::On_Start";
+	misceffect 247;
+	mapannounce "geffen.gat","With light, the gate to Geffenia opens.",0;
+	close;
+On_Effect:
+	misceffect 247;
+	end;
+}

+ 1 - 0
npc/scripts_athena.conf

@@ -149,6 +149,7 @@ npc: npc/kafras/kafras_new.txt
 //npc: npc/events/custom/uneasy_cemetery.txt
 //npc: npc/events/custom/draculax.txt
 //npc: npc/events/custom/event_gefenia.txt
+npc: npc/events/custom/npc_event_thesign.txt
 //npc: npc/events/custom/2006_dogs_year.txt
 //npc: npc/events/custom/valentinesdayexp.txt
 //| Poring track files