1 | //===== eAthena Script ======================================= |
---|
2 | //= Market Place |
---|
3 | //===== By =================================================== |
---|
4 | //= Lupus |
---|
5 | //===== Version ============================================== |
---|
6 | //= 1.0 |
---|
7 | //===== Compatible With ====================================== |
---|
8 | //= eAthena 5760+ |
---|
9 | //===== Description ========================================== |
---|
10 | //= This script should move vending crowds from Prontera |
---|
11 | //= streets to a suitable market place. Save your traffic 8) |
---|
12 | //===== Comments ============================================= |
---|
13 | // No comments yet |
---|
14 | //============================================================ |
---|
15 | |
---|
16 | |
---|
17 | prontera,144,174,3 script Market Place 722,{ |
---|
18 | mes"[Market Place]"; |
---|
19 | mes"Tristan III's order: ^FF0000Move all the private shops to a special Market Place^000000."; |
---|
20 | next; |
---|
21 | menu "Enter the Market",M_ENTER, "Cancel",-; |
---|
22 | close2; |
---|
23 | end; |
---|
24 | |
---|
25 | M_ENTER: |
---|
26 | if(rand(10)==0 && checkcart() && @mrketflg<30 && @mrketflg>5 && getcharid(2)>1) FlagEmblem getcharid(2); |
---|
27 | warp "gon_test",27+rand(5),98; |
---|
28 | set @mrketflg,@mrketflg+1; |
---|
29 | end; |
---|
30 | } |
---|
31 | |
---|
32 | gon_test,73,103,0 script MarketExit 45,1,2,{ |
---|
33 | warp "prontera",155,177-rand(10); |
---|
34 | end; |
---|
35 | } |
---|
36 | |
---|
37 | //disable vending in Prontera |
---|
38 | prontera mapflag novending |
---|
39 | prt_in mapflag novending |
---|
40 | //Market Place settings |
---|
41 | gon_test mapflag noteleport |
---|
42 | gon_test mapflag nomemo |
---|
43 | gon_test mapflag nobranch |
---|