Inform 7 Home Page / Documentation


§18.18. Printing a refusal to act in the dark

1. When it happens. When an action which requires light is tried, and the visibility rules decide that not enough light is present.

2. The default behaviour. To print "It is pitch dark, and you can't see a thing."

3. Examples. (a) This might do for some twilit, penumbral room:

Rule for printing a refusal to act in the dark: if we are examining something, say "It's not totally dark here, perhaps, but certainly too dim for close-up examination of anything." instead.


arrow-up.png Start of Chapter 18: Activities
arrow-left.png Back to §18.17. Printing inventory details of something
arrow-right.png Onward to §18.19. Printing the announcement of darkness

***ExampleZorn of Zorna
Light levels vary depending on the number of candles the player has lit, and this determines whether or not he is able to examine detailed objects successfully.