monuments_decisions = {
	# Missions:
	monument_construction_mission_1 = {
		icon = GFX_decision_infiltrate_state

		visible = {
			has_variable = monument_construction_state_1
		}

		allowed = {
			always = no
		}

		activation = {
			always = no
		}

		highlight_states = {
			highlight_state_targets = {
				state = var:ROOT.monument_construction_state_1
			}
		}

		available = {
			hidden_trigger = {
				var:monument_construction_state_1 = {
					set_temp_variable = { monument_id = monument_construction_id }
				}
			}
			if = {
				limit = {
					scope_for_monument_bonus_receiver_is_controller = yes
				}
				OR = {
					NOT = { controls_state = var:monument_construction_state_1 }
					custom_trigger_tooltip = {
						tooltip = MONUMENT_BONUS_TRIGGERS_NO_LONGER_FULFILLED
						var:monument_construction_state_1 = {
							NOT = { can_use_monument_bonuses = yes }
						}
					}
				}
			}
			else = {
				OR = {
					NOT = { owns_state = var:monument_construction_state_1 }
					NOT = { controls_state = var:monument_construction_state_1 }
					custom_trigger_tooltip = {
						tooltip = MONUMENT_BONUS_TRIGGERS_NO_LONGER_FULFILLED
						var:monument_construction_state_1 = {
							NOT = { can_use_monument_bonuses = yes }
						}
					}
				}
			}
		}

		is_good = yes

		days_mission_timeout = var:monument_construction_state_1:monument_construction_time

		complete_effect = {
			var:monument_construction_state_1 = {
				set_temp_variable = { show_popup = 1 }
				cancel_monument_construction = yes
			}
		}

		timeout_effect = {
			var:monument_construction_state_1 = {
				complete_monument_construction = yes
			}
		}
	}

	monument_construction_mission_2 = {
		icon = GFX_decision_infiltrate_state

		visible = {
			has_variable = monument_construction_state_2
		}

		allowed = {
			always = no
		}

		activation = {
			always = no
		}

		highlight_states = {
			highlight_state_targets = {
				state = var:ROOT.monument_construction_state_2
			}
		}

		available = {
			hidden_trigger = {
				var:monument_construction_state_2 = {
					set_temp_variable = { monument_id = monument_construction_id }
				}
			}
			if = {
				limit = {
					scope_for_monument_bonus_receiver_is_controller = yes
				}
				OR = {
					NOT = { controls_state = var:monument_construction_state_2 }
					custom_trigger_tooltip = {
						tooltip = MONUMENT_BONUS_TRIGGERS_NO_LONGER_FULFILLED
						var:monument_construction_state_2 = {
							NOT = { can_use_monument_bonuses = yes }
						}
					}
				}
			}
			else = {
				OR = {
					NOT = { owns_state = var:monument_construction_state_2 }
					NOT = { controls_state = var:monument_construction_state_2 }
					custom_trigger_tooltip = {
						tooltip = MONUMENT_BONUS_TRIGGERS_NO_LONGER_FULFILLED
						var:monument_construction_state_2 = {
							NOT = { can_use_monument_bonuses = yes }
						}
					}
				}
			}
		}

		is_good = yes

		days_mission_timeout = var:monument_construction_state_2:monument_construction_time

		complete_effect = {
			var:monument_construction_state_2 = {
				set_temp_variable = { show_popup = 1 }
				cancel_monument_construction = yes
			}
		}

		timeout_effect = {
			var:monument_construction_state_2 = {
				complete_monument_construction = yes
			}
		}
	}

	monument_construction_mission_3 = {
		icon = GFX_decision_infiltrate_state

		visible = {
			has_variable = monument_construction_state_3
		}

		allowed = {
			always = no
		}

		activation = {
			always = no
		}

		highlight_states = {
			highlight_state_targets = {
				state = var:ROOT.monument_construction_state_3
			}
		}

		available = {
			hidden_trigger = {
				var:monument_construction_state_3 = {
					set_temp_variable = { monument_id = monument_construction_id }
				}
			}
			if = {
				limit = {
					scope_for_monument_bonus_receiver_is_controller = yes
				}
				OR = {
					NOT = { controls_state = var:monument_construction_state_3 }
					custom_trigger_tooltip = {
						tooltip = MONUMENT_BONUS_TRIGGERS_NO_LONGER_FULFILLED
						var:monument_construction_state_3 = {
							NOT = { can_use_monument_bonuses = yes }
						}
					}
				}
			}
			else = {
				OR = {
					NOT = { owns_state = var:monument_construction_state_3 }
					NOT = { controls_state = var:monument_construction_state_3 }
					custom_trigger_tooltip = {
						tooltip = MONUMENT_BONUS_TRIGGERS_NO_LONGER_FULFILLED
						var:monument_construction_state_3 = {
							NOT = { can_use_monument_bonuses = yes }
						}
					}
				}
			}
		}

		is_good = yes

		days_mission_timeout = var:monument_construction_state_3:monument_construction_time

		complete_effect = {
			var:monument_construction_state_3 = {
				set_temp_variable = { show_popup = 1 }
				cancel_monument_construction = yes
			}
		}

		timeout_effect = {
			var:monument_construction_state_3 = {
				complete_monument_construction = yes
			}
		}
	}

	monument_construction_mission_4 = {
		icon = GFX_decision_infiltrate_state

		visible = {
			has_variable = monument_construction_state_4
		}

		allowed = {
			always = no
		}

		activation = {
			always = no
		}

		highlight_states = {
			highlight_state_targets = {
				state = var:ROOT.monument_construction_state_4
			}
		}

		available = {
			hidden_trigger = {
				var:monument_construction_state_4 = {
					set_temp_variable = { monument_id = monument_construction_id }
				}
			}
			if = {
				limit = {
					scope_for_monument_bonus_receiver_is_controller = yes
				}
				OR = {
					NOT = { controls_state = var:monument_construction_state_4 }
					custom_trigger_tooltip = {
						tooltip = MONUMENT_BONUS_TRIGGERS_NO_LONGER_FULFILLED
						var:monument_construction_state_4 = {
							NOT = { can_use_monument_bonuses = yes }
						}
					}
				}
			}
			else = {
				OR = {
					NOT = { owns_state = var:monument_construction_state_4 }
					NOT = { controls_state = var:monument_construction_state_4 }
					custom_trigger_tooltip = {
						tooltip = MONUMENT_BONUS_TRIGGERS_NO_LONGER_FULFILLED
						var:monument_construction_state_4 = {
							NOT = { can_use_monument_bonuses = yes }
						}
					}
				}
			}
		}

		is_good = yes

		days_mission_timeout = var:monument_construction_state_4:monument_construction_time

		complete_effect = {
			var:monument_construction_state_4 = {
				set_temp_variable = { show_popup = 1 }
				cancel_monument_construction = yes
			}
		}

		timeout_effect = {
			var:monument_construction_state_4 = {
				complete_monument_construction = yes
			}
		}
	}

	monument_construction_mission_5 = {
		icon = GFX_decision_infiltrate_state

		visible = {
			has_variable = monument_construction_state_5
		}

		allowed = {
			always = no
		}

		activation = {
			always = no
		}

		highlight_states = {
			highlight_state_targets = {
				state = var:ROOT.monument_construction_state_5
			}
		}

		available = {
			hidden_trigger = {
				var:monument_construction_state_5 = {
					set_temp_variable = { monument_id = monument_construction_id }
				}
			}
			if = {
				limit = {
					scope_for_monument_bonus_receiver_is_controller = yes
				}
				OR = {
					NOT = { controls_state = var:monument_construction_state_5 }
					custom_trigger_tooltip = {
						tooltip = MONUMENT_BONUS_TRIGGERS_NO_LONGER_FULFILLED
						var:monument_construction_state_5 = {
							NOT = { can_use_monument_bonuses = yes }
						}
					}
				}
			}
			else = {
				OR = {
					NOT = { owns_state = var:monument_construction_state_5 }
					NOT = { controls_state = var:monument_construction_state_5 }
					custom_trigger_tooltip = {
						tooltip = MONUMENT_BONUS_TRIGGERS_NO_LONGER_FULFILLED
						var:monument_construction_state_5 = {
							NOT = { can_use_monument_bonuses = yes }
						}
					}
				}
			}
		}

		is_good = yes

		days_mission_timeout = var:monument_construction_state_5:monument_construction_time

		complete_effect = {
			var:monument_construction_state_5 = {
				set_temp_variable = { show_popup = 1 }
				cancel_monument_construction = yes
			}
		}

		timeout_effect = {
			var:monument_construction_state_5 = {
				complete_monument_construction = yes
			}
		}
	}

	# Generic Decisions:
	monument_decision_reduce_construction_time = {
		icon = GFX_decision_generic_factory

		visible = {
			is_ai = no
			any_controlled_state = {
				OR = {
					is_owned_by = ROOT
					scope_for_monument_bonus_receiver_is_controller = yes
				}
				state_has_any_monument = yes
				any_of = {
					array = state_monuments_array
					set_temp_variable = { monument_id = v }
					set_temp_variable = { no_cost_check = 1 }
					OR = {
						AND = {
							monument_build_potential_trigger = yes
							monument_build_trigger = yes
						}
						AND = {
							monument_upgrade_potential_trigger = yes
							monument_upgrade_trigger = yes
						}
					}
				}
			}
		}

		cost = 25
		days_remove = 50
		days_re_enable = 10

		modifier = {
			monument_construction_time = -0.2
			consumer_goods_factor = 0.05
		}

		complete_effect = {
		}

		ai_will_do = {
			factor = 0
		}
	}
}