﻿# AI doesn't differentiate troopships from regular cruisers
INJECT:ship_type_troop_ship = {
	ai_weight = 0
}

# Don't build ships that require aeroplanes if it doesn't exist yet
INJECT:ship_type_seaplane_tender = {
	ai_weight = {
		value = 0
		if = {
			limit = {
				market ?= {
					mg:aeroplanes ?= {
						has_potential_supply = yes
					}
				}
			}
			value = 2
		}
	}
}

INJECT:ship_type_aircraft_carrier = {
	ai_weight = {
		value = 0
		if = {
			limit = {
				market ?= {
					mg:aeroplanes ?= {
						has_potential_supply = yes
					}
				}
			}
			value = 2
		}
	}
}
