Skip to content

On Date

Group
Events
In the node menu
Events › On Date
Where it can be used
Scheme graphs
Tags
  • No input

An On Date node starts a new flow each time a month, a season or a year of the world’s calendar begins, while the scheme runs. When picks which one.

You can narrow it: Only Month limits a month node to one month of the calendar, and Only Season limits a season node to one season.

The On Date node of the demo scheme The Hollow Heir (Drafts/schemes/sys-hollow-heir.json), set to a new year. Began leads to a Compare Variable node.

Use it for events that follow the calendar, such as a yearly check or a tale at the turn of a season. The calendar is explained on Days, calendar and game speed.

Use Wait instead when one flow should pause, for a length of game time or until the next month, season, year or a date. On Date starts a new flow each time instead.

  • Without a calendar, months and seasons never begin, and the card warns that the node never runs. Years still begin.
  • The card shows an error for a season or a month that the calendar does not have.
  • When the moment comes while the scheme is paused, the node runs once when the scheme resumes.
  • The node has no input. The calendar starts it, as a new flow, after the day’s own work.
LabelDraft keyTypeDefaultShown if, tooltip and notes
WhenWhen
  • NewMonth (A New Month)
  • NewSeason (A New Season)
  • NewYear (A New Year)
"NewMonth"What begins: a month, a season or a year of the world's calendar.
Only MonthMonthinteger0

Shown if When = NewMonth

Only when this month begins (counted from 1 in the order of the calendar). 0: every month.
  • min 0
Only SeasonSeasontext""

Shown if When = NewSeason

Only when this season begins. Empty: every season.
  1. Began
"type"
"On Date"
"set" keys
When, Month, Season
"then" keys
"Began"
"<alias>": {
"type": "On Date",
"then": "<alias>"
}