@Eric Person What a fun concept. I like the idea of the clock in the world also being the puzzle that the players are trying to figure out. My first idea is that the eldritch being is trying to communicate its own version of the story. Why it was imprisoned there, and how it wasn't its fault. It's trying to get the players to have sympathy for it so they can work to free it. Then in the end, if they do manage to free the eldritch monster, it can attack the players and show that it was manipulating things the entire time, and now that it is free, it can just be a monster again and start killing everything. Another idea: The code is explaining a warning. As an eldritch being, it can see things from a different view of reality. It knows that a new disaster is coming, something that will tear the city/world apart. This is the disaster that the eldritch being was created to destroy in the first place. But this disaster (another monster, a world ending eclipse, a hellgate opening up...) will happen and destroy the city/world if the eldritch being is not freed from its prison. It was imprisoned by the same devils that are going to open up the gate. This way, the party has to find a way to free the monster from it's prison just in time to join it in the fight against the devils coming out of the gate or something.