diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-01-30 16:45:06 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-03-07 22:20:41 -0300 |
commit | f64a23064f64fc534e7cdf7afebc3c4e7060a2ee (patch) | |
tree | 2c61eee9245eff50a533fbe4a90e0aee0c2376d6 /world/map/npc/annuals | |
parent | 6c40ba0f81d27f1cf4839a80a33febcabf44195b (diff) | |
download | serverdata-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/annuals')
-rw-r--r-- | world/map/npc/annuals/2022.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/world/map/npc/annuals/2022.txt b/world/map/npc/annuals/2022.txt index d1e473fa..31b48971 100644 --- a/world/map/npc/annuals/2022.txt +++ b/world/map/npc/annuals/2022.txt @@ -17,6 +17,7 @@ L_Warn: goto L_Prompt; L_Prompt: + if (strcharinfo(0) == "Prsm") set $@PRSM_ONLINE, 0; next; menu "I'll stay a bit longer.", L_Close, @@ -80,6 +81,7 @@ L_Candor: close; } +//////////////////////////////////////////////// function|script|P22Login { if (gettime(7) != 2022) goto L_Return; @@ -92,12 +94,20 @@ L_Warp: set #X21, 5; warp "003-1", 45, 24; mapmask 1 | 2; + if (strcharinfo(0) == "Prsm") goto L_Prsm; + return; + +L_Prsm: + npctalk "Constable Bob#P21", "Prsm, congratulations for 11 years in TMW Staff! \o/"; + set $@PRSM_ONLINE, 1; + sc_end(SC_HIDE); return; L_Return: return; } +//////////////////////////////////////////////// 003-1,41,24,0|script|Constable Bob#P21|419 { if (!$@PRSM_PARTY) goto L_Over; |