FolioTier 3

set time

Initialize or jump the Time clock to a specific period / day.

Parameters

ParameterKindRequiredDefaultNotes
periodidentifiernoIdentifier from the declared periods enum (default: `morning`, `noon`, `evening`, `night`). Omit to leave the period unchanged. Silently no-ops at runtime if the identifier isn't declared.
dayidentifiernoIdentifier from the declared days enum (default: `monday` through `sunday`). Omit to leave the day unchanged. Silently no-ops at runtime if the identifier isn't declared.

Canonical example

Folio
set time period=morning day=monday
set time period=evening
set time day=friday
Ren'Py
default current_period = "morning"
default current_day = "monday"

$ current_period = "evening"
$ current_day = "friday"

set time writes the Time subsystem's clock state. Both period and day are optional, but at least one must be supplied (an empty set time is a parse error). The runtime guards each value against the declared enums and silently drops anything it doesn't recognize.

Notes

  • Most projects call this once, near the entry scene, to put the player at a known starting period + day. Subsequent transitions use advance-time for narrative pacing.
  • Independent slots. set time period=evening leaves the day unchanged; set time day=tuesday leaves the period unchanged. Use the both-slot form for clean state resets ("you wake up — it's Monday morning again").
  • No-clock-state projects (Eternum) silently drop this verb at runtime — the importer left initialPeriod / initialDay as null because the source doesn't actually maintain a clock. Setting the clock would diverge from the imported behavior; the verb stays for forward-compat with projects that do declare a clock.

See also

  • advance-time — move the clock forward
  • time — the Time subsystem
  • iftime.period / time.day reads