Event Conditions

Overview

Event Conditions are the basis for events. An event needs at least one condition in order to appear on the calendar.

A condition consists of two parts, the "parameters" and the "desired value". For each day in the calendar, the condition checks whether its parameters and desired values match those assigned to the day chosen in the condition.

For example, if the parameter is "Day is exactly" and the desired value is "1", the event will show up on any days with the "day" value of "1".

Types of conditions

Date

This condition is a simple all-in-one date comparison, useful for date ranges and one time events.

Year

This condition places the event in a specified year or multiple specified years.

Month

This condition places the event in a specified month or multiple specified months.

Month Number

If you have leaping months, you might want to use month number instead of exact month, as your months might be shifting around. In the Gregorian Calendar, 1 would be January, 2 would be February, and so on.

Day

This condition targets a specified day of the month or a specified day of the year.

Epoch

This condition targets a specified epoch (number of days since the beginning of the first year).

Weekday

This condition targets a specified day of the week.

Weekday number

Similar to the month number, this checks whether the number of the weekday matches the condition. For example, in the Gregorian Calendar, 1 would be Monday, 2 would be Tuesday, and so on.

Month-week number

This condition checks whether the day's week number, relative to that month, matches the condition. This means that the first week in the month would be counted as 1, and the second as 2, and so on.

Year-week number

This is similar to the month-week number, but relative to the entire year instead.

Total week number

This condition checks the number of weeks since the beginning of year 1.

Moon phase

This also requires you to set which moon the condition should refer to, and places the event on days that match the specified moon phase.

Moon month-phase number

This counts how many instances of a certain moon phase there has been in any given month. If you're looking for the first full moon in January, use this condition in conjunction with the Moon phase condition.

Moon year-phase number

Similar to the month-phase, but relative to the year instead.

Moon epoch-phase number

Similar to the moon month- and year-phases, but counting from the beginning of the first year.

Cycle

This condition matches against the cycle. If you have multiple parts to your cycle, you can add multiple conditions similar to this one to narrow down which part you want to match.

Era

This condition matches against the current active era.

Era year

This condition matches against the current era year. Only really useful if any of your eras have restarted the year count.

Season

This condition matches against the current season.

Season percentage

This condition matches against how far into the season the day is. Combine this with the season condition to accurately target which season's percentage you're referring to.

Season day

This condition matches against the current seasonal day, as they can be offset from the year cycle.

Random chance

This condition matches against a random chance. The second input below the percentage input is the "seed" - giving this seed to any other random conditions will produce the same results on the same days.

Target event

This condition matches against other events in your calendar. If you have an event that relies on a set of somewhat random conditions, and you wish to have another event appear exactly 10 days after that event, this is what you're looking for.