Modding
Discord Wishlist on Steam

Library›Time

Is night

fn/game.IsNight

Whether it is dark in the valley: from half past seven in the evening to five in the morning.

Is nightnight
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.IsNight

Pins

  • outnightyes or no

    Night.

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.

StartallTime of dayhourminutedayhoursExpressionhours >= 19.5 or hours < 5hours= yes or noReturnnight
Is night

Built from