summaryrefslogtreecommitdiff
path: root/npc/merchants/inn.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-05-21 01:30:36 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-05-21 01:30:36 +0000
commitb9b818487cda10dc0f6faf1816439dbb4ff169b1 (patch)
treeb3f7522627620945d9b9a2fa505c9e12cac11dc5 /npc/merchants/inn.txt
parentf4278f36db32f35e535a0ea8feb1cf83ca95019e (diff)
downloadhercules-b9b818487cda10dc0f6faf1816439dbb4ff169b1.tar.gz
hercules-b9b818487cda10dc0f6faf1816439dbb4ff169b1.tar.bz2
hercules-b9b818487cda10dc0f6faf1816439dbb4ff169b1.tar.xz
hercules-b9b818487cda10dc0f6faf1816439dbb4ff169b1.zip
Added some Brasilis basic NPCs.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14299 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/inn.txt')
-rw-r--r--npc/merchants/inn.txt48
1 files changed, 47 insertions, 1 deletions
diff --git a/npc/merchants/inn.txt b/npc/merchants/inn.txt
index 51c77d4bc..f05d390f5 100644
--- a/npc/merchants/inn.txt
+++ b/npc/merchants/inn.txt
@@ -4,7 +4,7 @@
//= Darkchild (1.1)
//= Playtester (1.2)
//===== Current Version: =====================================
-//= 2.9
+//= 3.0
//===== Compatible With: =====================================
//= eAthena 1.0+
//===== Description: =========================================
@@ -44,6 +44,7 @@
//= 2.7 Removed Morroc Inns as per episode 12.1. [L0ne_W0lf]
//= 2.8 Removed Moscovia Inn; Its in quests/quest_moscovia.txt [Kisuka]
//= 2.9 Added switch menus, updated to match AEGIS scripts. [Kisuka]
+//= 3.0 Added Brasilis inn receptionist. [L0ne_W0lf]
//============================================================
@@ -195,6 +196,7 @@ ve_in,157,219,5 script Inn Master#Receptionist 709,{
set Zeny,Zeny - 5000;
percentheal 100,100;
warp "ve_in",184,228;
+ end;
case 3:
mes "[Inn Master]";
mes "Please come again.";
@@ -202,6 +204,50 @@ ve_in,157,219,5 script Inn Master#Receptionist 709,{
}
}
+//======================== Brasilis =================================
+bra_in01,27,24,3 script Receptionist#bra 478,{
+ mes "[Receptionist]";
+ mes "Welcome to the 'Happy Toucan' Inn,";
+ mes "we have everything to make you feel at home.";
+ next;
+ switch(select("Save:Take Rest - 5,000 zeny:Cancel")) {
+ case 1:
+ mes "[Receptionist]";
+ mes "Would you like me to save your respawn point here?";
+ next;
+ switch(select("No, thanks.:Sure!")) {
+ case 1:
+ mes "[Receptionist]";
+ mes "Alright, please come back if you change your mind.";
+ close;
+ case 2:
+ savepoint "bra_in01",143,68;
+ mes "[Receptionist]";
+ mes "Your respawn point has been saved.";
+ mes "Enjoy your stay in Brasilius and don't forget to check our natural beauties.";
+ close;
+ }
+ case 2:
+ if (Zeny < 5000) {
+ mes "[Receptionist]";
+ mes "I'm sorry, but the service charge is 5,000 zeny.";
+ mes "Please make sure that you have enough money to check in next time, okay?";
+ close;
+ }
+ else {
+ mes "[Receptionist]";
+ mes "I'll take you to your room.";
+ close2;
+ set zeny,zeny-5000;
+ percentheal 100,100;
+ warp "bra_in01",144,69;
+ end;
+ }
+ case 3:
+ close;
+ }
+}
+
//======================= Inn Function ==============================
function script F_InnMaid {
mes getarg(0);