diff options
Diffstat (limited to 'npc/merchants/inn.txt')
-rw-r--r-- | npc/merchants/inn.txt | 48 |
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); |