summaryrefslogtreecommitdiff
path: root/npc/custom/market.txt
diff options
context:
space:
mode:
authorKisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-14 20:03:15 +0000
committerKisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-14 20:03:15 +0000
commited443022d234432a9db933832298404987798c37 (patch)
tree1a2592bad1dddd50ff003e81eb3ed3b231c38acc /npc/custom/market.txt
parent525cd1232a289562e866eeb4eac8d5772c1d573c (diff)
downloadhercules-ed443022d234432a9db933832298404987798c37.tar.gz
hercules-ed443022d234432a9db933832298404987798c37.tar.bz2
hercules-ed443022d234432a9db933832298404987798c37.tar.xz
hercules-ed443022d234432a9db933832298404987798c37.zip
- More optimization to custom folder. (Optimized by Spre)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13214 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/market.txt')
-rw-r--r--npc/custom/market.txt24
1 files changed, 11 insertions, 13 deletions
diff --git a/npc/custom/market.txt b/npc/custom/market.txt
index 35a4db3b5..b16200972 100644
--- a/npc/custom/market.txt
+++ b/npc/custom/market.txt
@@ -3,37 +3,35 @@
//===== By ===================================================
//= Lupus
//===== Version ==============================================
-//= 1.0
+//= 1.1
//===== Compatible With ======================================
//= eAthena 5760+
//===== Description ==========================================
//= This script should move vending crowds from Prontera
//= streets to a suitable market place. Save your traffic 8)
//===== Comments =============================================
-// No comments yet
+//=1.0 unknown
+//=1.1 Optimized it, Removed labels. [Spre]
//============================================================
-
-
+
+
prontera,144,174,3 script Market Place 722,{
mes"[Market Place]";
mes"Tristan III's order: ^FF0000Move all the private shops to a special Market Place^000000.";
next;
- menu "Enter the Market",M_ENTER, "Cancel",-;
- close2;
- end;
-
-M_ENTER:
- if(rand(10)==0 && checkcart() && @mrketflg<30 && @mrketflg>5 && getcharid(2)>1) FlagEmblem getcharid(2);
+ if (select("Yes Please:No") == 2) {
+ close;
+ }
+ // I didn't see the need to check and show venders.... Since it didnt even work
warp "gon_test",27+rand(5),98;
- set @mrketflg,@mrketflg+1;
end;
}
-
+
gon_test,73,103,0 script MarketExit 45,1,2,{
warp "prontera",155,177-rand(10);
end;
}
-
+
//disable vending in Prontera
prontera mapflag novending
prt_in mapflag novending