blob: 7a86e9719e4e3d51034b0f1fdab458b36e7481ff (
plain) (
tree)
|
|
027-3,82,88,0 script #GeneralDoor1 NPC45,1,0,{
if ( (countitem("CryptKey") < 10) && ($@CRYPT_FIGHT1 != 0) )
goto L_NoKeys;
delitem "CryptKey", 10;
warp "027-6",39,60;
goto L_close;
L_NoKeys:
message strcharinfo(0), "This door is locked.";
end;
L_close:
close;
}
|