summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-02-03 17:36:28 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2013-02-12 23:05:14 +0100
commitf1cd12437ccd23bb5a713616629d24e348adce3c (patch)
tree2c177deb8e3b7ce8407097d847a59675e821e760 /world/map/npc
parent3a50328148c111d329322f5930c5332eb0c5dc48 (diff)
downloadserverdata-f1cd12437ccd23bb5a713616629d24e348adce3c.tar.gz
serverdata-f1cd12437ccd23bb5a713616629d24e348adce3c.tar.bz2
serverdata-f1cd12437ccd23bb5a713616629d24e348adce3c.tar.xz
serverdata-f1cd12437ccd23bb5a713616629d24e348adce3c.zip
Demon Mask quest: don't open NPC dialog at barrier to the chest room.
Use message instead of mes, so the text is only displayed over the character's head. Since the room has aggressive monsters in it, a NPC dialog box can be deadly.
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/013-3/barrier.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/world/map/npc/013-3/barrier.txt b/world/map/npc/013-3/barrier.txt
index 410bc882..63c5eae9 100644
--- a/world/map/npc/013-3/barrier.txt
+++ b/world/map/npc/013-3/barrier.txt
@@ -8,21 +8,21 @@
if (@state >= 2) goto L_Close;
if (@state == 1 && countitem("JackOSoul") >= 1) goto L_Has_Jack_O_Soul;
- mes "A barrier around the opening pushes you back as you approach.";
+ message strcharinfo(0), "A barrier around the opening pushes you back as you approach.";
warp "013-3.gat", 71, 25;
- goto L_Close;
+ goto L_End;
L_Has_Jack_O_Soul:
- mes "The barrier around the opening allows you passage.";
+ message strcharinfo(0), "The barrier around the opening allows you passage.";
set @state, 2;
callsub S_Update_Mask;
delitem "JackOSoul", 1;
- goto L_Close;
+ goto L_End;
-L_Close:
+L_End:
set @state, 0;
- close;
+ end;
S_Update_Mask:
set QUEST_Hurnscald, (QUEST_Hurnscald & ~(NIBBLE_2_MASK)) | (@state << NIBBLE_2_SHIFT);