summaryrefslogtreecommitdiff
path: root/npc/merchants/inn.txt
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-20 05:43:48 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-20 05:43:48 +0000
commit36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988 (patch)
tree2f7c6bbdb283b98e36dca3e8344f861fc8f21a1f /npc/merchants/inn.txt
parent79ea710ca5facb2c20fae16d6107dfa16a0f22bc (diff)
downloadhercules-36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988.tar.gz
hercules-36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988.tar.bz2
hercules-36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988.tar.xz
hercules-36a3a6ea0a2f16329f9d6fba5bab1f5a0a9e9988.zip
fixed typos, added missing NEXT;, optimized Niflheim. Clear nif vars garbage
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8819 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/inn.txt')
-rw-r--r--npc/merchants/inn.txt19
1 files changed, 9 insertions, 10 deletions
diff --git a/npc/merchants/inn.txt b/npc/merchants/inn.txt
index bc86751e4..cf41d3a8c 100644
--- a/npc/merchants/inn.txt
+++ b/npc/merchants/inn.txt
@@ -107,23 +107,22 @@ function script F_InnMaid {
savepoint getarg(2),getarg(3),getarg(4);
close;
Mrent:
- if(Zeny < 5000) goto NoZeny;
mes getarg(0);
+ if(Zeny < 5000){
+ mes "I'm sorry, but the service charge";
+ mes "is 5,000 zeny. Please make sure";
+ mes "that you have enough money to check";
+ mes "in next time, okay?";
+ close;
+ }
+ set Zeny,Zeny - 5000;
+ percentheal 100,100;
mes "Thank you.";
mes "I hope you";
mes "enjoy your rest~";
close2;
- set Zeny,Zeny - 5000;
- percentheal 100,100;
return;
- NoZeny:
- mes getarg(0);
- mes "I'm sorry, but the service charge";
- mes "is 5,000 zeny. Please make sure";
- mes "that you have enough money to check";
- mes "in next time, okay?";
- close;
Mend:
mes getarg(0);
mes "I am waiting for a job to do.";