summaryrefslogtreecommitdiff
path: root/npc/027-5/general_terogan_door.txt
blob: 3929685a25455fff73bc63d572a8d962858056fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
027-5,70,25,0	script	#GeneralDoor3	NPC45,1,0,{
    //if ( (countitem("CryptKey") < 10) && ($@CRYPT_FIGHT3 != 0) )
    //    goto L_NoKeys;

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

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

L_close:
    close;
}