Scroll Thief — 47 of 138

Daniel M. Stelzer

Release 2

Book D - Day and Night

Night is a recurring scene. Night begins when play begins. Night ends when the time of day is 6:00 AM.

Sunrise is a recurring scene. Sunrise begins when night ends. Sunrise ends when the time of day is 7:00 AM.

Day is a recurring scene. Day begins when sunrise ends. Day ends when the time of day is 7:00 PM.

Sunset is a recurring scene. Sunset begins when day ends. Sunset ends when the time of day is 8:00 PM.

Night begins when sunset ends.

To decide whether it is daytime: decide on whether or not day is happening.

To decide whether it is nighttime: decide on whether or not night is happening.

To decide whether it is sunrise: decide on whether or not sunrise is happening.

To decide whether it is sunset: decide on whether or not sunset is happening.

To decide whether it is crepuscular: if sunrise is happening or sunset is happening, yes; no.

The first day flag is initially true. When day begins when the first day flag is true: now the first day flag is false.