added full functionality for prison cell, found unsolved issues for alarm system dependencies