#"Good"
sp_rockets_scientist_xp_generic_reward = {
	fire_only_once = no
	
	threshold = { 
		min = 0
		max = 100
	}
	
	weight = {
		base = 1
	}
	
	option = {
		token = sp_rockets_scientist_xp_generic_reward_option
				
		iteration_output = {
			scientist_effects = {
				add_scientist_xp = {
					experience = constant:sp_scientist_xp_gain.very_high
					specialization = specialization_air 
				}
			}
		}
	}
}

sp_rockets_generic_major_breakthrough_reward = {
	fire_only_once = no
	
	threshold = { 
		min = 0
		max = 100
	}
	
	weight = {
		base = 1
	}
	
	option = {
		token = sp_rockets_generic_major_breakthrough_reward_option
				
		iteration_output = {
			country_effects = {
				FROM = { add_project_progress_ratio = constant:sp_progress.gain.medium }
			}
		}
	}
}

sp_rockets_generic_avionics_advancements_reward = {
	fire_only_once = no
	
	threshold = { 
		min = 0
		max = 100
	}
	
	weight = {
		base = 1
	}
	
	option = {
		token =sp_rockets_generic_avionics_advancements_reward_option
				
		iteration_output = {
			country_effects = {
				air_experience = 25
			}
		}
	}
}

# "Bad"
sp_rockets_political_interference_generic_reward = {
	fire_only_once = no
	
	threshold = { 
		min = 0
		max = 70
	}
	
	weight = {
		base = 0.5
	}
	
	option = {
		token = sp_rockets_minor_progress_generic_reward_option
				
		iteration_output = {
			country_effects = {
				FROM = { add_project_progress_ratio = constant:sp_progress.loss.low }
			}
		}
	}
}

sp_rockets_onsite_explosion_generic_reward = {
	fire_only_once = no
	
	threshold = { 
		min = 0
		max = 70
	}
	
	weight = {
		base = 0.5
		modifier = {
			factor = 100
			FROM = {
				has_country_flag = refused_to_replace_relay_flag
			}
		}
		modifier = {
			factor = 30
			FROM = { 
				has_country_flag = no_new_rocket_facility_built
			}
		}
	}
	
	option = {
		token = sp_rockets_onsite_explosion_generic_reward_option
				
		iteration_output = {
			country_effects = {
				clr_country_flag = refused_to_replace_relay_flag
			}
			facility_state_effects = {
				damage_building = {
					tags = facility
					damage = 0.15
					province = var:facility_province_id
				}
			}
			scientist_effects = {
				add_scientist_xp = {
					experience = constant:sp_scientist_xp_gain.medium
					specialization = specialization_air 
				}
			}
		}
	}
}
