summaryrefslogtreecommitdiff
path: root/world/map/npc/009-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-01-30 16:45:06 -0300
committerJesusaves <cpntb1@ymail.com>2022-03-07 22:20:41 -0300
commitf64a23064f64fc534e7cdf7afebc3c4e7060a2ee (patch)
tree2c61eee9245eff50a533fbe4a90e0aee0c2376d6 /world/map/npc/009-1
parent6c40ba0f81d27f1cf4839a80a33febcabf44195b (diff)
downloadserverdata-f64a23064f64fc534e7cdf7afebc3c4e7060a2ee.tar.gz
serverdata-f64a23064f64fc534e7cdf7afebc3c4e7060a2ee.tar.bz2
serverdata-f64a23064f64fc534e7cdf7afebc3c4e7060a2ee.tar.xz
serverdata-f64a23064f64fc534e7cdf7afebc3c4e7060a2ee.zip
When Prsm is online, and only when Prsm is online, Bob can warp you back.
This is to prevent abuse e.g. talk to Bob to quick travel to Swamps.
Diffstat (limited to 'world/map/npc/009-1')
-rw-r--r--world/map/npc/009-1/constable.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/world/map/npc/009-1/constable.txt b/world/map/npc/009-1/constable.txt
index d1c71f34..fe2e75e5 100644
--- a/world/map/npc/009-1/constable.txt
+++ b/world/map/npc/009-1/constable.txt
@@ -2,6 +2,7 @@
009-1,55,34,0|script|Constable Bob|419
{
+ if ($@PRSM_ONLINE && $@PRSM_PARTY) goto L_Party;
npctalk strnpcinfo(0), "I've acquired mass warp powers; Right after the day of the fool, wear something cool.";
mes "[Constable Bob]";
mes "\"Hello.\"";
@@ -11,6 +12,28 @@
close;
/* 2022 Blackbox */
+L_Party:
+ mes "[Constable Bob]";
+ mes "\"I'm holding a party for Prsm, do you want to come? You won't be eligible for any prizes, though.\"";
+ next;
+ menu
+ "Yeah", L_P22Y,
+ "Nah", L_P22N;
+
+L_P22Y:
+ warp "003-1", 45, 24;
+ mapmask 1 | 2;
+ close;
+
+L_P22N:
+ mes "[Constable Bob]";
+ mes "\"A pity. Anyway.\"";
+ 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!\"";
+ next;
+ callfunc "GameRules";
+ close;
+
L_End:
end;