From ee9021406ff903f472e93a9be5367ddd82496f9e Mon Sep 17 00:00:00 2001 From: Playtester Date: Fri, 14 Apr 2006 20:23:55 +0000 Subject: 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6065 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/events/custom/npc_event_thesign.txt | 68 +++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 npc/events/custom/npc_event_thesign.txt (limited to 'npc/events/custom/npc_event_thesign.txt') diff --git a/npc/events/custom/npc_event_thesign.txt b/npc/events/custom/npc_event_thesign.txt new file mode 100644 index 000000000..8240a9627 --- /dev/null +++ b/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; +} -- cgit v1.2.3-70-g09d2