You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
//===== rAthena Script =======================================
|
|
//= Hugel Airport NPCs
|
|
//===== By: ==================================================
|
|
//= rAthena Dev Team
|
|
//===== Current Version: =====================================
|
|
//= 1.0
|
|
//===== Compatible With: =====================================
|
|
//= rAthena Project
|
|
//===== Description: =========================================
|
|
//= Hugel Airport NPCs
|
|
//===== Additional Comments: =================================
|
|
//= 1.0 First version.
|
|
//============================================================
|
|
|
|
hugel,178,142,0 script toairplane#hugel 45,1,1,{
|
|
end;
|
|
OnTouch:
|
|
mes "To use the airship, you are required to pay 1,200 zeny or a Free Airship Ticket.";
|
|
mes "Would you like to use the service?";
|
|
next;
|
|
if (select("Yes:No") == 1) {
|
|
if (countitem(7311) > 0) {
|
|
delitem 7311,1; //Free_Flying_Ship_Ticket
|
|
warp "airplane",244,58;
|
|
end;
|
|
}
|
|
if (Zeny >= 1200) {
|
|
set Zeny, Zeny - 1200;
|
|
warp "airplane",244,58;
|
|
end;
|
|
}
|
|
mes "I am sorry, but you do not have enough money.";
|
|
mes "Please remember, you are required to pay 1,200 zeny to use the service.";
|
|
close;
|
|
}
|
|
mes "Thank you, please come again.";
|
|
close;
|
|
}
|