11 lines
246 B
Plaintext
11 lines
246 B
Plaintext
void main()
|
|
{
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetLastUnlocked(), "DrowCaptainskey");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
|
|
DelayCommand(20.0, ActionCloseDoor(OBJECT_SELF));
|
|
|
|
}
|