summaryrefslogtreecommitdiff
path: root/npc/custom
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-25 16:26:17 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-25 16:26:17 +0000
commit59b77fd300765595d6fbf5333cc541f40c2f0cae (patch)
tree0df1df80b728f6cb89b16c4763d3a11007130e58 /npc/custom
parent173a79cfb2cbba5e7b369e1349c0b1d1618b7ab6 (diff)
downloadhercules-59b77fd300765595d6fbf5333cc541f40c2f0cae.tar.gz
hercules-59b77fd300765595d6fbf5333cc541f40c2f0cae.tar.bz2
hercules-59b77fd300765595d6fbf5333cc541f40c2f0cae.tar.xz
hercules-59b77fd300765595d6fbf5333cc541f40c2f0cae.zip
added noVending mapflag. Tested. + custom Market Place NPC, fixed MSG strings
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6755 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom')
-rw-r--r--npc/custom/market.txt43
1 files changed, 43 insertions, 0 deletions
diff --git a/npc/custom/market.txt b/npc/custom/market.txt
new file mode 100644
index 000000000..7cf84bb62
--- /dev/null
+++ b/npc/custom/market.txt
@@ -0,0 +1,43 @@
+//===== Athena Script =======================================
+//= Market Place
+//===== By ================================================
+//= Lupus
+//===== Version ===========================================
+//= 1.0
+//===== 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
+//=========================================================
+
+
+prontera.gat,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(0) && @mrketflg<30 && @mrketflg>5 && getcharid(2)>1) FlagEmblem getcharid(2);
+ warp "gon_test",27+rand(5),98;
+ set @mrketflg,@mrketflg+1;
+ end;
+}
+
+gon_test,73,103,0 script MarketExit 45,1,2,{
+ warp "prontera.gat",155,177-rand(10);
+ end;
+}
+
+//disable vending in Prontera
+prontera.gat mapflag novending
+prt_in.gat mapflag novending
+//Market Place settings
+gon_test mapflag noteleport
+gon_test mapflag nomemo
+gon_test mapflag nobranch