summaryrefslogtreecommitdiff
path: root/npc/other/mail.txt
diff options
context:
space:
mode:
authorog2 <og2@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-24 16:50:59 +0000
committerog2 <og2@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-24 16:50:59 +0000
commit3303e17bfc0b4fb90df3e3380b8adb56327b2b29 (patch)
tree1175d33ee85c6b9530f9d4a21642f8a9e0a5ebec /npc/other/mail.txt
parent84e37548b93c3364ee5c07c40d962ce15f7fef49 (diff)
downloadhercules-3303e17bfc0b4fb90df3e3380b8adb56327b2b29.tar.gz
hercules-3303e17bfc0b4fb90df3e3380b8adb56327b2b29.tar.bz2
hercules-3303e17bfc0b4fb90df3e3380b8adb56327b2b29.tar.xz
hercules-3303e17bfc0b4fb90df3e3380b8adb56327b2b29.zip
* Updated Mail.
* Fixed Waitroom MaxLevel from poring_war (bugreport:5262). * Added card_trader. * Added card_trader to scripts_athena (disabled by default). * Added MidCamp Warper/Ash-Vacuum from quest_13_1 (gogoash). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15514 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other/mail.txt')
-rw-r--r--npc/other/mail.txt46
1 files changed, 22 insertions, 24 deletions
diff --git a/npc/other/mail.txt b/npc/other/mail.txt
index 5909bd41f..24db40c71 100644
--- a/npc/other/mail.txt
+++ b/npc/other/mail.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.6
+//= 1.7
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
@@ -18,41 +18,39 @@
//= 1.4 Added a Mapflag to prevent mail operations in other maps [Zephyrus]
//= 1.5 Moved Morroc Mail boxes to Morroc Ruins. [L0ne_W0lf]
//= 1.6 Duplicates now spawn from floating NPCs. [L0ne_W0lf]
+//= 1.7 Updated Script from the Official. [Slim]
//============================================================
// Floating mailbox npc that all NPCs duplicate from.
//============================================================
- script Mailbox#dummy::MailBox -1,{
mes "[Mailbox]";
- mes "If you'd like to use";
- mes "the Mailbox Service,";
- mes "you must first pay";
- mes "the 130 zeny service fee.";
- mes "Would you like to use the";
- mes "mailbox now?";
+ mes "To use the mailbox service, you are required";
+ mes "to pay 130 zeny.";
+ mes "Would you like to use the service?";
next;
- if (select("Yes.:No.") == 1) {
+ switch(select("Yes.","No.")) {
+ case 1:
if (Zeny < 130) {
mes "[Mailbox]";
- mes "I am sorry, but would";
- mes "you please check your";
- mes "money again? You don't";
- mes "have enough zeny to pay";
- mes "the 130 zeny service fee.";
- close;
+ mes "I am sorry, but you do not have enough money.";
+ mes "To use the mailbox service, you are required";
+ mes "to pay 130 zeny.";
+ break;
+ } else {
+ mes "[Mailbox]";
+ mes "Thank you, please come again.";
+ set Zeny,(Zeny - 130);
+ openmail;
+ break;
}
+
+ case 2:
mes "[Mailbox]";
- mes "Thank you for your";
- mes "patronage. Please come";
- mes "again soon, and use our";
- mes "convenient Mailbox Service~";
- set Zeny,Zeny-130;
- openmail;
- close;
+ mes "Thank you, please come again.";
+ break;
}
- mes "[Mailbox]";
- mes "Thank you, please come again.";
- close;
+close;
}
// Prontera