Check Date
Check Date
True
False
- Group
- Conditions
- In the node menu
- Conditions › Scheme › Check Date
- Where it can be used
- Scheme graphs
What it does
Section titled “What it does”Check Date asks about today’s date in the world’s calendar. The story goes on through True when the date fits and through False when it does not.
You can ask for a month, a season, a day of the week or a day of the month. You can also ask whether today is on or after a date, or before it. A date without a year means the same day of every year.
Example
Section titled “Example”Check Date
The month is Harvestmoon
True
False
When to use it
Section titled “When to use it”Use it when the time of year should change the next step, such as a harvest that depends on the month.
Use On Date instead to start a flow when a new month, season or year begins.
Good to know
Section titled “Good to know”- It never stops the flow. Without a calendar the answer is always False, and the card warns: the world has no calendar.
- A month, season or weekday the calendar does not have shows an error on the card. A calendar with no week makes the weekday question always false, and the card warns.
- A date without a year is written with “(every year)” on the card.
- As a row inside Check or Wait Until, the same check is called Date.
- The node can hold more conditions with + Add another check, joined by AND or OR, each with NOT if you want it.
Settings
Section titled “Settings”| Label | Draft key | Type | Default | Shown if, tooltip and notes |
|---|---|---|---|---|
| Check | Question |
| "MonthIs" | What is asked about today's date. |
| Month | Month | integer | 1 | Shown if Question = MonthIs The month, counted from 1 in the order of the calendar.
|
| Season | Season | text | "" | Shown if Question = SeasonIs The season.
|
| Weekday | Weekday | integer | 1 | Shown if Question = WeekdayIs The day of the week, counted from 1 in the order of the calendar.
|
| Date | Date | DateSetting | {"Month":1,"Day":1} | Shown if Question is OnOrAfter or Before The date. Year 0: the same day of every year.
|
| Day Of The Month | Day | integer | 1 | Shown if Question = DayOfMonthIs The day of the month, from 1.
|
| draft only | Negate | bool | false |
|
| draft only | ExtraConditions | rows of ConditionData | not in the data |
|
Draft only: a draft sets it; the Studio has no row of its own for it.
Date: the settings of each one
| Label | Draft key | Type | Default | Shown if, tooltip and notes |
|---|---|---|---|---|
| Year | Year | integer | 0 | |
| Month | Month | integer | 0 | |
| Day | Day | integer | 0 |
Outputs
Section titled “Outputs”- True
- False
In a draft
Section titled “In a draft”"type""Check Date""set"keysQuestion,Month,Season,Weekday,Date,Day,Negate,ExtraConditions"then"keys"True","False"
"<alias>": { "type": "Check Date", "then": { "True": "<alias>", "False": "<alias>" }}