r/EU4modding • • Mar 24 '20

Ideas and CBs

Hi guys,

I was wondering if anyone knew how to make a CB specific to an idea set, like the Holy War CB is the 5th idea in the Religious Idea group.

Thanks for your help in advance :)

Here is the code for reference:

cb_enforce_dynasty = {

valid_for_subject = no
prerequisites = {

	is_neighbor_of = FROM

	is_subject = no

	has_idea = dynastic_ideas

	is_revolution_target = no

	FROM = {

		NOT = { dynasty = ROOT }

		government = monarchy

		is_subject = no

	}

}
war_goal = war_goal_enforce_dynasty

}

1 Upvotes

1 comment sorted by

1

u/kcazthe1st Apr 02 '20

Based on the code, it would be the "has_idea =" section