
tradition_planetmega_granchor = {
	#   1     2
	# 3    4     5
	tree_template = "tree_12_12"
	adoption_bonus = "tr_pm_granchor_adopt"
	finish_bonus = "tr_pm_granchor_finish"
	traditions = {
		"tr_pm_granchor_swap_1"
		"tr_pm_granchor_dynexp_1"
		"tr_pm_granchor_swap_3"
		"tr_pm_granchor_reshaper"
		"tr_pm_granchor_swap_5"
	}
	# 以下需要增加、更改
	#五、
	# 1.动态扩容 II（需要究级巨构科技）
	# 增加：（后续星界裂隙事件链解锁）解锁「模块化扩展协议 II」，在所有星球上均不占用空间，但成本与维护随巨构数量上升
	#三、
	# 1.自动防御
	# 解锁建筑纳米虫之库（需要增加功能）
	# 2.轨道威慑：
	# 解锁尤玛恩托（星环建筑）（这个暂缓落地）

	potential = {
		or = {
			is_enabled_building_planetmega = yes
			is_enabled_recovering_planetmega = yes
		}
	}

	ai_weight = {
		factor = 5
		# modifier = {
		# 	factor = 2.5
		# 	has_any_planetmega_in_empire = yes
		# }
		modifier = {
			factor = 2
			has_civic = civic_planetmega_builder
		}
		modifier = {
			factor = 1.75
			has_valid_civic = civic_machine_builder
		}
		modifier = {
			factor = 0.1
			has_void_dweller_origin = yes
		}
	}
}

#用来生成游戏概念的tooltip
tradition_planetmega_dummy = {
	tree_template = "tree_12_11"
	potential = { always = no }
	ai_weight = { weight = 0 }
	adoption_bonus = tr_planetmega_dummy_adopt
	finish_bonus = tr_planetmega_dummy_finish
	traditions = {
		#tr_pm_granchor_swap_1:
		tr_pm_granchor_pmm_core
		tr_pm_granchor_qt_reconst
		tr_pm_granchor_eg_ext
		#tr_pm_granchor_swap_3:
		tr_pm_granchor_autodef
		tr_pm_granchor_orbit_deter
		#tr_pm_granchor_swap_5:
		tr_pm_granchor_dynexp_2
		tr_pm_granchor_alter_dim_const
		tr_pm_granchor_lively_use
	}
}
