declare_counter month
set_counter month 1 ;set to winter
monitor_event PreFactionTurnStart FactionIsLocal ; set the season for each month
if I_CompareCounter month == 1 ;winter
console_command season winter
end_if
if I_CompareCounter month == 2 ;spring
console_command season summer
end_if
if I_CompareCounter month == 3 ;summer
console_command season summer
end_if
if I_CompareCounter month == 4 ;Autumn
console_command season winter
end_if
inc_counter month 1 ;advance the month
if I_CompareCounter month == 5 ;start a new year
set_counter month 1
end_if
end_monitor
monitor_event FactionTurnEnd FactionType slave
and I_CompareCounter month < 4
console_command season summer
end_monitor