appropriation_of_land.txt

(1 KB) Pobierz
appropriation_of_land = {

	category = 3

	allow = {
		num_of_cities = 6
	}
	
	on_issue_taken = {
		every_owned_province = {
			clr_province_flag = appropriation_of_land_flag
		}
		random_owned_province = {
			limit = {
				is_in_capital_area = yes
			}
			set_province_flag = appropriation_of_land_flag
		}
		#random_owned_province = {
		#	limit = {
		#		is_in_capital_area = yes
		#		NOT = { has_province_flag = appropriation_of_land_flag }
		#	}
		#	set_province_flag = appropriation_of_land_flag
		#}
	}
	
	effect = {
		hidden_effect = {
			every_owned_province = {
				limit = { has_province_flag = appropriation_of_land_flag }
				add_base_tax = 1
				clr_province_flag = appropriation_of_land_flag
			}
		}
		if = {
			limit = {
				NOT = {
					any_owned_province = {
						has_province_flag = appropriation_of_land_flag
					}
				}
			}
			tooltip = {
				custom_tooltip = appropriation_of_land_tooltip
			}
		}
		if = {
			limit = {
				any_owned_province = {
					has_province_flag = appropriation_of_land_flag
				}
			}
			tooltip = {
				every_owned_province = {
					limit = { has_province_flag = appropriation_of_land_flag }
					add_base_tax = 1
				}
			}
		}
	}
	
	modifier = {
		build_cost = -0.05
	}

	ai_will_do = {
		factor = 1	
	}	
}
Zgłoś jeśli naruszono regulamin