diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/Changelog.txt | 2 | ||||
-rw-r--r-- | npc/custom/market.txt | 43 | ||||
-rw-r--r-- | npc/scripts_custom.conf | 4 |
3 files changed, 48 insertions, 1 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt index c7d23aca5..68f634136 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -31,6 +31,8 @@ Evera Date Added
======
05/25
+ * Added a custom Market Place to clear Prontera streets from annoying shops. [Lupus]
+ 'novending' mapflag sample: Try it and adjust the script as you want.
* Optimized a bit scripted warps, got rid of 'anthell' perm var [Lupus]
05/24
* Removed Blue Potions from Yuno Shops [Playtester]
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
diff --git a/npc/scripts_custom.conf b/npc/scripts_custom.conf index 843e99113..88002b121 100644 --- a/npc/scripts_custom.conf +++ b/npc/scripts_custom.conf @@ -125,4 +125,6 @@ npc: npc/custom/adoption.txt //Nice Custom thanatos Tower Statues Quest
//npc: npc/custom/quests/tha_statues.txt
// -- A quest for Jewel Case for 99 Level Players of any 2nd Class
-//npc: npc/custom/quests/lvl99_quest.txt
\ No newline at end of file +//npc: npc/custom/quests/lvl99_quest.txt
+// Disable shops in the Prontera streets and open a special market place.
+//npc/custom/market.txt
\ No newline at end of file |