From f64a23064f64fc534e7cdf7afebc3c4e7060a2ee Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 30 Jan 2022 16:45:06 -0300 Subject: 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. --- world/map/npc/009-1/constable.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'world/map/npc/009-1') 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; -- cgit v1.2.3-60-g2f50