summaryrefslogtreecommitdiff
path: root/npc/cities
diff options
context:
space:
mode:
Diffstat (limited to 'npc/cities')
-rw-r--r--npc/cities/einbroch.txt54
1 files changed, 53 insertions, 1 deletions
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,{