Modding
Discord Wishlist on Steam

Library›Time

Is between hours

fn/game.IsBetweenHours

Whether the time of day falls from one hour to another, going past midnight when the first is later: 22 to 4 is the small hours. Halves count: 19.5 is half past seven.

Is between hoursfrom22to4between
Does
A value: worked out when a node wired to it asks
Runs
On every machine
Listed under
Library › Time
In a file
fn/game.IsBetweenHours

Pins

  • infroma number

    From what.

    Starts as 22

  • intoa number

    To.

    Starts as 4

  • outbetweenyes or no

    Between.

How it is made

Its body, as the bench opens it read-only. Copy into my mod on the bench makes a copy to change. The library's file is time.graph.json.

StartallfromtoTime of dayhourminutedayhoursExpression(from <= to and hours >= from and hours < to) or …fromtohours= yes or noReturnbetween
Is between hours

Built from