# Investor decisions (15 project slots, visible = no - activated via scripted effects). investments_DECISIONS = { investments_project_0_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^0 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^0 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^0 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_0_decision" set_temp_variable = { completed_project_building_type = project_building_type^0 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^0] } hidden_effect = { set_variable = { project = 0 } country_event = investments_event.0 } } } investments_project_1_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^1 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^1 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^1 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_1_decision" set_temp_variable = { completed_project_building_type = project_building_type^1 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^1] } hidden_effect = { set_variable = { project = 1 } country_event = investments_event.0 } } } investments_project_2_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^2 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^2 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^2 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_2_decision" set_temp_variable = { completed_project_building_type = project_building_type^2 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^2] } hidden_effect = { set_variable = { project = 2 } country_event = investments_event.0 } } } investments_project_3_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^3 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^3 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^3 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_3_decision" set_temp_variable = { completed_project_building_type = project_building_type^3 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^3] } hidden_effect = { set_variable = { project = 3 } country_event = investments_event.0 } } } investments_project_4_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^4 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^4 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^4 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_4_decision" set_temp_variable = { completed_project_building_type = project_building_type^4 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^4] } hidden_effect = { set_variable = { project = 4 } country_event = investments_event.0 } } } investments_project_5_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^5 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^5 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^5 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_5_decision" set_temp_variable = { completed_project_building_type = project_building_type^5 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^5] } hidden_effect = { set_variable = { project = 5 } country_event = investments_event.0 } } } investments_project_6_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^6 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^6 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^6 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_6_decision" set_temp_variable = { completed_project_building_type = project_building_type^6 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^6] } hidden_effect = { set_variable = { project = 6 } country_event = investments_event.0 } } } investments_project_7_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^7 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^7 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^7 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_7_decision" set_temp_variable = { completed_project_building_type = project_building_type^7 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^7] } hidden_effect = { set_variable = { project = 7 } country_event = investments_event.0 } } } investments_project_8_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^8 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^8 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^8 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_8_decision" set_temp_variable = { completed_project_building_type = project_building_type^8 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^8] } hidden_effect = { set_variable = { project = 8 } country_event = investments_event.0 } } } investments_project_9_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^9 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^9 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^9 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_9_decision" set_temp_variable = { completed_project_building_type = project_building_type^9 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^9] } hidden_effect = { set_variable = { project = 9 } country_event = investments_event.0 } } } investments_project_10_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^10 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^10 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^10 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_10_decision" set_temp_variable = { completed_project_building_type = project_building_type^10 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^10] } hidden_effect = { set_variable = { project = 10 } country_event = investments_event.0 } } } investments_project_11_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^11 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^11 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^11 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_11_decision" set_temp_variable = { completed_project_building_type = project_building_type^11 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^11] } hidden_effect = { set_variable = { project = 11 } country_event = investments_event.0 } } } investments_project_12_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^12 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^12 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^12 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_12_decision" set_temp_variable = { completed_project_building_type = project_building_type^12 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^12] } hidden_effect = { set_variable = { project = 12 } country_event = investments_event.0 } } } investments_project_13_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^13 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^13 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^13 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_13_decision" set_temp_variable = { completed_project_building_type = project_building_type^13 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^13] } hidden_effect = { set_variable = { project = 13 } country_event = investments_event.0 } } } investments_project_14_decision = { icon = GFX_decision_generic_industry priority = 5 highlight_states = { highlight_states_trigger = { check_variable = { ROOT.project_array^14 = THIS.id } } } visible = { always = no } days_remove = project_construction_duration^14 cancel_trigger = { NOT = { check_variable = { ROOT.project_array^14 < 0 } } } remove_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_14_decision" set_temp_variable = { completed_project_building_type = project_building_type^14 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?ROOT.project_build_amount^14] } hidden_effect = { set_variable = { project = 14 } country_event = investments_event.0 } } } } # Target decisions (auto-activated via scripted effects, player never selects manually). investments_target_country_DECISIONS = { investments_project_0_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^0 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^0 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_0_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^0 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^0] } hidden_effect = { FROM = { set_variable = { project = 0 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_1_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^1 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^1 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_1_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^1 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^1] } hidden_effect = { FROM = { set_variable = { project = 1 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_2_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^2 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^2 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_2_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^2 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^2] } hidden_effect = { FROM = { set_variable = { project = 2 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_3_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^3 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^3 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_3_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^3 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^3] } hidden_effect = { FROM = { set_variable = { project = 3 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_4_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^4 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^4 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_4_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^4 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^4] } hidden_effect = { FROM = { set_variable = { project = 4 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_5_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^5 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^5 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_5_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^5 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^5] } hidden_effect = { FROM = { set_variable = { project = 5 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_6_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^6 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^6 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_6_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^6 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^6] } hidden_effect = { FROM = { set_variable = { project = 6 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_7_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^7 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^7 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_7_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^7 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^7] } hidden_effect = { FROM = { set_variable = { project = 7 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_8_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^8 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^8 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_8_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^8 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^8] } hidden_effect = { FROM = { set_variable = { project = 8 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_9_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^9 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^9 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_9_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^9 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^9] } hidden_effect = { FROM = { set_variable = { project = 9 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_10_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^10 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^10 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_10_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^10 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^10] } hidden_effect = { FROM = { set_variable = { project = 10 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_11_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^11 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^11 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_11_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^11 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^11] } hidden_effect = { FROM = { set_variable = { project = 11 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_12_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^12 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^12 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_12_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^12 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^12] } hidden_effect = { FROM = { set_variable = { project = 12 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_13_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^13 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^13 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_13_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^13 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^13] } hidden_effect = { FROM = { set_variable = { project = 13 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } investments_project_14_target_decision = { highlight_states = { highlight_states_trigger = { check_variable = { FROM.project_array^14 = THIS.id } } } allowed = { always = no } days_mission_timeout = project_target_construction_duration is_good = yes fire_only_once = yes selectable_mission = yes cancel_trigger = { NOT = { check_variable = { FROM.project_array^14 < 0 } } } complete_effect = { log = "[GetDateText]: [ROOT.GetName]: Decision investments_project_14_target_decision" set_temp_variable = { completed_project_building_type = FROM.project_building_type^14 } custom_effect_tooltip = { localization_key = investment_completion_tooltip_tt BUILDING = [investments_get_completed_building_type] AMOUNT = [?FROM.project_build_amount^14] } hidden_effect = { FROM = { set_variable = { project = 14 } country_event = investments_event.1 } } } ai_will_do = { base = 0 } } }