[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Lighthalzen Airport Staff |
---|
| 3 | //===== By: ================================================== |
---|
| 4 | //= L0ne_W0lf, Muad_Dib |
---|
| 5 | //===== Current Version: ===================================== |
---|
| 6 | //= 1.3 |
---|
| 7 | //===== Compatible With: ===================================== |
---|
| 8 | //= eAthena Revision 3000+ |
---|
| 9 | //===== Description: ========================================= |
---|
| 10 | //= Lighthalzen Airport Staff |
---|
| 11 | //===== Additional Comments: ================================= |
---|
| 12 | //= 1.0 Cloned from einbroch.txt [Justin84] |
---|
| 13 | //= 1.1 Removed Duplicates [Silent] |
---|
| 14 | //= 1.2 Fixed syntax errors for duplicate [KarLaeda] |
---|
| 15 | //= 1.3 Removed use of goto. [L0ne_W0lf] |
---|
| 16 | //============================================================ |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | lhz_airport,126,43,4 script Airport Staff#1::AirportL 90,{ |
---|
| 20 | mes "[Airport Staff]"; |
---|
| 21 | mes "Welcome to the Airport."; |
---|
| 22 | mes "How may I help you?"; |
---|
| 23 | next; |
---|
| 24 | if (select("Board the Airship:Cancel") == 1) { |
---|
| 25 | mes "[Airport Staff]"; |
---|
| 26 | mes "The Airship boarding fee"; |
---|
| 27 | mes "is 1,200 zeny, but if you've"; |
---|
| 28 | mes "got a Free Ticket for Airship,"; |
---|
| 29 | mes "the fee will be waived. Will"; |
---|
| 30 | mes "you board the Airship?"; |
---|
| 31 | next; |
---|
| 32 | if (select("Yes:No") == 1) { |
---|
| 33 | if(countitem(7311) > 0) { |
---|
| 34 | delitem 7311,1; |
---|
| 35 | warp "lhz_airport",148,51; |
---|
| 36 | close; |
---|
| 37 | } |
---|
| 38 | if(zeny >= 1200) { |
---|
| 39 | set Zeny,zeny-1200; |
---|
| 40 | warp "lhz_airport",148,51; |
---|
| 41 | close; |
---|
| 42 | } |
---|
| 43 | mes "[Airport Staff]"; |
---|
| 44 | mes "You don't have enough zeny."; |
---|
| 45 | close; |
---|
| 46 | } |
---|
| 47 | } |
---|
| 48 | mes "[Airport Staff]"; |
---|
| 49 | mes "Thank you and"; |
---|
| 50 | mes "have a nice day."; |
---|
| 51 | close; |
---|
| 52 | } |
---|
| 53 | |
---|
| 54 | lhz_airport,143,43,4 duplicate(AirportL) Airport Staff#2 90 |
---|
| 55 | lhz_airport,156,43,4 duplicate(AirportL) Airport Staff#3 90 |
---|
| 56 | |
---|
| 57 | lhz_airport,126,51,4 script Airport Staff#4::AirportL2 90,{ |
---|
| 58 | mes "[Airport Staff]"; |
---|
| 59 | mes "Welcome~"; |
---|
| 60 | mes "Please head this"; |
---|
| 61 | mes "way to board the Airship."; |
---|
| 62 | next; |
---|
| 63 | if (select("Exit to Main Terminal:Cancel") == 1) { |
---|
| 64 | mes "[Airport Staff]"; |
---|
| 65 | mes "If you leave the"; |
---|
| 66 | mes "main terminal, you'll"; |
---|
| 67 | mes "have to pay the admission"; |
---|
| 68 | mes "fee again in order to board"; |
---|
| 69 | mes "the Airship. Are you sure"; |
---|
| 70 | mes "that you want to exit?"; |
---|
| 71 | next; |
---|
| 72 | if (select("Yes:No") == 1) { |
---|
| 73 | warp "lhz_airport",142,40; |
---|
| 74 | close; |
---|
| 75 | } |
---|
| 76 | } |
---|
| 77 | mes "[Airport Staff]"; |
---|
| 78 | mes "Alright, thank you"; |
---|
| 79 | mes "for your patronage"; |
---|
| 80 | mes "and I hope you have"; |
---|
| 81 | mes "a pleasant flight~"; |
---|
| 82 | close; |
---|
| 83 | } |
---|
| 84 | |
---|
| 85 | lhz_airport,143,51,4 duplicate(AirportL2) Airport Staff#5 90 |
---|
| 86 | lhz_airport,156,51,4 duplicate(AirportL2) Airport Staff#6 90 |
---|