v1.1.0.2 added solar term, and minor bug fixes


Issue #3
Issue #4

With this release I add ACES for determining the solar term (https://en.wikipedia.org/wiki/Solar_term) as requested by XHXIAIEIN

There was also a Standarization of expression naming. Now Seasons / Day Phases / Solar Terms
have expression that return an index, and also an expression that returns the name. 

CurrentSeason The current season index. (0=spring, 1=summer, 2=fall, 3=winter) number
CurrentSeasonName The current season name. string
CurrentDayPhase The current day phase index. (0=dawn, 1=morning, 2=afternoon, 3=day, 4=dusk, 5=night, 6=late-night) number
CurrentDayPhaseName The current day phase. (full-name) string
CurrentSolarTerm The current solar terms index (0-23). number
CurrentSolarTermName The current solar terms. (full-name) string

Added some new time conditions.

Is Day Time Check if the current day phase is day. [6:00am - 8:00pm]
Is Night Time Check if the current day phase is night. [8:00pm - 6:00am]
On Noon Triggered when the time is noon.
On Midnight Triggered when the time is midnight.


Now we are also tracking the current day of the year (1-365)

CurrentDayInYear The current day in the year. (1-365) number


Added new property, Auto Determine Day,
previously the current day of the week was calculated from the offset of the Current Day Of Week property.
now if Auto Determine Day property is set, the Current Day Of Week will be derived from the actual defined date automatically and ignore the Current Day Of Week property.

Set Auto Determine Day Sets the auto determine day. Determines the day based on the defined date, if false the current day will be calculated from defined current day of week.Auto (boolean)


Fixed bug with Current Day not being set properly when executing AddDateTime (with timespan less than 24 hours)

Files

piranha305_timesystem-1.1.0.2.c3addon 16 kB
Oct 02, 2023
piranha305_timesystem_example.c3p 89 kB
Oct 02, 2023

Get Time System Plugin (Construct 3)

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.