# Game rules for Generic Focus Tree Rework (Updated & Rebalanced)
# Shown in the "Custom Game Rules" tab in the lobby before game start.
#
# RCP_allow_claim_focuses controls the three "Claim Foreign Lands" focuses
# (RCP_claim_foreign_lands_i / _ii / _iii in improved_generic_tree.txt),
# which add claims on random states of two neighbours and create war goals.

# RCP_tree_access controls who uses the reworked generic tree. With PLAYERS_ONLY,
# AI nations without a country-specific tree use the bundled unmodified copy of the
# vanilla generic tree (rcp_vanilla_generic_tree.txt) instead.
RCP_tree_access = {
	name = "RULE_NAME_RCP_TREE_ACCESS"
	group = "RULE_GROUP_RCP_GENERIC_TREE"
	icon = "GFX_boosting_party_popularity"
	default = {
		name = "EVERYONE"
		text = "RULE_OPTION_RCP_TREE_ACCESS_EVERYONE"
		desc = "RULE_OPTION_RCP_TREE_ACCESS_EVERYONE_DESC"
	}
	option = {
		name = "PLAYERS_ONLY"
		text = "RULE_OPTION_RCP_TREE_ACCESS_PLAYERS_ONLY"
		desc = "RULE_OPTION_RCP_TREE_ACCESS_PLAYERS_ONLY_DESC"
	}
}

RCP_allow_claim_focuses = {
	name = "RULE_NAME_RCP_ALLOW_CLAIM_FOCUSES"
	group = "RULE_GROUP_RCP_GENERIC_TREE"
	icon = "GFX_wargoals"
	default = {
		name = "AI_ONLY"
		text = "RULE_OPTION_RCP_CLAIM_FOCUSES_AI_ONLY"
		desc = "RULE_OPTION_RCP_CLAIM_FOCUSES_AI_ONLY_DESC"
	}
	option = {
		name = "EVERYONE"
		text = "RULE_OPTION_RCP_CLAIM_FOCUSES_EVERYONE"
		desc = "RULE_OPTION_RCP_CLAIM_FOCUSES_EVERYONE_DESC"
	}
	option = {
		name = "BLOCKED"
		text = "RULE_OPTION_RCP_CLAIM_FOCUSES_BLOCKED"
		desc = "RULE_OPTION_RCP_CLAIM_FOCUSES_BLOCKED_DESC"
	}
}
