Pyramids (novel)

The main character of Pyramids is Teppic (short for Pteppicymon), the crown prince of the tiny kingdom of Djelibeybi (a pun on the candy Jelly Baby, meaning "Child of the Djel"), the Discworld counterpart to Ancient Egypt.

The kingdom, founded seven-thousand years ago and formerly a great empire which dominated the continent of Klatch, has been in debt and recession for generations due to the construction of pyramids for the burial of its pharaohs (primarily on prime agricultural land) and now occupies an area two miles wide along the 150-mile-long River Djel.

Being the first Djelibeybian king raised outside the kingdom leads to some interesting problems, as Dios, the high priest, is a stickler for tradition, and does not actually allow the pharaohs to rule the country.

Whilst the pyramid-building Ptaclusp dynasty work out how to build the pyramid within budget and on time (eventually taking advantage of the unfinished pyramid's premature temporal distortions), the late Pteppicymon XXVII spends his time observing the embalming of his mortal remains and taking an interest in the lives of his embalmers, Dil and Gurn.

Teppic succeeds in destroying the Pyramid, returning Djelibeybi to the real world and sending Dios back through time (where he meets the original founder of the Kingdom, thereby restarting the cycle).