Sfoglia il codice sorgente

Implemented an inn NPC in Einbroch.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6996 54d463be-8e91-2dee-dedb-b68131a5f0ec
MasterOfMuppets 19 anni fa
parent
commit
b4e2622d3f
2 ha cambiato i file con 54 aggiunte e 1 eliminazioni
  1. 1 0
      npc/Changelog.txt
  2. 53 1
      npc/cities/einbroch.txt

+ 1 - 0
npc/Changelog.txt

@@ -32,6 +32,7 @@ Evera
 Date		Added
 ======
 06/05
+	* Implemented an inn NPC in Einbroch [MasterOfMuppets]
 	* Fixed some typos in Lighthalzen [Playtester]
 06/03
 	* Implemented some more airship NPCs, more are to come. [MasterOfMuppets]

+ 53 - 1
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,{