[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Einbroch Airport Staff |
---|
| 3 | //===== By: ================================================== |
---|
| 4 | //= L0ne_W0lf, Muad_Dib |
---|
| 5 | //===== Current Version: ===================================== |
---|
| 6 | //= 1.4 |
---|
| 7 | //===== Compatible With: ===================================== |
---|
| 8 | //= eAthena Revision 3000+ |
---|
| 9 | //===== Description: ========================================= |
---|
| 10 | //= Einbroch Airport Staff |
---|
| 11 | //===== Additional Comments: ================================= |
---|
| 12 | //= Converted by Dr.Evil, 1.0b more typos and credits [Lupus] |
---|
| 13 | //= 1.1 Fixed wrong check, added extra condition [Justin84] |
---|
| 14 | //= 1.2 Removed Duplicates [Silent] |
---|
| 15 | //= 1.3 Fixed syntax errors for duplicate [KarLaeda] |
---|
| 16 | //= 1.4 Removed use of goto. [L0ne_W0lf] |
---|
| 17 | //============================================================ |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | airport,126,43,4 script Airport Staff#01::AirportE 90,{ |
---|
| 21 | mes "[Airport Staff]"; |
---|
| 22 | mes "Welcome to the Airport."; |
---|
| 23 | mes "How may I help you?"; |
---|
| 24 | next; |
---|
| 25 | if (select("Board the Airship:Cancel") == 1) { |
---|
| 26 | mes "[Airport Staff]"; |
---|
| 27 | mes "The Airship boarding fee"; |
---|
| 28 | mes "is 1,200 zeny, but if you've"; |
---|
| 29 | mes "got a Free Ticket for Airship,"; |
---|
| 30 | mes "the fee will be waived. Will"; |
---|
| 31 | mes "you board the Airship?"; |
---|
| 32 | next; |
---|
| 33 | if (select("Yes:No") == 1) { |
---|
| 34 | if(countitem(7311) > 0) { |
---|
| 35 | delitem 7311,1; |
---|
| 36 | warp "airport",148,51; |
---|
| 37 | close; |
---|
| 38 | } |
---|
| 39 | if(Zeny >= 1200) { |
---|
| 40 | set Zeny, Zeny - 1200; |
---|
| 41 | warp "airport",148,51; |
---|
| 42 | close; |
---|
| 43 | } |
---|
| 44 | mes "[Airport Staff]"; |
---|
| 45 | mes "You don't have enough zeny."; |
---|
| 46 | close; |
---|
| 47 | } |
---|
| 48 | } |
---|
| 49 | mes "[Airport Staff]"; |
---|
| 50 | mes "Thank you and"; |
---|
| 51 | mes "have a nice day."; |
---|
| 52 | close; |
---|
| 53 | } |
---|
| 54 | |
---|
| 55 | airport,143,43,4 duplicate(AirportE) Airport Staff#02 90 |
---|
| 56 | airport,156,43,4 duplicate(AirportE) Airport Staff#03 90 |
---|
| 57 | |
---|
| 58 | airport,126,51,4 script Airport Staff#04::AirportE2 90,{ |
---|
| 59 | mes "[Airport Staff]"; |
---|
| 60 | mes "Welcome~"; |
---|
| 61 | mes "Please head this"; |
---|
| 62 | mes "way to board the Airship."; |
---|
| 63 | next; |
---|
| 64 | if (select("Exit to Main Terminal:Cancel") == 1) { |
---|
| 65 | mes "[Airport Staff]"; |
---|
| 66 | mes "If you leave the"; |
---|
| 67 | mes "main terminal, you'll"; |
---|
| 68 | mes "have to pay the admission"; |
---|
| 69 | mes "fee again in order to board"; |
---|
| 70 | mes "the Airship. Are you sure"; |
---|
| 71 | mes "that you want to exit?"; |
---|
| 72 | next; |
---|
| 73 | if (select("Yes:No") == 1) { |
---|
| 74 | warp "airport",142,40; |
---|
| 75 | close; |
---|
| 76 | } |
---|
| 77 | } |
---|
| 78 | mes "[Airport Staff]"; |
---|
| 79 | mes "Alright, thank you"; |
---|
| 80 | mes "for your patronage"; |
---|
| 81 | mes "and I hope you have"; |
---|
| 82 | mes "a pleasant flight~"; |
---|
| 83 | close; |
---|
| 84 | } |
---|
| 85 | |
---|
| 86 | airport,143,51,4 duplicate(AirportE2) Airport Staff#05 90 |
---|
| 87 | airport,156,51,4 duplicate(AirportE2) Airport Staff#06 90 |
---|
| 88 | |
---|
| 89 | einbroch,94,267,4 script Airship Staff#07 91,{ |
---|
| 90 | mes "[Airship Staff]"; |
---|
| 91 | mes "Welcome to the"; |
---|
| 92 | mes "Einbroch Airport."; |
---|
| 93 | mes "Please use this door to"; |
---|
| 94 | mes "board the Airship wich stops"; |
---|
| 95 | mes "over Lighthalzen and Juno in"; |
---|
| 96 | mes "the Schwarzwald Republic"; |
---|
| 97 | next; |
---|
| 98 | mes "[Airship Staff]"; |
---|
| 99 | mes "Otherwise, if Einbroch is"; |
---|
| 100 | mes "your intended destination,"; |
---|
| 101 | mes "please head down the stairs"; |
---|
| 102 | mes "and ask the Arrival Staff to lead"; |
---|
| 103 | mes "you to the main terminal. Thank"; |
---|
| 104 | mes "you, and enjoy your travels."; |
---|
| 105 | close; |
---|
| 106 | } |
---|