#####################
# Biogenesis Edicts
#####################

@Edict1Cost = 20
@Edict2Cost = 25
@Edict3Cost = 30

@EdictDuration = -1

behemoth_nanite_augmentation = { #armor regen
	length = @EdictDuration
	icon = "GFX_edict_type_time"
	edict_lock_in_months = 180
	resources = {
		category = edicts
		cost = {
			nanites = 2500
			multiplier = value:edict_size_effect
		}
		upkeep = {
			nanites = 5
			multiplier = value:edict_size_effect
		}
	}

	potential = {
		has_country_flag = behemoth_mutation_machine
	}


	modifier = {
		custom_tooltip = behemoth_nanite_augmentation_tt
		shipsize_behemoth_01_armor_regen_add_perc = 0.15
		shipsize_behemoth_02_armor_regen_add_perc = 0.15
		shipsize_behemoth_03_armor_regen_add_perc = 0.15
		shipsize_behemoth_04_armor_regen_add_perc = 0.15
	}

	allow = {
	}

	ai_weight = {
		weight = 0
	}
}

behemoth_living_metal_augmentation = { #armor hardening
	length = @EdictDuration
	icon = "GFX_edict_type_time"
	edict_lock_in_months = 180
	resources = {
		category = edicts
		cost = {
			sr_living_metal = 500
			multiplier = value:edict_size_effect
		}
		upkeep = {
			sr_living_metal = 2
			multiplier = value:edict_size_effect
		}
	}

	potential = {
		has_country_flag = behemoth_mutation_machine
	}


	modifier = {
		custom_tooltip = behemoth_living_metal_augmentation_tt
		shipsize_behemoth_01_armor_hardening_add = 0.4
		shipsize_behemoth_02_armor_hardening_add = 0.4
		shipsize_behemoth_03_armor_hardening_add = 0.4
		shipsize_behemoth_04_armor_hardening_add = 0.4
		
	}

	allow = {
	}

	ai_weight = {
		weight = 0
	}
}

behemoth_alloys_augmentation = { #armor mult
	length = @EdictDuration
	icon = "GFX_edict_type_time"
	edict_lock_in_months = 180
	resources = {
		category = edicts
		cost = {
			alloys = 5000
			multiplier = value:edict_size_effect
		}
		upkeep = {
			alloys = 25
			multiplier = value:edict_size_effect
		}
	}

	potential = {
		has_country_flag = behemoth_mutation_machine
	}


	modifier = {
		custom_tooltip = behemoth_alloys_augmentation_tt
		shipsize_behemoth_01_armor_mult = 0.15
		shipsize_behemoth_02_armor_mult = 0.15
		shipsize_behemoth_03_armor_mult = 0.15
		shipsize_behemoth_04_armor_mult = 0.15
	}

	allow = {
	}

	ai_weight = {
		weight = 0
	}
}
