summaryrefslogblamecommitdiff
path: root/world/map/npc/011-4/bl_barrier.txt
blob: 07cc56786bf671c221514e7317d4afe72073fbbd (plain) (tree)
1
2
3
4
5
6
7
8
9

                     

                                              


                                                                      
 
                                                                  
               

                           

                                                                                       



                  
        
 
//bandit lord barrier

011-4.gat,111,121,0|script|#BL_Barrier|45,0,0,
{
    set @state, ((QUEST_Hurnscald & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT);

    if (@state >= 4) goto L_Bandit_Lord_Barrier_Open;

    message strcharinfo(0), "This entrance appears to be locked.";
    goto L_End;

L_Bandit_Lord_Barrier_Open:
    message strcharinfo(0), "You insert the silver arrow key and unlock the entrance.";
    warp "011-6.gat",251,275;
    goto L_End;

L_End:
    set @state, 0;
    end;
}