diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2013-02-03 17:36:28 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2013-02-12 23:05:14 +0100 |
commit | f1cd12437ccd23bb5a713616629d24e348adce3c (patch) | |
tree | 2c177deb8e3b7ce8407097d847a59675e821e760 | |
parent | 3a50328148c111d329322f5930c5332eb0c5dc48 (diff) | |
download | classic-serverdata-f1cd12437ccd23bb5a713616629d24e348adce3c.tar.gz classic-serverdata-f1cd12437ccd23bb5a713616629d24e348adce3c.tar.bz2 classic-serverdata-f1cd12437ccd23bb5a713616629d24e348adce3c.tar.xz classic-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.
-rw-r--r-- | world/map/npc/013-3/barrier.txt | 12 |
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); |