utility_component_template = {
	key = "RAGNAROK_CORE"
	size = small
	icon = "GFX_ship_part_hyper_drive_3"
	icon_frame = 1
	cost = 50000
	sensor_range = 40
	ftl = jumpdrive
	power = 15000
	military_power = 45000
	can_recharge_shield = yes

	ship_behavior = "ragnarok"

	ship_modifier = {
		#ship_speed_mult = 5.0
		#ship_combat_speed_mult = 5.0		
		#ship_windup_mult = -0.5		
		#ship_winddown_mult = -1.0
		
		ship_ftl_jumpdrive_range_mult = 0.5
		ship_weapon_damage = 10.0
		ship_fire_rate_mult = 1.0		
	}

	component_set = "ragnarok_components"
}

utility_component_template = {
	key = "ISB_RAGNAROK_EXPLOSION_01"
	size = medium
	icon = "GFX_ship_part_titan_virus"
	icon_frame = 1
	power = 0
	cost = 500	
	
	prerequisites = { }

	hostile_aura = {
		name = "aura_ragnarok_explosion_01"
		radius = 17
		apply_on = ships

		stack_info = {			#A ship can only be affected by one aura of a certain id. If multiple auras have the same ID the one with the highest priority will be applied.
			id = ragnarok_explosion_01_aura
			priority = 15
		}

		damage_per_day = {
			accuracy = 0.75
			damage = { min = 1000 max = 5000 }
			shield_damage = 0.0
			shield_penetration = 1.0
			armor_penetration = 0.25
		}

		graphics = {
			area_effect = {
				entity = "circle_area_entity"
				dynamic_scale = yes
			}			
		}
	}

	component_set = "ragnarok_doomsday_components"

	ai_weight = {
		weight = 0
	}
}

# AI Cheats
utility_component_template = {
	key = "ISB_RAGNAROK_EXPLOSION_02"
	size = medium
	icon = "GFX_ship_part_titan_virus"
	icon_frame = 1
	power = 0
	cost = 500	

	prerequisites = { }

	hostile_aura = {
		name = "aura_ragnarok_explosion_01"
		radius = 20
		apply_on = ships

		stack_info = {			#A ship can only be affected by one aura of a certain id. If multiple auras have the same ID the one with the highest priority will be applied.
			id = ragnarok_explosion_01_aura
			priority = 15
		}

		damage_per_day = {
			accuracy = 0.75
			damage = { min = 1000 max = 5000 }
			shield_damage = 0.0
			shield_penetration = 1.0
			armor_penetration = 0.25
		}

		graphics = {
			area_effect = {
				entity = "circle_area_entity"
				dynamic_scale = yes
			}			
		}
	}

	component_set = "ragnarok_doomsday_components"

	ai_weight = {
		weight = 0
	}
}