Library
Time
Night and day, hours, the day of the week.
- Is night
fn/game.IsNightWhether it is dark in the valley - Is day
fn/game.IsDayWhether it is light in the valley - Is between hours
fn/game.IsBetweenHoursWhether the time of day falls from one hour to another, going past midnight when the first is later - Is Sunday
fn/game.IsSundayWhether today is Sunday - Day of the week
fn/game.WeekdayToday's day of the week, 0 Monday to 6 Sunday. - Wait until an hour
fn/game.WaitUntilHourWaits until the clock strikes an hour (0 to 23), looking every few seconds. - Skip to a time
fn/game.SkipToTimeWinds the clock forward to the next time it is this o'clock - later today, or tomorrow. - Minutes until
fn/game.MinutesUntilGame minutes from now until the clock next shows a time; a full day when it already does.
Modding