weight = 100 #use same weight here - ai weighting is done in starbase_types.txt
modifier = {
	factor = 100
	owner = {
		OR = {
			count_owned_starbase = {
				count = 0
				limit = {
					controller = { is_same_value = root.owner }
					has_starbase_module = $MODULE$
				}
			}
			AND = {
				controlled_systems > 30
				count_owned_starbase = {
					count < 2
					limit = {
						controller = { is_same_value = root.owner }
						has_starbase_module = $MODULE$
					}
				}
			}
			AND = {
				controlled_systems > 60
				count_owned_starbase = {
					count < 3
					limit = {
						controller = { is_same_value = root.owner }
						has_starbase_module = $MODULE$
					}
				}
			}
		}
	}
}
modifier = {
	factor = 3
	has_starbase_module = $MODULE$
	count_starbase_modules = {
		count < 2
		type = $MODULE$
	}
}
modifier = {
	factor = 3
	has_starbase_module = $MODULE$
	count_starbase_modules = {
		count < 4
		type = $MODULE$
	}
}
