FolioTier 3
set time
Initialize or jump the Time clock to a specific period / day.
Parameters
| Parameter | Kind | Required | Default | Notes |
|---|---|---|---|---|
| period | identifier | no | — | Identifier 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. |
| day | identifier | no | — | Identifier 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=fridayRen'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-timefor narrative pacing. - Independent slots.
set time period=eveningleaves the day unchanged;set time day=tuesdayleaves 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/initialDayasnullbecause 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 forwardtime— the Time subsystemif—time.period/time.dayreads