on_actions = {
	on_startup = {		
		effect = {
			random_country = {
				limit = { is_ai = no }		
				country_event = { id = sovpeaced.1 }
				set_global_flag = wrw_settings_visible
			}
		}
	}
	
	on_capitulation = {
	
		effect = {
			if = {
				limit = {
					ROOT = {
						OR = {
							has_country_flag = Ukraine_Collapse
							has_country_flag = Ostland_Collapse
							has_country_flag = Moscowien_Collapse
							has_country_flag = Poland_Collapse
							has_country_flag = Kaukasien_Collapse
						}
					}
					FROM = {
						OR = {
							original_tag = GER
							has_country_flag = Ukraine_Collapse
							has_country_flag = Ostland_Collapse
							has_country_flag = Moscowien_Collapse
							has_country_flag = Poland_Collapse
							has_country_flag = Kaukasien_Collapse
						}
					}
				}
				FROM = {
					white_peace = ROOT
					annex_country = {
						target = ROOT
						transfer_troops = no
					}
				}
			}
			
		}
	
	}
}