summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-01-30 16:17:59 -0300
committerJesusaves <cpntb1@ymail.com>2022-03-07 22:20:41 -0300
commitba8e167c4237e91dbd009c21577c815cc5435d42 (patch)
treeb7c34fa322796814edfae34244355ee534567b40
parentd527711f2d72e4806d96132e99433eba68a44a8a (diff)
downloadserverdata-ba8e167c4237e91dbd009c21577c815cc5435d42.tar.gz
serverdata-ba8e167c4237e91dbd009c21577c815cc5435d42.tar.bz2
serverdata-ba8e167c4237e91dbd009c21577c815cc5435d42.tar.xz
serverdata-ba8e167c4237e91dbd009c21577c815cc5435d42.zip
Work with mapmasks and set variable as the event duration is now two days.
The event had to be extended because Prsm usually doesn't logins on Saturdays.
-rw-r--r--world/map/npc/003-1/npcs.txt1
-rw-r--r--world/map/npc/annuals/2022.txt8
2 files changed, 9 insertions, 0 deletions
diff --git a/world/map/npc/003-1/npcs.txt b/world/map/npc/003-1/npcs.txt
index 1aa0aff9..833c8ffd 100644
--- a/world/map/npc/003-1/npcs.txt
+++ b/world/map/npc/003-1/npcs.txt
@@ -1,5 +1,6 @@
003-1,27,73,0|script|Tybalt#2006|184
{
+ if ($@PRSM_PARTY) message strcharinfo(0), strnpcinfo(1) + " : Prsm is one of the eldest clients on The Mana World Bank, of course I would come to his party.";
set @npcname$, "Tybalt";
callfunc "Banker";
close;
diff --git a/world/map/npc/annuals/2022.txt b/world/map/npc/annuals/2022.txt
index 16dfa948..d1e473fa 100644
--- a/world/map/npc/annuals/2022.txt
+++ b/world/map/npc/annuals/2022.txt
@@ -91,6 +91,7 @@ function|script|P22Login
L_Warp:
set #X21, 5;
warp "003-1", 45, 24;
+ mapmask 1 | 2;
return;
L_Return:
@@ -99,6 +100,8 @@ L_Return:
003-1,41,24,0|script|Constable Bob#P21|419
{
+ if (!$@PRSM_PARTY) goto L_Over;
+ mapmask 1 | 2;
mes "[Constable Bob]";
mes "\"Hello, and welcome to the celebration I've prepared for my best friend and comrade in keeping The Mana World safe: ##BPrsm##b.\"";
next;
@@ -110,6 +113,11 @@ L_Return:
mes "\"Which is why I asked the admins for mass warp powers and the devs to prepare a party; this is the least I could do for my friend. Please enjoy yourself while you're here, and once you're done, you can leave with the south gate.\"";
close;
+L_Over:
+ mes "[Constable Bob]";
+ mes "\"The party is over; Please leave with the south gate before the developers seal it off again.\"";
+ close;
+
OnInit:
goto OnClock0000;