################################
###     Scripted Effects     ###
################################

#########################
# Start of Game Effects #
#########################

WL_lv_create_start_pops = {
	if = {
		limit = { owner = { has_origin = origin_WL_lv_oedipus_complex } }
		create_pop_group = {
			size = 1000
			species = last_created_species
		}
		last_created_species = {
			set_species_flag = origin_WL_lv_oedipus_complex_species@root.owner
			set_citizenship_type = {
				country = root.owner
				type = citizenship_full
			}
			set_living_standard = {
				country = root.owner
				type = living_standard_hive_mind
			}
		}
	}

	if = {
		limit = { owner = { has_origin = origin_WL_lv_subdued_progenitor } }
		create_pop_group = {
			size = 400
			species = last_created_species
		}
		last_created_species = {
			set_species_flag = origin_WL_lv_subdued_progenitor_species@root.owner
			set_citizenship_type = {
				country = root.owner
				type = citizenship_full
			}
			set_living_standard = {
				country = root.owner
				type = living_standard_hive_mind
			}
		}
	}
}
