Let's Play/Read: Inform 7 manuals (Done for now)

Chapter 11, cont.

Section 11.18 is The value after and the value before. If you enumerate something like:
Colour is a kind of value. The colours are red, orange, yellow, green, blue, indigo and violet.

then you can type
the first value of colour (here, being ‘red’)
the last value of colour
the colour after yellow
the colour before blue, etc.

Example 182 is Entropy:

Heat is a kind of value. The heats are frosty, cold, cool, room temperature, warm, hot, and scalding. Everything has a heat. The heat of a thing is usually room temperature.

Every turn:
    repeat with item running through things which are not in an insulated container:
        if the heat of the item is greater than room temperature, now the heat of the item is the heat before the heat of the item;
        if the heat of the item is less than room temperature, now the heat of the item is the heat after the heat of the item.

Example 183 is The Hang of Thursdays:

A weekday is a kind of value. The weekdays are Saturday, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday. The current weekday is a weekday that varies. The current weekday is Saturday.

A time period is a kind of value. The time periods are morning, afternoon, evening, night. The current time period is a time period that varies. The current time period is afternoon.

This is the new advance time rule:
    if the current time period is less than night:
        now the current time period is the time period after the current time period;
    otherwise:
        now the current time period is morning;
        now the current weekday is the weekday after the current weekday.

The new advance time rule is listed instead of the advance time rule in the turn sequence rules.
2 Likes