summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/Changelog.txt1
-rw-r--r--npc/cities/einbroch.txt54
2 files changed, 54 insertions, 1 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index 3344e2068..441b8d56d 100644
--- a/npc/Changelog.txt
+++ b/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]
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,{