From 18cb0abca5f55d1ef9ecda1ee6e22e388ea29aa2 Mon Sep 17 00:00:00 2001 From: MasterOfMuppets Date: Mon, 5 Jun 2006 23:51:46 +0000 Subject: Implemented an inn NPC in Einbroch. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6996 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/cities/einbroch.txt | 54 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) (limited to 'npc/cities/einbroch.txt') diff --git a/npc/cities/einbroch.txt b/npc/cities/einbroch.txt index 3d3fb36d7..f02fea7b8 100644 --- a/npc/cities/einbroch.txt +++ b/npc/cities/einbroch.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= Nexon //===== Current Version: ===================================== -//= 0.6 +//= 0.7 //===== Compatible With: ===================================== //= eAthena Revision 3000+ //===== Description: ========================================= @@ -17,6 +17,7 @@ //= 0.5 Added Temporal Locations of Gunslinger Job Change map. //= Info provided by RockmanEXE [erKURITA] //= 0.6 Implemented a crap quest [MasterOfMuppets] +//= 0.7 Implemented an inn NPC [MasterOfMuppets] //============================================================ @@ -1907,6 +1908,57 @@ s_Cooking: } +ein_in01.gat,206,224,2 script Hotel Employee 855,{ + + mes "[Hotel Employee]"; + mes "Good day, welcome to the"; + mes "Einbroch Hotel. The staff is"; + mes "always striving to accomodate"; + mes "our guests with the highest"; + mes "standards in cleanliness,"; + mes "service and convenience~"; + next; + menu "Save",s_Save,"Take Rest- 5,000 zeny",s_Rest,"Cancel",-; + + mes "[Hotel Employee]"; + mes "Thank you and"; + mes "please come again~"; + close; + +s_Save: + savepoint "ein_in01.gat",199,224; + mes "[Hotel Employee]"; + mes "Your Respawn Point"; + mes "has been saved here"; + mes "in the Einbroch Hotel."; + mes "Thank you, and please"; + mes "come again."; + next; + mes "[Hotel Employee]"; + mes "Have a good day."; + close; + +s_Rest: + if(Zeny < 5000)goto s_NEnoughZeny; + mes "[Hotel Employee]"; + mes "Thank you."; + mes "Please enjoy"; + mes "your rest~"; + close2; + set zeny,zeny - 5000; + warp "ein_in01.gat",272,167; + percentheal 100,100; + end; + +s_NEnoughZeny: + mes "[Hotel Employee]"; + mes "I'm sorry but"; + mes "you don't seem"; + mes "to have enough zeny."; + close; + +} + //| Temporal NPC locations until the text inside it has been obtained //que_ng.gat,182,85,2 script TempNPC0 109,{ -- cgit v1.2.3-60-g2f50