;
; Campaign script
;	Written by GrnEyedDvl
;
;	Table of Contents
;	1. 12 turns per year, characters age in December
;
;
;
;
;
;
;

script

	;show the whole map
	restrict_strat_radar false

;	1. 12 Turns per year.
declare_counter month
set_counter month 1 ;Set to January

monitor_event FactionTurnStart FactionIsLocal ; set the season for each month
	if I_CompareCounter month == 1 ;January
		console_command season winter
	end_if
	
	if I_CompareCounter month == 2 ;February
		console_command season winter
	end_if
	
	if I_CompareCounter month == 3 ;March
		console_command season summer
	end_if
	
	if I_CompareCounter month == 4 ;April
		console_command season summer
	end_if
	
	if I_CompareCounter month == 5 ;May
		console_command season summer
	end_if
	
	if I_CompareCounter month == 6 ;June
		console_command season summer
	end_if
	
	if I_CompareCounter month == 7 ;July
		console_command season summer
	end_if
	
	if I_CompareCounter month == 8 ;August
		console_command season summer
	end_if
	
	if I_CompareCounter month == 9 ;September
		console_command season summer
	end_if
	
	if I_CompareCounter month == 10 ;October
		console_command season winter
	end_if
	
	if I_CompareCounter month == 11 ;November
		console_command season winter
	end_if
	
	if I_CompareCounter month == 12 ;December
		console_command season winter
	end_if
	
	inc_counter month 1 ;advance the month
	if I_CompareCounter month == 13 ;start a new year
		set_counter month 1
	end_if
end_monitor

monitor_event FactionTurnEnd FactionType slave
	and I_CompareCounter month < 12
	console_command season summer
end_monitor

	wait_monitors

end_script