Hoi4 modding Wiki
Advertisement

Definition

National focuses are designed within the Common/national focus folder. Each file represents a single national focus tree.

Syntax

Example

focus_tree = {
	id = czech_focus
	default = no
	continuous_focus_position = { x = 50 y = 1100 } 

	country = {
		factor = 0
		modifier = {
			add = 10
			tag = CZE
			has_dlc = "Death or Dishonor"
		}
	}

	focus = {
		id = CZE_fortification_studies
		icon = GFX_goal_generic_construct_military
		x = 3
		y = 0

		cost = 10

		ai_will_do = {
		   factor = 200
                    		
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CZE_fortification_focus
		}
	}
}

ai_will_do_value

Advertisement