
#############
#	COST	#
#############

@cost_3S = 6
@cost_3M = 12
@cost_3L = 18


# ####################
#  Critter Utilities - All
# ####################


# Auto-Repair / Hull Regeneration

utility_component_template = {
	key = "REPAIR1"
	size = small
	icon = "GFX_ship_part_auto_repair"
	icon_frame = 1
	power = 0
	cost = @cost_3S
	modifier = {
		ship_auto_repair_add = 0.05 # Regenerates 5% ship-health per month
	}
	prerequisites = { tech_black_tech }
	component_set = "REPAIR"
	military_power = 1
	ai_weight = {
    weight = 0
    }
    allow = {
    is_ai = no
    }
}

utility_component_template = {
	key = "REPAIR2"
	size = medium
	icon = "GFX_ship_part_auto_repair"
	icon_frame = 1
	power = 0
	cost = @cost_3M

	modifier = {
		ship_auto_repair_add = 0.1 # Regenerates 1% ship-health per month
	}
	
	prerequisites = { tech_black_tech }
	component_set = "REPAIR"
	military_power = 1
	ai_weight = {
    weight = 0
    }
    allow = {
    is_ai = no
    }
}

utility_component_template = {
	key = "REPAIR3"
	size = large
	icon = "GFX_ship_part_auto_repair"
	icon_frame = 1
	power = 0
	cost = @cost_3L

	modifier = {
		ship_auto_repair_add = 0.20 # Regenerates 20% ship-health per month
	}
	
	prerequisites = { tech_black_tech }
	component_set = "REPAIR"
	military_power = 1
	ai_weight = {
    weight = 0
    }
    allow = {
    is_ai = no
    }
}


