diff options
Diffstat (limited to 'npc/042-0/arthur.txt')
-rw-r--r-- | npc/042-0/arthur.txt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/npc/042-0/arthur.txt b/npc/042-0/arthur.txt index 30e00890e..878502077 100644 --- a/npc/042-0/arthur.txt +++ b/npc/042-0/arthur.txt @@ -178,10 +178,19 @@ OnInstanceInit: OnTouch: .@g=getcharid(2); - if ($KAMELOT_QUEST[.@g] & 1) + if ($KAMELOT_QUEST[.@g] & 1) { warp "042-1@"+.@g, 55, 99; - else + } else { dispbottom l("The door is locked."); + end; + } + + // Maybe event must be fired + if (!($KAMELOT_KEYMASK[.@g] & 16)) { + .@label$=instance_npcname("#KDoor0421", $@KAMELOT_ID[.@g])+"::OnArrival"; + deltimer .@label$; + addtimer 15000, .@label$; + } end; } |