diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-10-25 07:49:15 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-10-25 07:49:15 -0300 |
commit | 9361aa027f9b998ba7c7c41e83e7a673bd66433c (patch) | |
tree | e2849ec688ce3008f025bd8f29cb9277d6c2ad89 /npc/021-4/doors.txt | |
parent | 9e18d1ebd224c7860f1406c58810e4b7385b2721 (diff) | |
download | serverdata-9361aa027f9b998ba7c7c41e83e7a673bd66433c.tar.gz serverdata-9361aa027f9b998ba7c7c41e83e7a673bd66433c.tar.bz2 serverdata-9361aa027f9b998ba7c7c41e83e7a673bd66433c.tar.xz serverdata-9361aa027f9b998ba7c7c41e83e7a673bd66433c.zip |
Cindy Quest, probably complete
Diffstat (limited to 'npc/021-4/doors.txt')
-rw-r--r-- | npc/021-4/doors.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/npc/021-4/doors.txt b/npc/021-4/doors.txt index 49e84cfb9..c97aec317 100644 --- a/npc/021-4/doors.txt +++ b/npc/021-4/doors.txt @@ -6,10 +6,20 @@ 021-4,67,27,0 script #Leave0214 NPC_NO_SPRITE,0,0,{ if ($@CINDY_STATE % 2 == 1 && $@CINDY_STATE < 150000) goto L_Blocked; + if ($@CINDY_STATE > 150000) goto L_Check; +L_Warp: warp "021-3", 24, 123; end; L_Blocked: dispbottom l("You cannot leave this room until either ALL yetis are dead, or you are dead yourself."); end; + +L_Check: + .@pl = getmapusers("021-4"); + if (.@pl <= 1) { // Because we must include the one who triggered this script wasn't warped yet + $@CINDY_HERO=""; + setnpcdisplay "Cindy#Outside", NPC_CINDY_CAGE; + } + goto L_Warp; } |