summaryrefslogblamecommitdiff
path: root/npc/027-4/general_razha_door.txt
blob: 68db15506b41f4b3bc7083c6af63f207eb913da4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                
027-4,73,76,0	script	#GeneralDoor2	NPC45,1,0,{
    if ( (countitem("CryptKey") < 10) && ($@CRYPT_FIGHT2 != 0) )
        goto L_NoKeys;

    delitem "CryptKey", 10;
    warp "027-7",39,60;
    goto L_close;

L_NoKeys:
    message strcharinfo(0), "This door is locked.";
    end;

L_close:
    close;
}