Added 'take' action and fixed door bug