summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/001-1/_mobs.txt2
-rw-r--r--world/map/npc/001-2/_mobs.txt2
-rw-r--r--world/map/npc/001-3/_mobs.txt2
-rw-r--r--world/map/npc/002-1/_mobs.txt2
-rw-r--r--world/map/npc/002-2/_mobs.txt2
-rw-r--r--world/map/npc/002-2/kylian.txt2
-rw-r--r--world/map/npc/002-3/_mobs.txt2
-rw-r--r--world/map/npc/002-4/_mobs.txt2
-rw-r--r--world/map/npc/002-5/_mobs.txt2
-rw-r--r--world/map/npc/004-3/_mobs.txt2
-rw-r--r--world/map/npc/004-4/_mobs.txt2
-rw-r--r--world/map/npc/004-5/_mobs.txt2
-rw-r--r--world/map/npc/005-3/_mobs.txt2
-rw-r--r--world/map/npc/006-1/_mobs.txt2
-rw-r--r--world/map/npc/006-1/miriam.txt2
-rw-r--r--world/map/npc/006-2/_mobs.txt2
-rw-r--r--world/map/npc/006-3/_mobs.txt2
-rw-r--r--world/map/npc/007-1/_mobs.txt2
-rw-r--r--world/map/npc/008-1/_mobs.txt2
-rw-r--r--world/map/npc/008-1/annualeaster.txt2
-rw-r--r--world/map/npc/009-1/_mobs.txt2
-rw-r--r--world/map/npc/009-1/constable.txt2
-rw-r--r--world/map/npc/009-2/_mobs.txt2
-rw-r--r--world/map/npc/009-2/airlia.txt18
-rw-r--r--world/map/npc/009-3/_mobs.txt2
-rw-r--r--world/map/npc/009-4/_mobs.txt2
-rw-r--r--world/map/npc/009-5/_mobs.txt2
-rw-r--r--world/map/npc/009-6/_mobs.txt2
-rw-r--r--world/map/npc/009-7/_mobs.txt2
-rw-r--r--world/map/npc/010-1/_mobs.txt2
-rw-r--r--world/map/npc/010-2/_mobs.txt2
-rw-r--r--world/map/npc/010-2/band.txt2
-rw-r--r--world/map/npc/011-1/_mobs.txt2
-rw-r--r--world/map/npc/011-3/_mobs.txt2
-rw-r--r--world/map/npc/011-4/_mobs.txt2
-rw-r--r--world/map/npc/011-6/_mobs.txt2
-rw-r--r--world/map/npc/012-1/_mobs.txt2
-rw-r--r--world/map/npc/012-1/injured-mouboo.txt4
-rw-r--r--world/map/npc/012-3/_mobs.txt2
-rw-r--r--world/map/npc/012-4/_mobs.txt2
-rw-r--r--world/map/npc/013-1/_mobs.txt2
-rw-r--r--world/map/npc/013-2/_mobs.txt2
-rw-r--r--world/map/npc/013-3/_mobs.txt2
-rw-r--r--world/map/npc/014-1/_mobs.txt2
-rw-r--r--world/map/npc/014-3/_mobs.txt2
-rw-r--r--world/map/npc/015-1/_mobs.txt2
-rw-r--r--world/map/npc/015-3/_mobs.txt2
-rw-r--r--world/map/npc/016-1/_mobs.txt2
-rw-r--r--world/map/npc/017-1/_mobs.txt2
-rw-r--r--world/map/npc/017-2/_mobs.txt2
-rw-r--r--world/map/npc/017-3/_mobs.txt2
-rw-r--r--world/map/npc/017-4/_mobs.txt2
-rw-r--r--world/map/npc/017-9/_mobs.txt2
-rw-r--r--world/map/npc/018-1/_mobs.txt2
-rw-r--r--world/map/npc/018-2/_mobs.txt2
-rw-r--r--world/map/npc/018-3/_mobs.txt2
-rw-r--r--world/map/npc/019-1/_mobs.txt2
-rw-r--r--world/map/npc/019-3/_mobs.txt2
-rw-r--r--world/map/npc/019-4/_mobs.txt2
-rw-r--r--world/map/npc/020-1/_mobs.txt2
-rw-r--r--world/map/npc/020-2/_mobs.txt2
-rw-r--r--world/map/npc/020-3/_mobs.txt2
-rw-r--r--world/map/npc/021-3/_mobs.txt2
-rw-r--r--world/map/npc/025-1/_mobs.txt2
-rw-r--r--world/map/npc/025-3/_mobs.txt2
-rw-r--r--world/map/npc/025-4/_mobs.txt2
-rw-r--r--world/map/npc/026-1/_mobs.txt2
-rw-r--r--world/map/npc/027-1/_mobs.txt2
-rw-r--r--world/map/npc/027-2/_mobs.txt2
-rw-r--r--world/map/npc/027-3/_mobs.txt2
-rw-r--r--world/map/npc/027-3/monsters.txt2
-rw-r--r--world/map/npc/027-4/_mobs.txt2
-rw-r--r--world/map/npc/027-4/monsters.txt2
-rw-r--r--world/map/npc/027-5/_mobs.txt2
-rw-r--r--world/map/npc/027-6/_mobs.txt2
-rw-r--r--world/map/npc/027-7/_mobs.txt2
-rw-r--r--world/map/npc/027-8/_mobs.txt2
-rw-r--r--world/map/npc/028-1/_mobs.txt2
-rw-r--r--world/map/npc/028-3/_mobs.txt2
-rw-r--r--world/map/npc/029-1/_mobs.txt2
-rw-r--r--world/map/npc/029-1/hasan.txt2
-rw-r--r--world/map/npc/029-1/hideandseek.txt2
-rw-r--r--world/map/npc/029-1/tutorial.txt2
-rw-r--r--world/map/npc/029-1/valon.txt2
-rw-r--r--world/map/npc/029-2/_mobs.txt2
-rw-r--r--world/map/npc/029-2/barrels_config.txt2
-rw-r--r--world/map/npc/029-3/_mobs.txt2
-rw-r--r--world/map/npc/029-3/parua.txt5
-rw-r--r--world/map/npc/030-2/_mobs.txt2
-rw-r--r--world/map/npc/030-3/_mobs.txt2
-rw-r--r--world/map/npc/030-4/_mobs.txt2
-rw-r--r--world/map/npc/030-4/mana_battery.txt2
-rw-r--r--world/map/npc/031-1/_mobs.txt2
-rw-r--r--world/map/npc/031-2/_mobs.txt2
-rw-r--r--world/map/npc/031-3/_mobs.txt2
-rw-r--r--world/map/npc/031-4/_mobs.txt2
-rw-r--r--world/map/npc/032-3/_mobs.txt2
-rw-r--r--world/map/npc/033-1/_mobs.txt2
-rw-r--r--world/map/npc/033-1/barbarianinit.txt2
-rw-r--r--world/map/npc/034-1/_mobs.txt2
-rw-r--r--world/map/npc/034-2/_mobs.txt2
-rw-r--r--world/map/npc/035-2/_mobs.txt2
-rw-r--r--world/map/npc/036-2/_mobs.txt2
-rw-r--r--world/map/npc/043-3/_mobs.txt2
-rw-r--r--world/map/npc/043-4/_mobs.txt2
-rw-r--r--world/map/npc/045-1/_mobs.txt2
-rw-r--r--world/map/npc/046-1/_mobs.txt2
-rw-r--r--world/map/npc/046-3/_mobs.txt2
-rw-r--r--world/map/npc/047-1/_mobs.txt2
-rw-r--r--world/map/npc/047-3/_mobs.txt2
-rw-r--r--world/map/npc/048-2/_mobs.txt2
-rw-r--r--world/map/npc/048-2/bluesageConfig.txt2
-rw-r--r--world/map/npc/051-1/_mobs.txt2
-rw-r--r--world/map/npc/051-1/desertmonsters.txt2
-rw-r--r--world/map/npc/051-1/forestmonsters.txt2
-rw-r--r--world/map/npc/051-3/_mobs.txt2
-rw-r--r--world/map/npc/051-3/jailslimes.txt2
-rw-r--r--world/map/npc/052-1/_mobs.txt2
-rw-r--r--world/map/npc/052-2/_mobs.txt2
-rw-r--r--world/map/npc/055-1/_mobs.txt2
-rw-r--r--world/map/npc/055-1/pumpkins.txt2
-rw-r--r--world/map/npc/055-3/_mobs.txt2
-rw-r--r--world/map/npc/056-2/_mobs.txt2
-rw-r--r--world/map/npc/057-1/_mobs.txt2
-rw-r--r--world/map/npc/annuals/fathertime.txt2
-rw-r--r--world/map/npc/annuals/halloween/config.txt2
-rw-r--r--world/map/npc/annuals/xmas/config.txt2
-rw-r--r--world/map/npc/botcheck/_mobs.txt2
-rw-r--r--world/map/npc/functions/DyeConfig.txt2
-rw-r--r--world/map/npc/functions/announcements.txt14
-rw-r--r--world/map/npc/functions/clear_vars.txt2
-rwxr-xr-xworld/map/npc/functions/debug.txt22
-rw-r--r--world/map/npc/functions/ferry.txt2
-rw-r--r--world/map/npc/functions/game_rules.txt159
-rw-r--r--world/map/npc/functions/global_event_handler.txt4
-rw-r--r--world/map/npc/functions/gm_island.txt2
-rw-r--r--world/map/npc/functions/motd.txt.example11
-rw-r--r--world/map/npc/functions/travelers.txt2
-rw-r--r--world/map/npc/items/unequipcb.txt2
-rw-r--r--world/map/npc/scripts.conf2
140 files changed, 280 insertions, 221 deletions
diff --git a/world/map/npc/001-1/_mobs.txt b/world/map/npc/001-1/_mobs.txt
index 92c57e45..6fc46da5 100644
--- a/world/map/npc/001-1/_mobs.txt
+++ b/world/map/npc/001-1/_mobs.txt
@@ -8,7 +8,7 @@
001-1,86,84,65,55|monster|SeaSlime|1033,8,100000ms,30000ms,Mob001-1::On1033
-001-1,0,0,0|script|Mob001-1|-1
+001-1,0,0,0|script|Mob001-1|32767
{
end;
diff --git a/world/map/npc/001-2/_mobs.txt b/world/map/npc/001-2/_mobs.txt
index 507c59c5..167e1f2e 100644
--- a/world/map/npc/001-2/_mobs.txt
+++ b/world/map/npc/001-2/_mobs.txt
@@ -3,7 +3,7 @@
-001-2,0,0,0|script|Mob001-2|-1
+001-2,0,0,0|script|Mob001-2|32767
{
end;
}
diff --git a/world/map/npc/001-3/_mobs.txt b/world/map/npc/001-3/_mobs.txt
index 3064369a..1c76eac9 100644
--- a/world/map/npc/001-3/_mobs.txt
+++ b/world/map/npc/001-3/_mobs.txt
@@ -4,7 +4,7 @@
001-3,0,0,0,0|monster|Maggot|1002,10,0ms,0ms,Mob001-3::On1002
-001-3,0,0,0|script|Mob001-3|-1
+001-3,0,0,0|script|Mob001-3|32767
{
end;
diff --git a/world/map/npc/002-1/_mobs.txt b/world/map/npc/002-1/_mobs.txt
index 96070290..19933fab 100644
--- a/world/map/npc/002-1/_mobs.txt
+++ b/world/map/npc/002-1/_mobs.txt
@@ -16,7 +16,7 @@
002-1,73,105,20,21|monster|FireGoblin|1011,6,100000ms,30000ms,Mob002-1::On1011
-002-1,0,0,0|script|Mob002-1|-1
+002-1,0,0,0|script|Mob002-1|32767
{
end;
diff --git a/world/map/npc/002-2/_mobs.txt b/world/map/npc/002-2/_mobs.txt
index c099a80f..aad2a871 100644
--- a/world/map/npc/002-2/_mobs.txt
+++ b/world/map/npc/002-2/_mobs.txt
@@ -3,7 +3,7 @@
-002-2,0,0,0|script|Mob002-2|-1
+002-2,0,0,0|script|Mob002-2|32767
{
end;
}
diff --git a/world/map/npc/002-2/kylian.txt b/world/map/npc/002-2/kylian.txt
index eae8ab81..dcd94548 100644
--- a/world/map/npc/002-2/kylian.txt
+++ b/world/map/npc/002-2/kylian.txt
@@ -39,7 +39,7 @@
// @KylianNTSightSeeing
// @KylianNTCasino
--|script|#businessmanNTconfig|-1
+-|script|#businessmanNTconfig|32767
{
end;
diff --git a/world/map/npc/002-3/_mobs.txt b/world/map/npc/002-3/_mobs.txt
index 3d0486b8..963b8e36 100644
--- a/world/map/npc/002-3/_mobs.txt
+++ b/world/map/npc/002-3/_mobs.txt
@@ -3,7 +3,7 @@
-002-3,0,0,0|script|Mob002-3|-1
+002-3,0,0,0|script|Mob002-3|32767
{
end;
}
diff --git a/world/map/npc/002-4/_mobs.txt b/world/map/npc/002-4/_mobs.txt
index c497e831..0a461429 100644
--- a/world/map/npc/002-4/_mobs.txt
+++ b/world/map/npc/002-4/_mobs.txt
@@ -17,7 +17,7 @@
002-4,63,100,2,5|monster|AngryScorpion|1057,3,100000ms,30000ms,Mob002-4::On1057
-002-4,0,0,0|script|Mob002-4|-1
+002-4,0,0,0|script|Mob002-4|32767
{
end;
diff --git a/world/map/npc/002-5/_mobs.txt b/world/map/npc/002-5/_mobs.txt
index 535198fd..c6894850 100644
--- a/world/map/npc/002-5/_mobs.txt
+++ b/world/map/npc/002-5/_mobs.txt
@@ -20,7 +20,7 @@
002-5,62,62,5,43|monster|AngryFireGoblin|1108,3,100000ms,30000ms,Mob002-5::On1108
-002-5,0,0,0|script|Mob002-5|-1
+002-5,0,0,0|script|Mob002-5|32767
{
end;
diff --git a/world/map/npc/004-3/_mobs.txt b/world/map/npc/004-3/_mobs.txt
index 5fb9ed43..dce2ec02 100644
--- a/world/map/npc/004-3/_mobs.txt
+++ b/world/map/npc/004-3/_mobs.txt
@@ -10,7 +10,7 @@
004-3,71,63,7,8|monster|Grenadier|1121,1,100000ms,30000ms,Mob004-3::On1121
-004-3,0,0,0|script|Mob004-3|-1
+004-3,0,0,0|script|Mob004-3|32767
{
end;
diff --git a/world/map/npc/004-4/_mobs.txt b/world/map/npc/004-4/_mobs.txt
index 113c204f..525a7215 100644
--- a/world/map/npc/004-4/_mobs.txt
+++ b/world/map/npc/004-4/_mobs.txt
@@ -12,7 +12,7 @@
004-4,34,88,10,4|monster|Grenadier|1121,1,100000ms,30000ms,Mob004-4::On1121
-004-4,0,0,0|script|Mob004-4|-1
+004-4,0,0,0|script|Mob004-4|32767
{
end;
diff --git a/world/map/npc/004-5/_mobs.txt b/world/map/npc/004-5/_mobs.txt
index 808b2608..2d3acc7e 100644
--- a/world/map/npc/004-5/_mobs.txt
+++ b/world/map/npc/004-5/_mobs.txt
@@ -15,7 +15,7 @@
004-5,81,38,7,3|monster|Swashbuckler|1120,2,100000ms,30000ms,Mob004-5::On1120
-004-5,0,0,0|script|Mob004-5|-1
+004-5,0,0,0|script|Mob004-5|32767
{
end;
diff --git a/world/map/npc/005-3/_mobs.txt b/world/map/npc/005-3/_mobs.txt
index 0cc8da62..63e58847 100644
--- a/world/map/npc/005-3/_mobs.txt
+++ b/world/map/npc/005-3/_mobs.txt
@@ -6,7 +6,7 @@
005-3,58,57,62,57|monster|GiantMaggot|1006,20,100000ms,30000ms,Mob005-3::On1006
-005-3,0,0,0|script|Mob005-3|-1
+005-3,0,0,0|script|Mob005-3|32767
{
end;
diff --git a/world/map/npc/006-1/_mobs.txt b/world/map/npc/006-1/_mobs.txt
index d2a6f7f0..2288ec92 100644
--- a/world/map/npc/006-1/_mobs.txt
+++ b/world/map/npc/006-1/_mobs.txt
@@ -24,7 +24,7 @@
006-1,100,36,38,24|monster|Snake|1010,2,40000ms,50000ms,Mob006-1::On1010
-006-1,0,0,0|script|Mob006-1|-1
+006-1,0,0,0|script|Mob006-1|32767
{
end;
diff --git a/world/map/npc/006-1/miriam.txt b/world/map/npc/006-1/miriam.txt
index ca317181..f2c454fd 100644
--- a/world/map/npc/006-1/miriam.txt
+++ b/world/map/npc/006-1/miriam.txt
@@ -209,7 +209,7 @@ L_offer:
if (!(getskilllv(SKILL_POOL)))
goto L_noskill;
menu
- "Yes, I look really good in this " +@torso$+ ".",L_TorsoNext;
+ "Yes, I look really good in this.",L_TorsoNext;
L_TorsoNext:
mes "[Miriam]";
diff --git a/world/map/npc/006-2/_mobs.txt b/world/map/npc/006-2/_mobs.txt
index 25ccb409..13ee9057 100644
--- a/world/map/npc/006-2/_mobs.txt
+++ b/world/map/npc/006-2/_mobs.txt
@@ -3,7 +3,7 @@
-006-2,0,0,0|script|Mob006-2|-1
+006-2,0,0,0|script|Mob006-2|32767
{
end;
}
diff --git a/world/map/npc/006-3/_mobs.txt b/world/map/npc/006-3/_mobs.txt
index db817544..3fa25c29 100644
--- a/world/map/npc/006-3/_mobs.txt
+++ b/world/map/npc/006-3/_mobs.txt
@@ -29,7 +29,7 @@
006-3,83,107,13,14|monster|YellowSlime|1007,6,90000ms,30000ms,Mob006-3::On1007
-006-3,0,0,0|script|Mob006-3|-1
+006-3,0,0,0|script|Mob006-3|32767
{
end;
diff --git a/world/map/npc/007-1/_mobs.txt b/world/map/npc/007-1/_mobs.txt
index b1fedba0..846c9fc5 100644
--- a/world/map/npc/007-1/_mobs.txt
+++ b/world/map/npc/007-1/_mobs.txt
@@ -12,7 +12,7 @@
007-1,0,0,0,0|monster|Butterfly|1055,10,30ms,20ms,Mob007-1::On1055
-007-1,0,0,0|script|Mob007-1|-1
+007-1,0,0,0|script|Mob007-1|32767
{
end;
diff --git a/world/map/npc/008-1/_mobs.txt b/world/map/npc/008-1/_mobs.txt
index 6f5e65be..33a425e3 100644
--- a/world/map/npc/008-1/_mobs.txt
+++ b/world/map/npc/008-1/_mobs.txt
@@ -12,7 +12,7 @@
008-1,0,0,0,0|monster|Butterfly|1055,10,30ms,20ms,Mob008-1::On1055
-008-1,0,0,0|script|Mob008-1|-1
+008-1,0,0,0|script|Mob008-1|32767
{
end;
diff --git a/world/map/npc/008-1/annualeaster.txt b/world/map/npc/008-1/annualeaster.txt
index 51c901a3..a9ba5963 100644
--- a/world/map/npc/008-1/annualeaster.txt
+++ b/world/map/npc/008-1/annualeaster.txt
@@ -135,7 +135,7 @@ L_End1:
}
-008-1,59,38,0|script|#AnnualEaster|-1
+008-1,59,38,0|script|#AnnualEaster|32767
{
end;
diff --git a/world/map/npc/009-1/_mobs.txt b/world/map/npc/009-1/_mobs.txt
index bab67b1b..247a3797 100644
--- a/world/map/npc/009-1/_mobs.txt
+++ b/world/map/npc/009-1/_mobs.txt
@@ -8,7 +8,7 @@
009-1,0,0,0,0|monster|Butterfly|1055,5,30ms,20ms,Mob009-1::On1055
-009-1,0,0,0|script|Mob009-1|-1
+009-1,0,0,0|script|Mob009-1|32767
{
end;
diff --git a/world/map/npc/009-1/constable.txt b/world/map/npc/009-1/constable.txt
index c82a8b21..23dd01da 100644
--- a/world/map/npc/009-1/constable.txt
+++ b/world/map/npc/009-1/constable.txt
@@ -2,7 +2,7 @@
009-1,52,33,0|script|Constable Bob|419
{
- mes "[Constable Hank Atkins]";
+ mes "[Constable Bob]";
mes "\"Hello.\"";
mes "\"I've been getting complaints of lawlessness in Hurnscald recently, so I thought I'd come down here myself and explain the rules.\"";
mes "\"Please make sure that you follow them!\"";
diff --git a/world/map/npc/009-2/_mobs.txt b/world/map/npc/009-2/_mobs.txt
index 22518d34..e0b8a1a0 100644
--- a/world/map/npc/009-2/_mobs.txt
+++ b/world/map/npc/009-2/_mobs.txt
@@ -3,7 +3,7 @@
-009-2,0,0,0|script|Mob009-2|-1
+009-2,0,0,0|script|Mob009-2|32767
{
end;
}
diff --git a/world/map/npc/009-2/airlia.txt b/world/map/npc/009-2/airlia.txt
index 6f4be2bd..71726331 100644
--- a/world/map/npc/009-2/airlia.txt
+++ b/world/map/npc/009-2/airlia.txt
@@ -171,6 +171,7 @@ L_Fetch:
mes "[Airlia]";
mes "\"Thank you for helping my father.\"";
next;
+ mes "\"Have you collected the " + @FETCH_AMOUNT_INITIAL + " " + getitemlink(@FETCH_LABEL_INITIAL$) + "?\"";
// Make sure to check if the player has a letter to deliver.
// If the check is not made then there is a bug, where the player
@@ -179,13 +180,13 @@ L_Fetch:
if (QUEST_Graveyard_Caretaker < @Q_STATUS_HAS_NEW_LETTER)
menu
- "You are welcome.", L_Close,
- "I have collected the " + @FETCH_AMOUNT_INITIAL + " " + getitemlink(@FETCH_LABEL_INITIAL$) + "s.", L_Fetch_initial_reward;
+ "Yes.", L_Fetch_initial_reward,
+ "No.", L_Close;
if (QUEST_Graveyard_Caretaker == @Q_STATUS_HAS_NEW_LETTER)
menu
- "You are welcome.", L_Close,
"I have another letter from your father.", L_later_rewards,
- "I have collected the " + @FETCH_AMOUNT_INITIAL + " " + getitemlink(@FETCH_LABEL_INITIAL$) + "s.", L_Fetch_initial_reward;
+ "Yes.", L_Fetch_initial_reward,
+ "No.", L_Close;
goto L_Close;
L_Fetch_initial_reward:
@@ -230,15 +231,16 @@ L_Rewarded:
mes "[Airlia]";
mes "\"Thank you for your help.\"";
next;
+ mes "\"Have you collected the " + @FETCH_AMOUNT + " " + getitemlink(@FETCH_LABEL$) + "s?\"";
if (QUEST_Graveyard_Caretaker < @Q_STATUS_HAS_NEW_LETTER)
menu
- "You are welcome.", L_Close,
- "I have collected the " + @FETCH_AMOUNT + " " + getitemlink(@FETCH_LABEL$) + "s.", L_Fetch_later_rewards;
+ "Yes.", L_Fetch_later_rewards,
+ "No.", L_Close;
if (QUEST_Graveyard_Caretaker == @Q_STATUS_HAS_NEW_LETTER)
menu
- "You are welcome.", L_Close,
"I have another letter from your father.", L_later_rewards,
- "I have collected the " + @FETCH_AMOUNT + " " + getitemlink(@FETCH_LABEL$) + "s.", L_Fetch_later_rewards;
+ "Yes.", L_Fetch_later_rewards,
+ "No.", L_Close;
goto L_Close;
L_Close:
diff --git a/world/map/npc/009-3/_mobs.txt b/world/map/npc/009-3/_mobs.txt
index 74852403..ab403a12 100644
--- a/world/map/npc/009-3/_mobs.txt
+++ b/world/map/npc/009-3/_mobs.txt
@@ -7,7 +7,7 @@
009-3,145,75,110,151|monster|CaveMaggot|1056,20,100000ms,30000ms,Mob009-3::On1056
-009-3,0,0,0|script|Mob009-3|-1
+009-3,0,0,0|script|Mob009-3|32767
{
end;
diff --git a/world/map/npc/009-4/_mobs.txt b/world/map/npc/009-4/_mobs.txt
index 64e2c4da..e81f350e 100644
--- a/world/map/npc/009-4/_mobs.txt
+++ b/world/map/npc/009-4/_mobs.txt
@@ -10,7 +10,7 @@
009-4,38,116,24,15|monster|Maggot|1002,3,20000ms,14000ms,Mob009-4::On1002
-009-4,0,0,0|script|Mob009-4|-1
+009-4,0,0,0|script|Mob009-4|32767
{
end;
diff --git a/world/map/npc/009-5/_mobs.txt b/world/map/npc/009-5/_mobs.txt
index 7ba8106a..78d520be 100644
--- a/world/map/npc/009-5/_mobs.txt
+++ b/world/map/npc/009-5/_mobs.txt
@@ -3,7 +3,7 @@
-009-5,0,0,0|script|Mob009-5|-1
+009-5,0,0,0|script|Mob009-5|32767
{
end;
}
diff --git a/world/map/npc/009-6/_mobs.txt b/world/map/npc/009-6/_mobs.txt
index e0437642..adb1e44e 100644
--- a/world/map/npc/009-6/_mobs.txt
+++ b/world/map/npc/009-6/_mobs.txt
@@ -3,7 +3,7 @@
-009-6,0,0,0|script|Mob009-6|-1
+009-6,0,0,0|script|Mob009-6|32767
{
end;
}
diff --git a/world/map/npc/009-7/_mobs.txt b/world/map/npc/009-7/_mobs.txt
index deae9123..bb641d0c 100644
--- a/world/map/npc/009-7/_mobs.txt
+++ b/world/map/npc/009-7/_mobs.txt
@@ -3,7 +3,7 @@
-009-7,0,0,0|script|Mob009-7|-1
+009-7,0,0,0|script|Mob009-7|32767
{
end;
}
diff --git a/world/map/npc/010-1/_mobs.txt b/world/map/npc/010-1/_mobs.txt
index 2536403e..d73c842f 100644
--- a/world/map/npc/010-1/_mobs.txt
+++ b/world/map/npc/010-1/_mobs.txt
@@ -16,7 +16,7 @@
010-1,0,0,0,0|monster|Butterfly|1055,10,30ms,20ms,Mob010-1::On1055
-010-1,0,0,0|script|Mob010-1|-1
+010-1,0,0,0|script|Mob010-1|32767
{
end;
diff --git a/world/map/npc/010-2/_mobs.txt b/world/map/npc/010-2/_mobs.txt
index 258716f7..3b258bd5 100644
--- a/world/map/npc/010-2/_mobs.txt
+++ b/world/map/npc/010-2/_mobs.txt
@@ -3,7 +3,7 @@
-010-2,0,0,0|script|Mob010-2|-1
+010-2,0,0,0|script|Mob010-2|32767
{
end;
}
diff --git a/world/map/npc/010-2/band.txt b/world/map/npc/010-2/band.txt
index 86fec363..cabc31bc 100644
--- a/world/map/npc/010-2/band.txt
+++ b/world/map/npc/010-2/band.txt
@@ -27,7 +27,7 @@ function|script|DimondBand
L_Return:
return;
}
--|script|#BandConfig|-1
+-|script|#BandConfig|32767
{
end;
diff --git a/world/map/npc/011-1/_mobs.txt b/world/map/npc/011-1/_mobs.txt
index bc35df56..3a0c0ce3 100644
--- a/world/map/npc/011-1/_mobs.txt
+++ b/world/map/npc/011-1/_mobs.txt
@@ -17,7 +17,7 @@
011-1,92,44,35,28|monster|Maggot|1002,10,30ms,0ms,Mob011-1::On1002
-011-1,0,0,0|script|Mob011-1|-1
+011-1,0,0,0|script|Mob011-1|32767
{
end;
diff --git a/world/map/npc/011-3/_mobs.txt b/world/map/npc/011-3/_mobs.txt
index 8854cf53..4e4a504e 100644
--- a/world/map/npc/011-3/_mobs.txt
+++ b/world/map/npc/011-3/_mobs.txt
@@ -5,7 +5,7 @@
011-3,0,0,0,0|monster|Silkworm|1035,3,60000ms,30000ms,Mob011-3::On1035
-011-3,0,0,0|script|Mob011-3|-1
+011-3,0,0,0|script|Mob011-3|32767
{
end;
diff --git a/world/map/npc/011-4/_mobs.txt b/world/map/npc/011-4/_mobs.txt
index 3e91f627..81da8edc 100644
--- a/world/map/npc/011-4/_mobs.txt
+++ b/world/map/npc/011-4/_mobs.txt
@@ -10,7 +10,7 @@
011-4,0,0,0,0|monster|Bat|1017,20,180000ms,40000ms,Mob011-4::On1017
-011-4,0,0,0|script|Mob011-4|-1
+011-4,0,0,0|script|Mob011-4|32767
{
end;
diff --git a/world/map/npc/011-6/_mobs.txt b/world/map/npc/011-6/_mobs.txt
index f86fdd66..4ba7f2ee 100644
--- a/world/map/npc/011-6/_mobs.txt
+++ b/world/map/npc/011-6/_mobs.txt
@@ -50,7 +50,7 @@
011-6,263,236,16,5|monster|CaveMaggot|1056,3,30000ms,100000ms,Mob011-6::On1056
-011-6,0,0,0|script|Mob011-6|-1
+011-6,0,0,0|script|Mob011-6|32767
{
end;
diff --git a/world/map/npc/012-1/_mobs.txt b/world/map/npc/012-1/_mobs.txt
index c8f1303c..cdcc8730 100644
--- a/world/map/npc/012-1/_mobs.txt
+++ b/world/map/npc/012-1/_mobs.txt
@@ -14,7 +14,7 @@
012-1,0,0,0,0|monster|Butterfly|1055,20,30ms,20ms,Mob012-1::On1055
-012-1,0,0,0|script|Mob012-1|-1
+012-1,0,0,0|script|Mob012-1|32767
{
end;
diff --git a/world/map/npc/012-1/injured-mouboo.txt b/world/map/npc/012-1/injured-mouboo.txt
index a6b305de..2aefb0f7 100644
--- a/world/map/npc/012-1/injured-mouboo.txt
+++ b/world/map/npc/012-1/injured-mouboo.txt
@@ -99,6 +99,7 @@ L_pickup_alive:
L_give:
set @items_nr, 12;
setarray @items$, "CactusDrink", "CactusPotion", "ChocolateBar", "Milk", "OrangeCupcake", "RedApple", "Beer", "BottleOfWater", "TinyHealingPotion", "SmallHealingPotion", "MediumHealingPotion", "LargeHealingPotion";
+ setarray @itemnames$, "Cactus Drink", "Cactus Potion", "Chocolate Bar", "Milk", "Orange Cupcake", "Red Apple", "Beer", "Bottle of Water", "Tiny Healing Potion", "Small Healing Potion", "Medium Healing Potion", "Large Healing Potion";
setarray @itemeat, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0;
setarray @menuItems$, "", "", "", "", "", "", "", "", "", "", "", "", "";
@@ -115,8 +116,7 @@ L_nloop:
if (countitem(@k$) == 0)
goto L_nloop_skip;
- set @name$, getitemlink(@k$);
- set @menuItems$[@ct], @name$;
+ set @menuItems$[@ct], @itemnames$[@n];
set @menuNames$[@ct], @k$;
set @choice_eat[@ct], @itemeat[@n];
set @ct, @ct + 1;
diff --git a/world/map/npc/012-3/_mobs.txt b/world/map/npc/012-3/_mobs.txt
index e1208d64..354fc289 100644
--- a/world/map/npc/012-3/_mobs.txt
+++ b/world/map/npc/012-3/_mobs.txt
@@ -19,7 +19,7 @@
012-3,0,0,0,0|monster|CaveSnake|1021,75,0ms,0ms,Mob012-3::On1021
-012-3,0,0,0|script|Mob012-3|-1
+012-3,0,0,0|script|Mob012-3|32767
{
end;
diff --git a/world/map/npc/012-4/_mobs.txt b/world/map/npc/012-4/_mobs.txt
index 0f61a3cd..e1a4a259 100644
--- a/world/map/npc/012-4/_mobs.txt
+++ b/world/map/npc/012-4/_mobs.txt
@@ -67,7 +67,7 @@
012-4,91,180,23,10|monster|Spider|1012,20,100000ms,30000ms,Mob012-4::On1012
-012-4,0,0,0|script|Mob012-4|-1
+012-4,0,0,0|script|Mob012-4|32767
{
end;
diff --git a/world/map/npc/013-1/_mobs.txt b/world/map/npc/013-1/_mobs.txt
index e3492192..7d2efa88 100644
--- a/world/map/npc/013-1/_mobs.txt
+++ b/world/map/npc/013-1/_mobs.txt
@@ -18,7 +18,7 @@
013-1,0,0,0,0|monster|Butterfly|1055,10,30ms,20ms,Mob013-1::On1055
-013-1,0,0,0|script|Mob013-1|-1
+013-1,0,0,0|script|Mob013-1|32767
{
end;
diff --git a/world/map/npc/013-2/_mobs.txt b/world/map/npc/013-2/_mobs.txt
index be64f4ab..82f242a0 100644
--- a/world/map/npc/013-2/_mobs.txt
+++ b/world/map/npc/013-2/_mobs.txt
@@ -3,7 +3,7 @@
-013-2,0,0,0|script|Mob013-2|-1
+013-2,0,0,0|script|Mob013-2|32767
{
end;
}
diff --git a/world/map/npc/013-3/_mobs.txt b/world/map/npc/013-3/_mobs.txt
index b0f66b65..088e2c72 100644
--- a/world/map/npc/013-3/_mobs.txt
+++ b/world/map/npc/013-3/_mobs.txt
@@ -31,7 +31,7 @@
013-3,67,46,2,1|monster|FireSkull|1023,1,120000ms,60000ms,Mob013-3::On1023
-013-3,0,0,0|script|Mob013-3|-1
+013-3,0,0,0|script|Mob013-3|32767
{
end;
diff --git a/world/map/npc/014-1/_mobs.txt b/world/map/npc/014-1/_mobs.txt
index 751a04cf..862d1c19 100644
--- a/world/map/npc/014-1/_mobs.txt
+++ b/world/map/npc/014-1/_mobs.txt
@@ -19,7 +19,7 @@
014-1,0,0,0,0|monster|Butterfly|1055,10,30ms,20ms,Mob014-1::On1055
-014-1,0,0,0|script|Mob014-1|-1
+014-1,0,0,0|script|Mob014-1|32767
{
end;
diff --git a/world/map/npc/014-3/_mobs.txt b/world/map/npc/014-3/_mobs.txt
index cc32d1da..ebadbf58 100644
--- a/world/map/npc/014-3/_mobs.txt
+++ b/world/map/npc/014-3/_mobs.txt
@@ -4,7 +4,7 @@
014-3,0,0,0,0|monster|Bat|1017,50,0ms,0ms,Mob014-3::On1017
-014-3,0,0,0|script|Mob014-3|-1
+014-3,0,0,0|script|Mob014-3|32767
{
end;
diff --git a/world/map/npc/015-1/_mobs.txt b/world/map/npc/015-1/_mobs.txt
index 810a4bd8..cad191f2 100644
--- a/world/map/npc/015-1/_mobs.txt
+++ b/world/map/npc/015-1/_mobs.txt
@@ -13,7 +13,7 @@
015-1,0,0,0,0|monster|MauvePlant|1029,4,270000ms,180000ms,Mob015-1::On1029
-015-1,0,0,0|script|Mob015-1|-1
+015-1,0,0,0|script|Mob015-1|32767
{
end;
diff --git a/world/map/npc/015-3/_mobs.txt b/world/map/npc/015-3/_mobs.txt
index 03f2627c..1b205735 100644
--- a/world/map/npc/015-3/_mobs.txt
+++ b/world/map/npc/015-3/_mobs.txt
@@ -7,7 +7,7 @@
015-3,40,19,1,1|monster|Spider|1012,1,100000ms,30000ms,Mob015-3::On1012
-015-3,0,0,0|script|Mob015-3|-1
+015-3,0,0,0|script|Mob015-3|32767
{
end;
diff --git a/world/map/npc/016-1/_mobs.txt b/world/map/npc/016-1/_mobs.txt
index 8777b2a4..58b33a9d 100644
--- a/world/map/npc/016-1/_mobs.txt
+++ b/world/map/npc/016-1/_mobs.txt
@@ -13,7 +13,7 @@
016-1,0,0,0,0|monster|Silkworm|1035,7,150000ms,7000ms,Mob016-1::On1035
-016-1,0,0,0|script|Mob016-1|-1
+016-1,0,0,0|script|Mob016-1|32767
{
end;
diff --git a/world/map/npc/017-1/_mobs.txt b/world/map/npc/017-1/_mobs.txt
index 79693ffa..fe1c40b4 100644
--- a/world/map/npc/017-1/_mobs.txt
+++ b/world/map/npc/017-1/_mobs.txt
@@ -21,7 +21,7 @@
017-1,0,0,0,0|monster|Squirrel|1038,30,20ms,10ms,Mob017-1::On1038
-017-1,0,0,0|script|Mob017-1|-1
+017-1,0,0,0|script|Mob017-1|32767
{
end;
diff --git a/world/map/npc/017-2/_mobs.txt b/world/map/npc/017-2/_mobs.txt
index 6c094aff..7fbf694f 100644
--- a/world/map/npc/017-2/_mobs.txt
+++ b/world/map/npc/017-2/_mobs.txt
@@ -3,7 +3,7 @@
-017-2,0,0,0|script|Mob017-2|-1
+017-2,0,0,0|script|Mob017-2|32767
{
end;
}
diff --git a/world/map/npc/017-3/_mobs.txt b/world/map/npc/017-3/_mobs.txt
index 1dc64829..c498697b 100644
--- a/world/map/npc/017-3/_mobs.txt
+++ b/world/map/npc/017-3/_mobs.txt
@@ -3,7 +3,7 @@
-017-3,0,0,0|script|Mob017-3|-1
+017-3,0,0,0|script|Mob017-3|32767
{
end;
}
diff --git a/world/map/npc/017-4/_mobs.txt b/world/map/npc/017-4/_mobs.txt
index 12f048ec..920a1db5 100644
--- a/world/map/npc/017-4/_mobs.txt
+++ b/world/map/npc/017-4/_mobs.txt
@@ -3,7 +3,7 @@
-017-4,0,0,0|script|Mob017-4|-1
+017-4,0,0,0|script|Mob017-4|32767
{
end;
}
diff --git a/world/map/npc/017-9/_mobs.txt b/world/map/npc/017-9/_mobs.txt
index 13c93b7b..64e6dd7e 100644
--- a/world/map/npc/017-9/_mobs.txt
+++ b/world/map/npc/017-9/_mobs.txt
@@ -3,7 +3,7 @@
-017-9,0,0,0|script|Mob017-9|-1
+017-9,0,0,0|script|Mob017-9|32767
{
end;
}
diff --git a/world/map/npc/018-1/_mobs.txt b/world/map/npc/018-1/_mobs.txt
index 7a5cee1e..942a6d09 100644
--- a/world/map/npc/018-1/_mobs.txt
+++ b/world/map/npc/018-1/_mobs.txt
@@ -30,7 +30,7 @@
018-1,134,80,14,39|monster|Maggot|1002,15,30ms,0ms,Mob018-1::On1002
-018-1,0,0,0|script|Mob018-1|-1
+018-1,0,0,0|script|Mob018-1|32767
{
end;
diff --git a/world/map/npc/018-2/_mobs.txt b/world/map/npc/018-2/_mobs.txt
index 8ff2d064..fb451a92 100644
--- a/world/map/npc/018-2/_mobs.txt
+++ b/world/map/npc/018-2/_mobs.txt
@@ -4,7 +4,7 @@
018-2,114,21,4,3|monster|YellowSlime|1007,1,100000ms,30000ms,Mob018-2::On1007
-018-2,0,0,0|script|Mob018-2|-1
+018-2,0,0,0|script|Mob018-2|32767
{
end;
diff --git a/world/map/npc/018-3/_mobs.txt b/world/map/npc/018-3/_mobs.txt
index 7ad389b1..46457878 100644
--- a/world/map/npc/018-3/_mobs.txt
+++ b/world/map/npc/018-3/_mobs.txt
@@ -26,7 +26,7 @@
018-3,99,99,17,17|monster|CaveMaggot|1056,4,100000ms,30000ms,Mob018-3::On1056
-018-3,0,0,0|script|Mob018-3|-1
+018-3,0,0,0|script|Mob018-3|32767
{
end;
diff --git a/world/map/npc/019-1/_mobs.txt b/world/map/npc/019-1/_mobs.txt
index a21c8473..505d18df 100644
--- a/world/map/npc/019-1/_mobs.txt
+++ b/world/map/npc/019-1/_mobs.txt
@@ -7,7 +7,7 @@
019-1,0,0,0,0|monster|Santaboo|1112,4,100000ms,30000ms,Mob019-1::On1112
-019-1,0,0,0|script|Mob019-1|-1
+019-1,0,0,0|script|Mob019-1|32767
{
end;
diff --git a/world/map/npc/019-3/_mobs.txt b/world/map/npc/019-3/_mobs.txt
index b452a5a5..26a7771a 100644
--- a/world/map/npc/019-3/_mobs.txt
+++ b/world/map/npc/019-3/_mobs.txt
@@ -5,7 +5,7 @@
019-3,0,4,0,0|monster|Bat|1017,50,100000ms,30000ms,Mob019-3::On1017
-019-3,0,0,0|script|Mob019-3|-1
+019-3,0,0,0|script|Mob019-3|32767
{
end;
diff --git a/world/map/npc/019-4/_mobs.txt b/world/map/npc/019-4/_mobs.txt
index f0b58665..43717e0d 100644
--- a/world/map/npc/019-4/_mobs.txt
+++ b/world/map/npc/019-4/_mobs.txt
@@ -7,7 +7,7 @@
019-4,0,0,0,0|monster|BlueSlime|1091,7,45000ms,30000ms,Mob019-4::On1091
-019-4,0,0,0|script|Mob019-4|-1
+019-4,0,0,0|script|Mob019-4|32767
{
end;
diff --git a/world/map/npc/020-1/_mobs.txt b/world/map/npc/020-1/_mobs.txt
index 3f534e8d..da1ffd27 100644
--- a/world/map/npc/020-1/_mobs.txt
+++ b/world/map/npc/020-1/_mobs.txt
@@ -4,7 +4,7 @@
020-1,0,0,0,0|monster|WhiteBell|1095,3,100000ms,30000ms,Mob020-1::On1095
-020-1,0,0,0|script|Mob020-1|-1
+020-1,0,0,0|script|Mob020-1|32767
{
end;
diff --git a/world/map/npc/020-2/_mobs.txt b/world/map/npc/020-2/_mobs.txt
index b0d2646d..62e1f438 100644
--- a/world/map/npc/020-2/_mobs.txt
+++ b/world/map/npc/020-2/_mobs.txt
@@ -3,7 +3,7 @@
-020-2,0,0,0|script|Mob020-2|-1
+020-2,0,0,0|script|Mob020-2|32767
{
end;
}
diff --git a/world/map/npc/020-3/_mobs.txt b/world/map/npc/020-3/_mobs.txt
index 13ed6c8b..edb95973 100644
--- a/world/map/npc/020-3/_mobs.txt
+++ b/world/map/npc/020-3/_mobs.txt
@@ -7,7 +7,7 @@
020-3,0,0,0,0|monster|Pinkie|1018,10,0ms,0ms,Mob020-3::On1018
-020-3,0,0,0|script|Mob020-3|-1
+020-3,0,0,0|script|Mob020-3|32767
{
end;
diff --git a/world/map/npc/021-3/_mobs.txt b/world/map/npc/021-3/_mobs.txt
index 78c24a7c..8d6c2591 100644
--- a/world/map/npc/021-3/_mobs.txt
+++ b/world/map/npc/021-3/_mobs.txt
@@ -13,7 +13,7 @@
021-3,47,139,8,3|monster|CaveMaggot|1056,5,100000ms,30000ms,Mob021-3::On1056
-021-3,0,0,0|script|Mob021-3|-1
+021-3,0,0,0|script|Mob021-3|32767
{
end;
diff --git a/world/map/npc/025-1/_mobs.txt b/world/map/npc/025-1/_mobs.txt
index cddb2696..2a2d27ac 100644
--- a/world/map/npc/025-1/_mobs.txt
+++ b/world/map/npc/025-1/_mobs.txt
@@ -13,7 +13,7 @@
025-1,26,61,15,85|monster|Scorpion|1003,12,100000ms,50000ms,Mob025-1::On1003
-025-1,0,0,0|script|Mob025-1|-1
+025-1,0,0,0|script|Mob025-1|32767
{
end;
diff --git a/world/map/npc/025-3/_mobs.txt b/world/map/npc/025-3/_mobs.txt
index 4ab99039..5ccfdfc0 100644
--- a/world/map/npc/025-3/_mobs.txt
+++ b/world/map/npc/025-3/_mobs.txt
@@ -7,7 +7,7 @@
025-3,69,153,13,1|monster|Skeleton|1043,1,0ms,30000ms,Mob025-3::On1043
-025-3,0,0,0|script|Mob025-3|-1
+025-3,0,0,0|script|Mob025-3|32767
{
end;
diff --git a/world/map/npc/025-4/_mobs.txt b/world/map/npc/025-4/_mobs.txt
index 62318520..3ad731de 100644
--- a/world/map/npc/025-4/_mobs.txt
+++ b/world/map/npc/025-4/_mobs.txt
@@ -5,7 +5,7 @@
025-4,94,24,20,21|monster|CaveMaggot|1056,5,0ms,100ms,Mob025-4::On1056
-025-4,0,0,0|script|Mob025-4|-1
+025-4,0,0,0|script|Mob025-4|32767
{
end;
diff --git a/world/map/npc/026-1/_mobs.txt b/world/map/npc/026-1/_mobs.txt
index 34da2792..a99c4bab 100644
--- a/world/map/npc/026-1/_mobs.txt
+++ b/world/map/npc/026-1/_mobs.txt
@@ -14,7 +14,7 @@
026-1,60,76,61,31|monster|GrassSnake|1034,4,100000ms,50000ms,Mob026-1::On1034
-026-1,0,0,0|script|Mob026-1|-1
+026-1,0,0,0|script|Mob026-1|32767
{
end;
diff --git a/world/map/npc/027-1/_mobs.txt b/world/map/npc/027-1/_mobs.txt
index f72b338d..de1a4b6f 100644
--- a/world/map/npc/027-1/_mobs.txt
+++ b/world/map/npc/027-1/_mobs.txt
@@ -20,7 +20,7 @@
027-1,99,90,34,16|monster|GrassSnake|1034,3,100000ms,50000ms,Mob027-1::On1034
-027-1,0,0,0|script|Mob027-1|-1
+027-1,0,0,0|script|Mob027-1|32767
{
end;
diff --git a/world/map/npc/027-2/_mobs.txt b/world/map/npc/027-2/_mobs.txt
index f87f19f9..ab76e3b0 100644
--- a/world/map/npc/027-2/_mobs.txt
+++ b/world/map/npc/027-2/_mobs.txt
@@ -13,7 +13,7 @@
027-2,89,34,11,9|monster|TipsySkeleton|1078,1,100000ms,30000ms,Mob027-2::On1078
-027-2,0,0,0|script|Mob027-2|-1
+027-2,0,0,0|script|Mob027-2|32767
{
end;
diff --git a/world/map/npc/027-3/_mobs.txt b/world/map/npc/027-3/_mobs.txt
index 0d4599a7..4c7c8ff6 100644
--- a/world/map/npc/027-3/_mobs.txt
+++ b/world/map/npc/027-3/_mobs.txt
@@ -11,7 +11,7 @@
027-3,98,84,60,14|monster|FireSkull|1023,2,60000ms,20000ms,Mob027-3::On1023
-027-3,0,0,0|script|Mob027-3|-1
+027-3,0,0,0|script|Mob027-3|32767
{
end;
diff --git a/world/map/npc/027-3/monsters.txt b/world/map/npc/027-3/monsters.txt
index 6664d033..2e552eb2 100644
--- a/world/map/npc/027-3/monsters.txt
+++ b/world/map/npc/027-3/monsters.txt
@@ -6,7 +6,7 @@
027-3,67,29,129,64|monster|Zombie|1036,3,140000ms,30000ms,specialMob027-3::On1036
027-3,101,65,128,93|monster|Fallen|1045,3,120000ms,30000ms,specialMob027-3::On1045
-027-3,0,0,0|script|specialMob027-3|-1
+027-3,0,0,0|script|specialMob027-3|32767
{
end;
diff --git a/world/map/npc/027-4/_mobs.txt b/world/map/npc/027-4/_mobs.txt
index e5fd7229..cb65135e 100644
--- a/world/map/npc/027-4/_mobs.txt
+++ b/world/map/npc/027-4/_mobs.txt
@@ -8,7 +8,7 @@
027-4,101,36,38,30|monster|LadySkeleton|1044,2,60000ms,8000ms,Mob027-4::On1044
-027-4,0,0,0|script|Mob027-4|-1
+027-4,0,0,0|script|Mob027-4|32767
{
end;
diff --git a/world/map/npc/027-4/monsters.txt b/world/map/npc/027-4/monsters.txt
index 7c071bc5..ef810372 100644
--- a/world/map/npc/027-4/monsters.txt
+++ b/world/map/npc/027-4/monsters.txt
@@ -7,7 +7,7 @@
027-4,61,37,38,30|monster|Zombie|1036,2,60000ms,8000ms,specialMob027-4::On1036
027-4,101,36,38,30|monster|Zombie|1036,2,60000ms,8000ms,specialMob027-4::On1036
-027-4,0,0,0|script|specialMob027-4|-1
+027-4,0,0,0|script|specialMob027-4|32767
{
end;
diff --git a/world/map/npc/027-5/_mobs.txt b/world/map/npc/027-5/_mobs.txt
index 142d8ee9..e6958ba9 100644
--- a/world/map/npc/027-5/_mobs.txt
+++ b/world/map/npc/027-5/_mobs.txt
@@ -10,7 +10,7 @@
027-5,69,80,99,36|monster|LadySkeleton|1044,8,60000ms,8000ms,Mob027-5::On1044
-027-5,0,0,0|script|Mob027-5|-1
+027-5,0,0,0|script|Mob027-5|32767
{
end;
diff --git a/world/map/npc/027-6/_mobs.txt b/world/map/npc/027-6/_mobs.txt
index c5f45581..407a697e 100644
--- a/world/map/npc/027-6/_mobs.txt
+++ b/world/map/npc/027-6/_mobs.txt
@@ -3,7 +3,7 @@
-027-6,0,0,0|script|Mob027-6|-1
+027-6,0,0,0|script|Mob027-6|32767
{
end;
}
diff --git a/world/map/npc/027-7/_mobs.txt b/world/map/npc/027-7/_mobs.txt
index 482bf900..43867927 100644
--- a/world/map/npc/027-7/_mobs.txt
+++ b/world/map/npc/027-7/_mobs.txt
@@ -3,7 +3,7 @@
-027-7,0,0,0|script|Mob027-7|-1
+027-7,0,0,0|script|Mob027-7|32767
{
end;
}
diff --git a/world/map/npc/027-8/_mobs.txt b/world/map/npc/027-8/_mobs.txt
index 30810f3c..d38bf647 100644
--- a/world/map/npc/027-8/_mobs.txt
+++ b/world/map/npc/027-8/_mobs.txt
@@ -3,7 +3,7 @@
-027-8,0,0,0|script|Mob027-8|-1
+027-8,0,0,0|script|Mob027-8|32767
{
end;
}
diff --git a/world/map/npc/028-1/_mobs.txt b/world/map/npc/028-1/_mobs.txt
index 76a2715f..fc1aa291 100644
--- a/world/map/npc/028-1/_mobs.txt
+++ b/world/map/npc/028-1/_mobs.txt
@@ -15,7 +15,7 @@
028-1,60,45,1,1|monster|Fallen|1045,1,700000ms,300000ms,Mob028-1::On1045
-028-1,0,0,0|script|Mob028-1|-1
+028-1,0,0,0|script|Mob028-1|32767
{
end;
diff --git a/world/map/npc/028-3/_mobs.txt b/world/map/npc/028-3/_mobs.txt
index ce323fad..fd5fe855 100644
--- a/world/map/npc/028-3/_mobs.txt
+++ b/world/map/npc/028-3/_mobs.txt
@@ -7,7 +7,7 @@
028-3,50,49,61,60|monster|Bat|1017,10,60000ms,10000ms,Mob028-3::On1017
-028-3,0,0,0|script|Mob028-3|-1
+028-3,0,0,0|script|Mob028-3|32767
{
end;
diff --git a/world/map/npc/029-1/_mobs.txt b/world/map/npc/029-1/_mobs.txt
index 55bc216b..bad7d55a 100644
--- a/world/map/npc/029-1/_mobs.txt
+++ b/world/map/npc/029-1/_mobs.txt
@@ -9,7 +9,7 @@
029-1,76,42,52,25|monster|ManaBug|1131,3,30ms,0ms,Mob029-1::On1131
-029-1,0,0,0|script|Mob029-1|-1
+029-1,0,0,0|script|Mob029-1|32767
{
end;
diff --git a/world/map/npc/029-1/hasan.txt b/world/map/npc/029-1/hasan.txt
index 8d35da8b..eef3eb64 100644
--- a/world/map/npc/029-1/hasan.txt
+++ b/world/map/npc/029-1/hasan.txt
@@ -182,6 +182,8 @@ OnScorpionDeath:
goto L_Clean;
set QL_BEGIN, 13;
message strcharinfo(0), "You saved Hasan.";
+ set @mobID, 1003;
+ callfunc "MobPoints";
goto L_Clean;
L_TimeOut:
diff --git a/world/map/npc/029-1/hideandseek.txt b/world/map/npc/029-1/hideandseek.txt
index a8cc5fa1..e0ed487f 100644
--- a/world/map/npc/029-1/hideandseek.txt
+++ b/world/map/npc/029-1/hideandseek.txt
@@ -7,7 +7,7 @@
// Bit 7: unused
// Author: Jenalya
--|script|#hideandseekNTconfig|-1
+-|script|#hideandseekNTconfig|32767
{
end;
diff --git a/world/map/npc/029-1/tutorial.txt b/world/map/npc/029-1/tutorial.txt
index 76124ef6..e6f31c4a 100644
--- a/world/map/npc/029-1/tutorial.txt
+++ b/world/map/npc/029-1/tutorial.txt
@@ -1,7 +1,7 @@
// This file is part of the Tutorial
// Author: Jenalya
// if you enter the tutorial area from outside, it is set to be already done
--|script|#TutorialConfig|-1
+-|script|#TutorialConfig|32767
{
end;
diff --git a/world/map/npc/029-1/valon.txt b/world/map/npc/029-1/valon.txt
index f4034ec9..e7a276c8 100644
--- a/world/map/npc/029-1/valon.txt
+++ b/world/map/npc/029-1/valon.txt
@@ -1,6 +1,6 @@
// This file is part of the Tutorial
// Author: Jenalya, Wushin
--|script|#ValonConfig|-1
+-|script|#ValonConfig|32767
{
end;
diff --git a/world/map/npc/029-2/_mobs.txt b/world/map/npc/029-2/_mobs.txt
index d6535efd..02d3fbd9 100644
--- a/world/map/npc/029-2/_mobs.txt
+++ b/world/map/npc/029-2/_mobs.txt
@@ -4,7 +4,7 @@
029-2,33,57,24,7|monster|HouseMaggot|1050,7,100000ms,30000ms,Mob029-2::On1050
-029-2,0,0,0|script|Mob029-2|-1
+029-2,0,0,0|script|Mob029-2|32767
{
end;
diff --git a/world/map/npc/029-2/barrels_config.txt b/world/map/npc/029-2/barrels_config.txt
index 1d356a08..b2e340a6 100644
--- a/world/map/npc/029-2/barrels_config.txt
+++ b/world/map/npc/029-2/barrels_config.txt
@@ -1,7 +1,7 @@
// Barrels
// Author: Wushin
029-2,33,88,24,7|monster|HouseMaggot|1050,2,100000ms,30000ms,Barrel#0::OnMaggotDeath
--|script|#BarrelConfig|-1
+-|script|#BarrelConfig|32767
{
end;
diff --git a/world/map/npc/029-3/_mobs.txt b/world/map/npc/029-3/_mobs.txt
index 61f8c33f..9a83bf7f 100644
--- a/world/map/npc/029-3/_mobs.txt
+++ b/world/map/npc/029-3/_mobs.txt
@@ -3,7 +3,7 @@
-029-3,0,0,0|script|Mob029-3|-1
+029-3,0,0,0|script|Mob029-3|32767
{
end;
}
diff --git a/world/map/npc/029-3/parua.txt b/world/map/npc/029-3/parua.txt
index 41e1fe8c..1ac59e0a 100644
--- a/world/map/npc/029-3/parua.txt
+++ b/world/map/npc/029-3/parua.txt
@@ -8,7 +8,7 @@
set @FIGHT_CAVE_ANNOUNCE_COST, 3000;
set @FIGHT_CAVE_ANNOUNCE_COST$, "3,000";
if ($@FIGHT_CAVE_STATUS == 1) goto L_Enjoy;
- if ($@FIGHT_CAVE_STATUS >= 2) goto L_Wait;
+ if ($@FIGHT_CAVE_STATUS >= 2 && $@ANNOUNCE_TIME > gettimetick(2)) goto L_Wait;
mes "[Parua]";
mes "\"Hello.\"";
next;
@@ -105,7 +105,7 @@ L_Enjoy:
goto L_Exit;
L_Wait:
- set @ms, ($@ANNOUNCE_TIME - gettimetick(2)) * 1000;
+ set @seconds, $@ANNOUNCE_TIME - gettimetick(2);
callfunc "HumanTime";
mes "[Parua]";
mes "\"Be Patient... The fight will start in " + @time$ + ".\"";
@@ -362,6 +362,7 @@ L_CleanUp:
donpcevent "#CandorAnnouncer::OnCommandTalk";
areatimer "029-3", 20, 20, 70, 60, 10, "Parua::OnReward";
set $@FIGHT_CAVE_STATUS, 0;
+ set $@ANNOUNCE_TIME, 0;
set $@FIGHT_CAVE_PAID, 0;
set $@FIGHT_CAVE_PLAYER_COUNT, 0;
set $@FIGHT_CAVE_LEVEL, 1;
diff --git a/world/map/npc/030-2/_mobs.txt b/world/map/npc/030-2/_mobs.txt
index 4e45ffc1..664e8111 100644
--- a/world/map/npc/030-2/_mobs.txt
+++ b/world/map/npc/030-2/_mobs.txt
@@ -3,7 +3,7 @@
-030-2,0,0,0|script|Mob030-2|-1
+030-2,0,0,0|script|Mob030-2|32767
{
end;
}
diff --git a/world/map/npc/030-3/_mobs.txt b/world/map/npc/030-3/_mobs.txt
index 2831fc8d..9d4b3b43 100644
--- a/world/map/npc/030-3/_mobs.txt
+++ b/world/map/npc/030-3/_mobs.txt
@@ -3,7 +3,7 @@
-030-3,0,0,0|script|Mob030-3|-1
+030-3,0,0,0|script|Mob030-3|32767
{
end;
}
diff --git a/world/map/npc/030-4/_mobs.txt b/world/map/npc/030-4/_mobs.txt
index f9ab4f5e..97ff93a8 100644
--- a/world/map/npc/030-4/_mobs.txt
+++ b/world/map/npc/030-4/_mobs.txt
@@ -3,7 +3,7 @@
-030-4,0,0,0|script|Mob030-4|-1
+030-4,0,0,0|script|Mob030-4|32767
{
end;
}
diff --git a/world/map/npc/030-4/mana_battery.txt b/world/map/npc/030-4/mana_battery.txt
index c57e5ea5..9a198c21 100644
--- a/world/map/npc/030-4/mana_battery.txt
+++ b/world/map/npc/030-4/mana_battery.txt
@@ -438,7 +438,7 @@ S_ClearVariables:
return;
}
-030-4,0,0,0|script|#XmasChamberCooler|-1
+030-4,0,0,0|script|#XmasChamberCooler|32767
{
end;
OnCommandCoolDown:
diff --git a/world/map/npc/031-1/_mobs.txt b/world/map/npc/031-1/_mobs.txt
index 26374da6..d5a747fb 100644
--- a/world/map/npc/031-1/_mobs.txt
+++ b/world/map/npc/031-1/_mobs.txt
@@ -7,7 +7,7 @@
031-1,0,0,0,0|monster|WhiteBell|1095,4,100000ms,30000ms,Mob031-1::On1095
-031-1,0,0,0|script|Mob031-1|-1
+031-1,0,0,0|script|Mob031-1|32767
{
end;
diff --git a/world/map/npc/031-2/_mobs.txt b/world/map/npc/031-2/_mobs.txt
index 61d16cc9..ab4d5c66 100644
--- a/world/map/npc/031-2/_mobs.txt
+++ b/world/map/npc/031-2/_mobs.txt
@@ -3,7 +3,7 @@
-031-2,0,0,0|script|Mob031-2|-1
+031-2,0,0,0|script|Mob031-2|32767
{
end;
}
diff --git a/world/map/npc/031-3/_mobs.txt b/world/map/npc/031-3/_mobs.txt
index d22f769f..ccfb1199 100644
--- a/world/map/npc/031-3/_mobs.txt
+++ b/world/map/npc/031-3/_mobs.txt
@@ -92,7 +92,7 @@
031-3,52,285,14,9|monster|BlueSlime|1091,2,100000ms,30000ms,Mob031-3::On1091
-031-3,0,0,0|script|Mob031-3|-1
+031-3,0,0,0|script|Mob031-3|32767
{
end;
diff --git a/world/map/npc/031-4/_mobs.txt b/world/map/npc/031-4/_mobs.txt
index 45fe61d8..cc2f2d21 100644
--- a/world/map/npc/031-4/_mobs.txt
+++ b/world/map/npc/031-4/_mobs.txt
@@ -3,7 +3,7 @@
-031-4,0,0,0|script|Mob031-4|-1
+031-4,0,0,0|script|Mob031-4|32767
{
end;
}
diff --git a/world/map/npc/032-3/_mobs.txt b/world/map/npc/032-3/_mobs.txt
index b1a0c1d4..2e336d50 100644
--- a/world/map/npc/032-3/_mobs.txt
+++ b/world/map/npc/032-3/_mobs.txt
@@ -13,7 +13,7 @@
032-3,0,0,0,0|monster|Bat|1017,25,30000ms,100000ms,Mob032-3::On1017
-032-3,0,0,0|script|Mob032-3|-1
+032-3,0,0,0|script|Mob032-3|32767
{
end;
diff --git a/world/map/npc/033-1/_mobs.txt b/world/map/npc/033-1/_mobs.txt
index 6f86b16a..afbd35ed 100644
--- a/world/map/npc/033-1/_mobs.txt
+++ b/world/map/npc/033-1/_mobs.txt
@@ -7,7 +7,7 @@
033-1,0,0,0,0|monster|WhiteBell|1095,3,100000ms,30000ms,Mob033-1::On1095
-033-1,0,0,0|script|Mob033-1|-1
+033-1,0,0,0|script|Mob033-1|32767
{
end;
diff --git a/world/map/npc/033-1/barbarianinit.txt b/world/map/npc/033-1/barbarianinit.txt
index bf044bab..2523ebae 100644
--- a/world/map/npc/033-1/barbarianinit.txt
+++ b/world/map/npc/033-1/barbarianinit.txt
@@ -1,4 +1,4 @@
--|script|#barbarian033_1init|-1
+-|script|#barbarian033_1init|32767
{
end;
diff --git a/world/map/npc/034-1/_mobs.txt b/world/map/npc/034-1/_mobs.txt
index 0b2cc9b5..e02e496b 100644
--- a/world/map/npc/034-1/_mobs.txt
+++ b/world/map/npc/034-1/_mobs.txt
@@ -9,7 +9,7 @@
034-1,1,1,0,0|monster|IceGoblin|1058,25,100000ms,30000ms,Mob034-1::On1058
-034-1,0,0,0|script|Mob034-1|-1
+034-1,0,0,0|script|Mob034-1|32767
{
end;
diff --git a/world/map/npc/034-2/_mobs.txt b/world/map/npc/034-2/_mobs.txt
index c7fe5fe1..709fcb08 100644
--- a/world/map/npc/034-2/_mobs.txt
+++ b/world/map/npc/034-2/_mobs.txt
@@ -3,7 +3,7 @@
-034-2,0,0,0|script|Mob034-2|-1
+034-2,0,0,0|script|Mob034-2|32767
{
end;
}
diff --git a/world/map/npc/035-2/_mobs.txt b/world/map/npc/035-2/_mobs.txt
index 7f718921..899a8d04 100644
--- a/world/map/npc/035-2/_mobs.txt
+++ b/world/map/npc/035-2/_mobs.txt
@@ -3,7 +3,7 @@
-035-2,0,0,0|script|Mob035-2|-1
+035-2,0,0,0|script|Mob035-2|32767
{
end;
}
diff --git a/world/map/npc/036-2/_mobs.txt b/world/map/npc/036-2/_mobs.txt
index 3d4e9883..0cebfbc8 100644
--- a/world/map/npc/036-2/_mobs.txt
+++ b/world/map/npc/036-2/_mobs.txt
@@ -3,7 +3,7 @@
-036-2,0,0,0|script|Mob036-2|-1
+036-2,0,0,0|script|Mob036-2|32767
{
end;
}
diff --git a/world/map/npc/043-3/_mobs.txt b/world/map/npc/043-3/_mobs.txt
index 44c6c10f..085615a4 100644
--- a/world/map/npc/043-3/_mobs.txt
+++ b/world/map/npc/043-3/_mobs.txt
@@ -12,7 +12,7 @@
043-3,94,44,40,18|monster|GreenSlime|1005,5,30000ms,15000ms,Mob043-3::On1005
-043-3,0,0,0|script|Mob043-3|-1
+043-3,0,0,0|script|Mob043-3|32767
{
end;
diff --git a/world/map/npc/043-4/_mobs.txt b/world/map/npc/043-4/_mobs.txt
index 1ebb5b99..a06642d0 100644
--- a/world/map/npc/043-4/_mobs.txt
+++ b/world/map/npc/043-4/_mobs.txt
@@ -25,7 +25,7 @@
043-4,133,123,30,23|monster|Troll|1054,3,100000ms,50000ms,Mob043-4::On1054
-043-4,0,0,0|script|Mob043-4|-1
+043-4,0,0,0|script|Mob043-4|32767
{
end;
diff --git a/world/map/npc/045-1/_mobs.txt b/world/map/npc/045-1/_mobs.txt
index 7502a8c3..37357556 100644
--- a/world/map/npc/045-1/_mobs.txt
+++ b/world/map/npc/045-1/_mobs.txt
@@ -18,7 +18,7 @@
045-1,104,149,79,10|monster|IceGoblin|1058,4,100000ms,30000ms,Mob045-1::On1058
-045-1,0,0,0|script|Mob045-1|-1
+045-1,0,0,0|script|Mob045-1|32767
{
end;
diff --git a/world/map/npc/046-1/_mobs.txt b/world/map/npc/046-1/_mobs.txt
index 90bc7a5f..d5551ecd 100644
--- a/world/map/npc/046-1/_mobs.txt
+++ b/world/map/npc/046-1/_mobs.txt
@@ -14,7 +14,7 @@
046-1,145,67,10,9|monster|Wolvern|1090,2,100000ms,30000ms,Mob046-1::On1090
-046-1,0,0,0|script|Mob046-1|-1
+046-1,0,0,0|script|Mob046-1|32767
{
end;
diff --git a/world/map/npc/046-3/_mobs.txt b/world/map/npc/046-3/_mobs.txt
index 5d82dc0e..95c498ed 100644
--- a/world/map/npc/046-3/_mobs.txt
+++ b/world/map/npc/046-3/_mobs.txt
@@ -18,7 +18,7 @@
046-3,113,48,12,8|monster|Yeti|1072,2,100000ms,30000ms,Mob046-3::On1072
-046-3,0,0,0|script|Mob046-3|-1
+046-3,0,0,0|script|Mob046-3|32767
{
end;
diff --git a/world/map/npc/047-1/_mobs.txt b/world/map/npc/047-1/_mobs.txt
index fd2ca939..a502dcdf 100644
--- a/world/map/npc/047-1/_mobs.txt
+++ b/world/map/npc/047-1/_mobs.txt
@@ -25,7 +25,7 @@
047-1,132,70,4,5|monster|BlueSlime|1091,2,100000ms,30000ms,Mob047-1::On1091
-047-1,0,0,0|script|Mob047-1|-1
+047-1,0,0,0|script|Mob047-1|32767
{
end;
diff --git a/world/map/npc/047-3/_mobs.txt b/world/map/npc/047-3/_mobs.txt
index 3ceb7884..adf84729 100644
--- a/world/map/npc/047-3/_mobs.txt
+++ b/world/map/npc/047-3/_mobs.txt
@@ -24,7 +24,7 @@
047-3,121,172,9,8|monster|WhiteSlime|1093,7,100000ms,30000ms,Mob047-3::On1093
-047-3,0,0,0|script|Mob047-3|-1
+047-3,0,0,0|script|Mob047-3|32767
{
end;
diff --git a/world/map/npc/048-2/_mobs.txt b/world/map/npc/048-2/_mobs.txt
index 0c85dbac..87b5b1d4 100644
--- a/world/map/npc/048-2/_mobs.txt
+++ b/world/map/npc/048-2/_mobs.txt
@@ -3,7 +3,7 @@
-048-2,0,0,0|script|Mob048-2|-1
+048-2,0,0,0|script|Mob048-2|32767
{
end;
}
diff --git a/world/map/npc/048-2/bluesageConfig.txt b/world/map/npc/048-2/bluesageConfig.txt
index 0aeda5fc..bab552f8 100644
--- a/world/map/npc/048-2/bluesageConfig.txt
+++ b/world/map/npc/048-2/bluesageConfig.txt
@@ -51,7 +51,7 @@
// Bit 0: started the subquest
// Bit 1 - 7: each spawn point is unique and saved with a flag
--|script|#bluesageconfig|-1
+-|script|#bluesageconfig|32767
{
end;
diff --git a/world/map/npc/051-1/_mobs.txt b/world/map/npc/051-1/_mobs.txt
index 8e092790..752c527c 100644
--- a/world/map/npc/051-1/_mobs.txt
+++ b/world/map/npc/051-1/_mobs.txt
@@ -5,7 +5,7 @@
051-1,42,35,41,22|monster|SpikyMushroom|1019,10,100000ms,30000ms,Mob051-1::On1019
-051-1,0,0,0|script|Mob051-1|-1
+051-1,0,0,0|script|Mob051-1|32767
{
end;
diff --git a/world/map/npc/051-1/desertmonsters.txt b/world/map/npc/051-1/desertmonsters.txt
index 310566ce..a3497055 100644
--- a/world/map/npc/051-1/desertmonsters.txt
+++ b/world/map/npc/051-1/desertmonsters.txt
@@ -1,7 +1,7 @@
051-1,134,36,67,49|monster|SoulSnake|1096,12,100000ms,30000ms,IlliaDMobs051-1::On1096
// The soul snakes release a Sealed Soul at random, once the soul collecting is started
-051-1,0,0,0|script|IlliaDMobs051-1|-1
+051-1,0,0,0|script|IlliaDMobs051-1|32767
{
end;
diff --git a/world/map/npc/051-1/forestmonsters.txt b/world/map/npc/051-1/forestmonsters.txt
index 4942cf2b..4d646ed3 100644
--- a/world/map/npc/051-1/forestmonsters.txt
+++ b/world/map/npc/051-1/forestmonsters.txt
@@ -1,6 +1,6 @@
051-1,52,32,10,8|monster|GreenSlime|1005,20,100000ms,30000ms,IlliaFMobs051-1::On1005
-051-1,0,0,0|script|IlliaFMobs051-1|-1
+051-1,0,0,0|script|IlliaFMobs051-1|32767
{
end;
diff --git a/world/map/npc/051-3/_mobs.txt b/world/map/npc/051-3/_mobs.txt
index 0887b1de..711bf39c 100644
--- a/world/map/npc/051-3/_mobs.txt
+++ b/world/map/npc/051-3/_mobs.txt
@@ -19,7 +19,7 @@
051-3,60,94,18,5|monster|CopperSlime|1098,7,100000ms,60000ms,Mob051-3::On1098
-051-3,0,0,0|script|Mob051-3|-1
+051-3,0,0,0|script|Mob051-3|32767
{
end;
diff --git a/world/map/npc/051-3/jailslimes.txt b/world/map/npc/051-3/jailslimes.txt
index d153097a..8544fb1a 100644
--- a/world/map/npc/051-3/jailslimes.txt
+++ b/world/map/npc/051-3/jailslimes.txt
@@ -4,7 +4,7 @@
051-3,63,104,1,1|monster|CopperSlime|1098,1,60000ms,30000ms,IlliaCMobs051-3::On1098
051-3,70,111,1,1|monster|CopperSlime|1098,1,60000ms,30000ms,IlliaCMobs051-3::On1098
-051-3,0,0,0|script|IlliaCMobs051-3|-1
+051-3,0,0,0|script|IlliaCMobs051-3|32767
{
end;
diff --git a/world/map/npc/052-1/_mobs.txt b/world/map/npc/052-1/_mobs.txt
index 684c78fc..c386d5d1 100644
--- a/world/map/npc/052-1/_mobs.txt
+++ b/world/map/npc/052-1/_mobs.txt
@@ -4,7 +4,7 @@
052-1,55,29,43,39|monster|AzulSlime|1100,18,100000ms,20000ms,Mob052-1::On1100
-052-1,0,0,0|script|Mob052-1|-1
+052-1,0,0,0|script|Mob052-1|32767
{
end;
diff --git a/world/map/npc/052-2/_mobs.txt b/world/map/npc/052-2/_mobs.txt
index 916b6761..1fb96829 100644
--- a/world/map/npc/052-2/_mobs.txt
+++ b/world/map/npc/052-2/_mobs.txt
@@ -3,7 +3,7 @@
-052-2,0,0,0|script|Mob052-2|-1
+052-2,0,0,0|script|Mob052-2|32767
{
end;
}
diff --git a/world/map/npc/055-1/_mobs.txt b/world/map/npc/055-1/_mobs.txt
index a1226612..35741d32 100644
--- a/world/map/npc/055-1/_mobs.txt
+++ b/world/map/npc/055-1/_mobs.txt
@@ -20,7 +20,7 @@
055-1,0,0,0,0|monster|SpikyMushroom|1019,7,10000ms,60000ms,Mob055-1::On1019
-055-1,0,0,0|script|Mob055-1|-1
+055-1,0,0,0|script|Mob055-1|32767
{
end;
diff --git a/world/map/npc/055-1/pumpkins.txt b/world/map/npc/055-1/pumpkins.txt
index 528546bd..96931e04 100644
--- a/world/map/npc/055-1/pumpkins.txt
+++ b/world/map/npc/055-1/pumpkins.txt
@@ -4,7 +4,7 @@
055-1,132,24,6,4|monster|Pumpkin|1063,4,10000ms,5000ms,PumpkinMob055-1::On1063
-055-1,0,0,0|script|PumpkinMob055-1|-1
+055-1,0,0,0|script|PumpkinMob055-1|32767
{
end;
diff --git a/world/map/npc/055-3/_mobs.txt b/world/map/npc/055-3/_mobs.txt
index 071d0347..bc14b844 100644
--- a/world/map/npc/055-3/_mobs.txt
+++ b/world/map/npc/055-3/_mobs.txt
@@ -11,7 +11,7 @@
055-3,52,78,36,23|monster|BlackScorpion|1009,3,50000ms,100000ms,Mob055-3::On1009
-055-3,0,0,0|script|Mob055-3|-1
+055-3,0,0,0|script|Mob055-3|32767
{
end;
diff --git a/world/map/npc/056-2/_mobs.txt b/world/map/npc/056-2/_mobs.txt
index b4690913..267e0d8a 100644
--- a/world/map/npc/056-2/_mobs.txt
+++ b/world/map/npc/056-2/_mobs.txt
@@ -3,7 +3,7 @@
-056-2,0,0,0|script|Mob056-2|-1
+056-2,0,0,0|script|Mob056-2|32767
{
end;
}
diff --git a/world/map/npc/057-1/_mobs.txt b/world/map/npc/057-1/_mobs.txt
index 48bdaa2b..5988ce83 100644
--- a/world/map/npc/057-1/_mobs.txt
+++ b/world/map/npc/057-1/_mobs.txt
@@ -21,7 +21,7 @@
057-1,27,46,14,52|monster|Squirrel|1038,6,10000ms,50000ms,Mob057-1::On1038
-057-1,0,0,0|script|Mob057-1|-1
+057-1,0,0,0|script|Mob057-1|32767
{
end;
diff --git a/world/map/npc/annuals/fathertime.txt b/world/map/npc/annuals/fathertime.txt
index 53912f86..852b0025 100644
--- a/world/map/npc/annuals/fathertime.txt
+++ b/world/map/npc/annuals/fathertime.txt
@@ -1,6 +1,6 @@
// Annual Timer
// One timer to check to enable all holiday events
-017-9,26,28,0|script|#HolidayConfig|-1
+017-9,26,28,0|script|#HolidayConfig|32767
{
end;
diff --git a/world/map/npc/annuals/halloween/config.txt b/world/map/npc/annuals/halloween/config.txt
index 8e9169e8..34ffb875 100644
--- a/world/map/npc/annuals/halloween/config.txt
+++ b/world/map/npc/annuals/halloween/config.txt
@@ -81,7 +81,7 @@
// BIT 30: NPC #1
// BIT 31: NPC #0
--|script|#HalloweenConfig|-1
+-|script|#HalloweenConfig|32767
{
end;
diff --git a/world/map/npc/annuals/xmas/config.txt b/world/map/npc/annuals/xmas/config.txt
index b7a6de82..90eab504 100644
--- a/world/map/npc/annuals/xmas/config.txt
+++ b/world/map/npc/annuals/xmas/config.txt
@@ -38,7 +38,7 @@
// 30: Helper Bit
// 31: Side Choosen: Naughty vs. Nice
--|script|#XmasConfig|-1
+-|script|#XmasConfig|32767
{
end;
diff --git a/world/map/npc/botcheck/_mobs.txt b/world/map/npc/botcheck/_mobs.txt
index a7151fe7..91d023cd 100644
--- a/world/map/npc/botcheck/_mobs.txt
+++ b/world/map/npc/botcheck/_mobs.txt
@@ -3,7 +3,7 @@
-botcheck,0,0,0|script|Mobbotcheck|-1
+botcheck,0,0,0|script|Mobbotcheck|32767
{
end;
}
diff --git a/world/map/npc/functions/DyeConfig.txt b/world/map/npc/functions/DyeConfig.txt
index 0072dd26..e2d9640e 100644
--- a/world/map/npc/functions/DyeConfig.txt
+++ b/world/map/npc/functions/DyeConfig.txt
@@ -1,4 +1,4 @@
-009-2,32,105,0|script|#DyeChecker|-1
+009-2,32,105,0|script|#DyeChecker|32767
{
end;
OnInit:
diff --git a/world/map/npc/functions/announcements.txt b/world/map/npc/functions/announcements.txt
new file mode 100644
index 00000000..cd4e3b80
--- /dev/null
+++ b/world/map/npc/functions/announcements.txt
@@ -0,0 +1,14 @@
+function|script|DisplayMOTD
+{
+ if($@MOTD_Disabled || $@MOTD$[0] == "") goto L_Return;
+ goto L_MOTD;
+
+L_MOTD:
+ message strcharinfo(0), "##7Server : " + $@MOTD$[@motd_index];
+ set @motd_index, @motd_index + 1;
+ if($@MOTD$[@motd_index] == "") goto L_Return;
+ goto L_MOTD;
+
+L_Return:
+ return;
+}
diff --git a/world/map/npc/functions/clear_vars.txt b/world/map/npc/functions/clear_vars.txt
index f26164df..76365f07 100644
--- a/world/map/npc/functions/clear_vars.txt
+++ b/world/map/npc/functions/clear_vars.txt
@@ -437,5 +437,5 @@ L_EventClear:
// Variable was used in Voltain's script, was renamed and turned into a temporary variable
set $state, 0;
- end;
+ return;
}
diff --git a/world/map/npc/functions/debug.txt b/world/map/npc/functions/debug.txt
index df942241..f20d27b8 100755
--- a/world/map/npc/functions/debug.txt
+++ b/world/map/npc/functions/debug.txt
@@ -2,7 +2,12 @@
function|script|Debug
{
- goto L_Begin;
+ if(!@debug_npc) goto L_Begin;
+ mes "The debug NPCs have been deprecated. Please use this magic spell instead:";
+ mes "";
+ mes "%%E ##a"+ getspellinvocation("debug0") +"##0";
+ set @debug_npc, 0;
+ close;
L_Begin:
set @debug_mask, 65535;
@@ -919,6 +924,7 @@ L_Close:
029-2,30,26,0|script|Debug#0|154
{
+ set @debug_npc, 1;
callfunc "Debug";
end;
OnInit:
@@ -929,6 +935,7 @@ OnInit:
001-1,53,47,0|script|Debug#1|154
{
+ set @debug_npc, 1;
callfunc "Debug";
end;
OnInit:
@@ -939,6 +946,7 @@ OnInit:
009-1,45,33,0|script|Debug#2|154
{
+ set @debug_npc, 1;
callfunc "Debug";
end;
OnInit:
@@ -949,6 +957,7 @@ OnInit:
020-1,75,85,0|script|Debug#3|154
{
+ set @debug_npc, 1;
callfunc "Debug";
end;
OnInit:
@@ -957,18 +966,9 @@ OnInit:
end;
}
-017-9,21,24,0|script|Debug#4|154
-{
- callfunc "Debug";
- end;
-OnInit:
- if (!debug)
- disablenpc "Debug#4";
- end;
-}
-
027-2,125,103,0|script|Debug#5|154
{
+ set @debug_npc, 1;
callfunc "Debug";
end;
OnInit:
diff --git a/world/map/npc/functions/ferry.txt b/world/map/npc/functions/ferry.txt
index e0d68707..9d1a9ba8 100644
--- a/world/map/npc/functions/ferry.txt
+++ b/world/map/npc/functions/ferry.txt
@@ -1,6 +1,6 @@
// The ferry system
-017-9,27,28,0|script|#FerryConfig|-1
+017-9,27,28,0|script|#FerryConfig|32767
{
end;
diff --git a/world/map/npc/functions/game_rules.txt b/world/map/npc/functions/game_rules.txt
index d0b30c0d..cb72dfec 100644
--- a/world/map/npc/functions/game_rules.txt
+++ b/world/map/npc/functions/game_rules.txt
@@ -3,8 +3,8 @@
function|script|GameRules
{
- mes "[Server Game Rules]";
- mes "Please Select Language.";
+ mes "[Game Rules]";
+ mes "Please select a language:";
menu
"English", L_English,
"Deutsch (German)", L_German,
@@ -15,28 +15,30 @@ function|script|GameRules
"Svenska (Swedish)", L_Swedish,
"Portugues (Portuguese)", L_Portuguese,
"Polski (Polish)", L_Polish,
- "Italiano (Italian)", L_Italian;
+ "Italiano (Italian)", L_Italian,
+ "繁體中文 (Traditional Chinese)", L_zhHant,
+ "Русский (Russian)", L_Russian;
L_English:
- mes "Players breaking the following rules may be banned (up to and including a permanent ban) or have their characters reset at the GM's discretion:";
- mes "1. Do not abuse other players (insults, swearing, and the like directed to a particular person or persons)";
- mes "2. No bots (including ANY AFK activity or automated following)";
- mes "3. No spamming / flooding (including trade spam)";
- mes "4. No begging";
- mes "5. Speak English on public chat";
- mes "6. Treat others the same way you would like to be treated";
+ mes "Players breaking the following rules may be banned for any length of time (even permanently) or have their characters reset at a GM's discretion:";
+ mes "1) Do not abuse other players. Insults, swearing, and the like are not to be directed towards a particular person or group.";
+ mes "2) No bots – including ##Bany##b AFK activity or automated actions of any sort.";
+ mes "3) No spamming or flooding (including messages, whispers, and trade requests).";
+ mes "4) No begging.";
+ mes "5) Speak ##Bonly##b English in the public chat.";
+ mes "6) Treat others how you would like to be treated.";
mes "AFK botting will be determined by talking to players who are moving and/or attacking.";
mes "Automated following will be determined by observation.";
goto L_End;
L_German:
mes "Wir bitten um das Einhalten folgender Regeln:";
- mes "1. Keine Beleidigungen, Schimpfwörter, Schmähungen oder Rufmord.";
- mes "2. Keine 'bots' (automatisierte Spieler). Dies beinhaltet JEGLICHE Teilnahme am Spiel während der Abwesenheit des Spielers. Es beinhaltet auch das automatisierte Folgen anderer Spieler.";
- mes "3. Kein 'spamming' oder 'flooding' (schnelles Wiederholen von Nachrichten oder Aufforderungen zum Warenhandel).";
- mes "4. Kein Betteln.";
- mes "5. Englisch ist die einzig zulässige Sprache im öffentlichen Raum.";
- mes "6. Behandele andere so, wie du selbst behandelt werden willst.";
+ mes "1) Keine Beleidigungen, Schimpfwörter, Schmähungen oder Rufmord.";
+ mes "2) Keine 'bots' (automatisierte Spieler). Dies beinhaltet JEGLICHE Teilnahme am Spiel während der Abwesenheit des Spielers. Es beinhaltet auch das automatisierte Folgen anderer Spieler.";
+ mes "3) Kein 'spamming' oder 'flooding' (schnelles Wiederholen von Nachrichten oder Aufforderungen zum Warenhandel).";
+ mes "4) Kein Betteln.";
+ mes "5) Englisch ist die einzig zulässige Sprache im öffentlichen Raum.";
+ mes "6) Behandele andere so, wie du selbst behandelt werden willst.";
mes "Jegliche Regelverstöße können bestraft werden, entweder durch ein Zurücksetzen der Charaktereigenschaften und -besitztümer auf den Ausgangszustand, oder durch einen temporären oder permanenten Ausschluss aus dem Spiel.";
mes "Automatisiertes Spielverhalten liegt vor, wenn ein sich bewegender/kämpfender Spieler nicht intelligent auf Gesprächsaufforderungen reagiert.";
goto L_End;
@@ -44,98 +46,121 @@ L_German:
L_Dutch:
mes "ATTENTION: this translation is outdated. Please refer to the English version and submit a patch.";
mes "Spelers die de volgende regels overtreden lopen het risico gebanned te worden (oplopend tot een permanente ban) of een reset te krijgen:";
- mes "1. Misbruik geen andere spelers (vloeken, groftaal gebruik, enzovoort tegen een bepaalde persoon of personen)";
- mes "2. Geen 'bots' (geautomatiseerde speler) en botten betekend ELKE activiteit terwijl je van je toetsenboord weg bent";
- mes "3. Verboden te 'spammen' (inclusief het spammen van ruilaanvragen)";
- mes "4. Verboden te bedelen";
- mes "5. Spreek Engels op de publieke chat";
- mes "6. Behandel andere zoals ook jij behandeld wilt worden";
+ mes "1) Misbruik geen andere spelers (vloeken, groftaal gebruik, enzovoort tegen een bepaalde persoon of personen)";
+ mes "2) Geen 'bots' (geautomatiseerde speler) en botten betekend ELKE activiteit terwijl je van je toetsenboord weg bent";
+ mes "3) Verboden te 'spammen' (inclusief het spammen van ruilaanvragen)";
+ mes "4) Verboden te bedelen";
+ mes "5) Spreek Engels op de publieke chat";
+ mes "6) Behandel andere zoals ook jij behandeld wilt worden";
mes "Botten word bepaald door te praten tegen spelers die aan het bewegen en/of aanvallen zijn.";
goto L_End;
L_Danish:
mes "ATTENTION: this translation is outdated. Please refer to the English version and submit a patch.";
mes "Spillere der ikke overholder de foelgende regner, kan risikere at blive banned (op til et permanent ban) eller faa deres bruger nulstillet af en spilmester (GM).";
- mes "1. Misbrug ikke medspillere (fornaerm dem ikke, svaerg ikke og mobning er forbudt)";
- mes "2. Det er forbudt at bruge bots (Botting betyder at man er aktiv inde i spillet, imens man er vaek fra ens keyboard)";
- mes "3. Det er forbudt at spamme i chatten, eller lave trade spam (spamme betyder at man sender mange beskeder efter hinanden)";
- mes "4. Det er forbudt at tigge (for eksempel: Maa jeg ikke nok faa dit svaerd, kom nu, vaer nu soed... og saa videre)";
- mes "5. Det er forbudt at snakke andre sprog end Engelsk, i den aabne chat. (Dog er det lovligt ved at bruge foelgende kommandoen /whisper)";
- mes "6. Husk at goere mod andre, som du vil have de skal goere imod dig (opfoer dig ordenligt!)";
+ mes "1) Misbrug ikke medspillere (fornaerm dem ikke, svaerg ikke og mobning er forbudt)";
+ mes "2) Det er forbudt at bruge bots (Botting betyder at man er aktiv inde i spillet, imens man er vaek fra ens keyboard)";
+ mes "3) Det er forbudt at spamme i chatten, eller lave trade spam (spamme betyder at man sender mange beskeder efter hinanden)";
+ mes "4) Det er forbudt at tigge (for eksempel: Maa jeg ikke nok faa dit svaerd, kom nu, vaer nu soed... og saa videre)";
+ mes "5) Det er forbudt at snakke andre sprog end Engelsk, i den aabne chat. (Dog er det lovligt ved at bruge foelgende kommandoen /whisper)";
+ mes "6) Husk at goere mod andre, som du vil have de skal goere imod dig (opfoer dig ordenligt!)";
mes "Botting bliver fastlagt paa grundlag af, at man snakker til andre spillere, der gaar rundt og/eller der angriber og de ikke svare igen.";
goto L_End;
L_French:
- mes "ATTENTION: this translation is outdated. Please refer to the English version and submit a patch.";
- mes "Les joueurs ne respectant pas les regles suivantes pourront, a la discretion des moderateurs (GM), etre bannis (jusqu'au banissement eternel inclus) ou avoir leur personnage reinitialise:*";
- mes "1. Ne manquez pas de respect envers les autres joueurs (insultes, language grossier, et autres choses du meme genre a l'intention d'un(e) joueur(se) en particulier ou d'un groupe de joueurs(ses))";
- mes "2. N'utilisez pas de \"bot\" (ceci inclus n'importe quelle activite dans le jeu en etant loin du clavier, dont poser un objet sur le clavier pour attaquer automatiquement les monstres)";
- mes "3. Ne faites pas de publicite inadequate (spam) et de repetitions intempestives (flood) (ceci inclus la repetition de demande de troc (trade))";
- mes "4. Ne demandez pas d'items ou d'argent (les echanges doivent se faire de preference sur forums.themanaworld.org)";
- mes "5. Parlez anglais dans les salons de discussions publics (principalement en ville)";
- mes "6. Traitez les autres de la meme maniere que vous voudriez etre traite(e)";
- mes "L'utilisation de \"bot\" sera determinee en parlant aux joueurs(ses) en train de bouger et/ou d'attaquer.";
+ mes "Les joueurs enfreignant les règles suivantes sont sujets, à la discrétion des modérateurs, au banissement temporaire ou permanent de leur compte ou à une réinitialisation de leur personnage.";
+ mes "1) Aucun abus envers autrui n'est toléré. Ceci inclus (mais n'est pas restreint à) les insultes, le non-respect, le langage grossier, le racisme, l'homophobie, etc.";
+ mes "2) Toute forme d'automatisation (bot) est interdite. Ceci inclus toute activité effectuée sans la presence de l'utilisateur (botting) ou le suivi automatique d'un personnage (following).";
+ mes "3) Le spam / l'envoi répeté d'un même message est interdit.";
+ mes "4) Pas de mendiant. Ne demandez pas d'items ou de l'argent aux autres joueurs.";
+ mes "5) Vous devez impérativement parler anglais dans l'onglet General. Les autres langues sont autorisées dans les conversations privées (Whisper), les guildes (Guild), ou les groupes (Party).";
+ mes "6) Traitez les autres joueurs de la façon dont vous voudriez être traité.";
+ mes "L'utilisation de logiciel d'automatisation (bot) sera vérifiée en parlent aux joueurs en mouvement et/ou attaquant.";
+ mes "Le déplacement automatique (following) sera déterminé par observation.";
goto L_End;
L_Spanish:
mes "Los jugadores que rompan las siguientes reglas pueden ser bloqueados (incluso permanentemente), o se les restablecerán sus personajes, según el criterio del GM:";
- mes "1. No abusar de otros jugadores (insultos, malas palabras, y similares dirigidas a una o varias personas)";
- mes "2. No utilizar programas automáticos (incluyendo el seguimiento automático y CUALQUIER otra actividad mientras el jugador está lejos del teclado)";
- mes "3. No enviar mensajes publicitarios ni inundar el chat de mensajes (incluyendo los mensajes de intercambio)";
- mes "4. No mendigar.";
- mes "5. Hablar únicamente en Inglés en el chat público";
- mes "6. Tratar a los demás de la misma forma que le gustaría ser tratado";
+ mes "1) No abusar de otros jugadores (insultos, malas palabras, y similares dirigidas a una o varias personas)";
+ mes "2) No utilizar programas automáticos (incluyendo el seguimiento automático y CUALQUIER otra actividad mientras el jugador está lejos del teclado)";
+ mes "3) No enviar mensajes publicitarios ni inundar el chat de mensajes (incluyendo los mensajes de intercambio)";
+ mes "4) No mendigar.";
+ mes "5) Hablar únicamente en Inglés en el chat público";
+ mes "6) Tratar a los demás de la misma forma que le gustaría ser tratado";
mes "El uso de programas automáticos para jugar sin estar frente al teclado será determinado al hablar con los jugadores que estén moviéndose y/o atacando.";
mes "El seguimiento automático será determinado por observación.";
goto L_End;
L_Swedish:
mes "Spelare som bryter mot dessa regler riskerar att bli utkastade eller portade (antingen under kort period eller permanent), den som blivit portad/bannlyst ut kan be en GM om att starta om sitt konto.";
- mes "1. Förolämpa inte medspelare (svordomar och annat riktat till att skada en eller flera individer)";
- mes "2. Inga bottar (med bottande avses ALLA aktiviteter som sker när spelaren inte aktivt spelar eller styr sin karraktär)";
- mes "3. Inget spammande/floodande (inklusive meddelanden om byteshandel)";
- mes "4. Tigg inte";
- mes "5. Prata bara engelska i den offentliga chatten";
- mes "6. Behandla andra som du vill bli behandlad";
+ mes "1) Förolämpa inte medspelare (svordomar och annat riktat till att skada en eller flera individer)";
+ mes "2) Inga bottar (med bottande avses ALLA aktiviteter som sker när spelaren inte aktivt spelar eller styr sin karraktär)";
+ mes "3) Inget spammande/floodande (inklusive meddelanden om byteshandel)";
+ mes "4) Tigg inte";
+ mes "5) Prata bara engelska i den offentliga chatten";
+ mes "6) Behandla andra som du vill bli behandlad";
mes "Vid misstankar om bottande kontrolleras detta genom att prata med spelaren under dess kringvandrande eller attackerande.";
goto L_End;
L_Portuguese:
mes "ATTENTION: this translation is outdated. Please refer to the English version and submit a patch.";
mes "Jogadores que quebrarem as regras que se seguem serao banidos (temporariamente ou permanentemente), ou a possibilidade dos caracteres serem limpos a descricao do Mestre do Jogo (GM).";
- mes "1. Nao tratar mal os outros jogadores (isto, insultar, dizer palavroes ou chamar nomes a pessoas em particular, etc.)";
- mes "2. Proibido \"botting\", que quer dizer qualquer actividade do caracter enquanto o jogador estiver longe do teclado.";
- mes "3. Nao abusar da caixa de texto com mensagens repetitivas, ou abusar da funcao de trocar com outros jogadores.";
- mes "4. Pedintes serao ignorados, ou banidos.";
- mes "5. Fale ingles em lugares publicos.";
- mes "6. Trate os outros da mesma maneira que quer ser tratado(a).";
+ mes "1) Nao tratar mal os outros jogadores (isto, insultar, dizer palavroes ou chamar nomes a pessoas em particular, etc.)";
+ mes "2) Proibido \"botting\", que quer dizer qualquer actividade do caracter enquanto o jogador estiver longe do teclado.";
+ mes "3) Nao abusar da caixa de texto com mensagens repetitivas, ou abusar da funcao de trocar com outros jogadores.";
+ mes "4) Pedintes serao ignorados, ou banidos.";
+ mes "5) Fale ingles em lugares publicos.";
+ mes "6) Trate os outros da mesma maneira que quer ser tratado(a).";
mes "O \"botting\" sera determinado, falando com os jogadores que se movem e/ou atacam.";
goto L_End;
L_Polish:
mes "ATTENTION: this translation is outdated. Please refer to the English version and submit a patch.";
mes "Konta graczy lamiacych nastepujace zasady moga zostac zablokowane (w niektorych przypadkach nawet nieodwolalnie) lub zresetowane przez GM:";
- mes "1. Nie wykorzystuj innych graczy (wymuszenia, przeklinanie, itp.)";
- mes "2. Zabrania sie korzystania z botow (przez boty rozumiemy kazda aktywnosc gdy gracz przebywa z dala od klawiatury)";
- mes "3. Zabrania sie spamowania / flodowania (wliczajac takze natarczywe oferty handlowe)";
- mes "4. Zabrania sie zebrania";
- mes "5. Na publicznym kanale rozmawiamy po angielsku";
- mes "6. Traktuj innych tak jak sam chcesz byc traktowany";
+ mes "1) Nie wykorzystuj innych graczy (wymuszenia, przeklinanie, itp.)";
+ mes "2) Zabrania sie korzystania z botow (przez boty rozumiemy kazda aktywnosc gdy gracz przebywa z dala od klawiatury)";
+ mes "3) Zabrania sie spamowania / flodowania (wliczajac takze natarczywe oferty handlowe)";
+ mes "4) Zabrania sie zebrania";
+ mes "5) Na publicznym kanale rozmawiamy po angielsku";
+ mes "6) Traktuj innych tak jak sam chcesz byc traktowany";
mes "Uzywanie botow zostanie okreslone na podstawie rozmow z innymi graczami podczas aktywnosci gracza.";
goto L_End;
L_Italian:
mes "Gli account dei giocatori che infrangeranno le seguenti regole verranno bloccati (anche permanentemente) o i loro personaggi saranno resettati, a discrezione dei GM:";
- mes "1. Non trattare male gli altri giocatori (questo include insulti, imprecazioni, e simili, diretti verso una persona in particolare o verso gruppi di persone)";
- mes "2. Non usare bot (ossia non effettuare NESSUNA attività quando non si è al computer)";
- mes "3. Non effettuare spam o scrivere ripetutamente messaggi inutili (incluso spam con richieste di scambio)";
- mes "4. Non fare il mendicante, ovvero non importunare gli altri chiedendo soldi o oggetti";
- mes "5. Non parlare altre lingue al di fuori dell'inglese nella chat pubblica";
- mes "6. Non fare agli altri ciò che non vuoi sia fatto a te.";
+ mes "1) Non trattare male gli altri giocatori (questo include insulti, imprecazioni, e simili, diretti verso una persona in particolare o verso gruppi di persone)";
+ mes "2) Non usare bot (ossia non effettuare NESSUNA attività quando non si è al computer)";
+ mes "3) Non effettuare spam o scrivere ripetutamente messaggi inutili (incluso spam con richieste di scambio)";
+ mes "4) Non fare il mendicante, ovvero non importunare gli altri chiedendo soldi o oggetti";
+ mes "5) Non parlare altre lingue al di fuori dell'inglese nella chat pubblica";
+ mes "6) Non fare agli altri ciò che non vuoi sia fatto a te.";
mes "I bot saranno individuati scrivendo ai giocatori sospetti che attaccano o camminano, esaminandone le risposte e i movimenti.";
mes "Chiunque segua automaticamente un altro giocatore senza dimostrare di non essere un bot, verrà considerato come tale.";
goto L_End;
+L_zhHant:
+ mes "以下為TMW的遊戲規則,違反的玩家會被封鎖(有機會永久封鎖)或重設遊戲資料:";
+ mes "1) 不要謾罵其他玩家 (侮辱, 粗言穢語, 或針對某玩家的攻擊)";
+ mes "2) 禁止外掛(所有玩家離開電腦時的活動)";
+ mes "3) 禁止外掛(所有玩家離開電腦時的活動)";
+ mes "4) 不可乞討";
+ mes "5) 在公開場合需說英語";
+ mes "6) 己所不欲,勿施於人";
+ mes "離開鍵盤的外掛玩家會經對話的方式識別。";
+ goto L_End;
+
+L_Russian:
+ mes "Игроки, уличенные в нарушении следующих правил, могут быть забанены (включая пожизненный бан) или столкнутся с тем, что их игровая статистика и опыт будут понижены, на усмотрение модераторов GM:";
+ mes "1) Не обижайте других игроков (оскорбления, ругательства и иное, направленное на унижения достоинства отдельного человека или людей).";
+ mes "2) Никаких ботов (включая любую активность, происходящую без взаимодействия с клавиатурой (AFK), а также автоматическое следование за игроком).";
+ mes "3) Никакого спама и флуда (включая навязчивую торговлю).";
+ mes "4) Запрещено попрошайничество.";
+ mes "5) Во время публичного общения надлежит использовать английский язык.";
+ mes "6) Обращайтесь с другими так, как вы хотели, чтобы другие с вами обращались.";
+ mes "Активность, происходящая без взаимодействия с клавиатурой (AFK) будет определяться путем общения с авто- перемещающимися и атакующими игроками.";
+ mes "Автоматическое следование за игроком будет выявляться путем наблюдения.";
+ goto L_End;
+
L_End:
if (TUT_var == 0)
set TUT_var, gettimetick(2);
diff --git a/world/map/npc/functions/global_event_handler.txt b/world/map/npc/functions/global_event_handler.txt
index 9ce44a38..04f89159 100644
--- a/world/map/npc/functions/global_event_handler.txt
+++ b/world/map/npc/functions/global_event_handler.txt
@@ -3,7 +3,7 @@
//
// Author: meko
--|script|#GlobalHandler|-1
+-|script|#GlobalHandler|32767
{
end;
@@ -11,6 +11,7 @@ OnPCLoginEvent:
set @login_event, 1;
callfunc "getHeadStyles"; // converts class, color and hair
callfunc "ClearVariables"; // removes / converts old variables
+ callfunc "DisplayMOTD"; // send the motd to the client, if enabled
// add more here
set @login_event, 2;
end;
@@ -30,5 +31,6 @@ OnPCDieEvent:
OnInit: //fixme: change to OnInterIfInit
callfunc "ClearGlobalVars";
+ callfunc "MOTD"; // set the MOTD array
end;
}
diff --git a/world/map/npc/functions/gm_island.txt b/world/map/npc/functions/gm_island.txt
index 5efe105e..94c745a7 100644
--- a/world/map/npc/functions/gm_island.txt
+++ b/world/map/npc/functions/gm_island.txt
@@ -1,5 +1,5 @@
// Add Localized Warp in town centers and Message to GM Island
--|script|#GmConfig|-1
+-|script|#GmConfig|32767
{
end;
diff --git a/world/map/npc/functions/motd.txt.example b/world/map/npc/functions/motd.txt.example
new file mode 100644
index 00000000..082d31d6
--- /dev/null
+++ b/world/map/npc/functions/motd.txt.example
@@ -0,0 +1,11 @@
+function|script|MOTD
+{
+ setarray $@MOTD$,
+
+ "Welcome to The Mana World! (running on tmwAthena)",
+ "[@@http://ow.ly/MCesp|Website & Wiki@@] [@@http://ow.ly/MCeBR|Vote For GMs@@] [@@http://ow.ly/MCehc|Bug Reports@@] [@@http://ow.ly/MCe5W|Live Support@@]",
+ "Like us on [@@http://ow.ly/MCdZW|Facebook@@] [@@http://ow.ly/MCdTt|G+@@] [@@http://ow.ly/MCdJR|Youtube@@] [@@http://ow.ly/MCePp|Twitter@@]",
+ "You can report abuse by typing in chat: @wgm Player XYZ is abusing me";
+
+ return;
+}
diff --git a/world/map/npc/functions/travelers.txt b/world/map/npc/functions/travelers.txt
index 6b2103d8..aec700d0 100644
--- a/world/map/npc/functions/travelers.txt
+++ b/world/map/npc/functions/travelers.txt
@@ -6,7 +6,7 @@
// Costs Zeny
// Contains all warp points to find
-017-9,27,28,0|script|#TravelConfig|-1
+017-9,27,28,0|script|#TravelConfig|32767
{
end;
diff --git a/world/map/npc/items/unequipcb.txt b/world/map/npc/items/unequipcb.txt
index 1d269d3a..70480acb 100644
--- a/world/map/npc/items/unequipcb.txt
+++ b/world/map/npc/items/unequipcb.txt
@@ -2,7 +2,7 @@
// on any map because of the -1 at the end.
// Note: the client (I think) has a display bug if this is called
// during the intial connection's equip hook
-017-9,0,0,0|script|UnequipCB|-1
+017-9,0,0,0|script|UnequipCB|32767
{
end;
diff --git a/world/map/npc/scripts.conf b/world/map/npc/scripts.conf
index 1414f681..39ad7d92 100644
--- a/world/map/npc/scripts.conf
+++ b/world/map/npc/scripts.conf
@@ -28,6 +28,8 @@ npc: npc/functions/stat_reset.txt
npc: npc/functions/quiz.txt
npc: npc/functions/dynamic_menu.txt
npc: npc/functions/DyeConfig.txt
+npc: npc/functions/announcements.txt
+npc: npc/functions/motd.txt
// Item Functions
npc: npc/items/magic_gm_top_hat.txt