cheat_decision_categories = { game_rule_toggle_cheat_decisions = { icon = eng_propaganda_campaigns visible = { has_global_flag = game_rule_allow_cheat_decisions has_global_flag = game_rule_allow_toggling_cheat_decisions } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision game_rule_toggle_cheat_decisions" hidden_effect = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions NOT = { has_country_flag = enable_all_decisions } } every_country = { set_country_flag = enable_all_decisions } } else_if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } every_country = { clr_country_flag = enable_all_decisions } } } } } open_cheat_decisions = { icon = generic_research visible = { if = { limit = { NOT = { has_global_flag = game_rule_allow_toggling_cheat_decisions } } has_global_flag = game_rule_allow_cheat_decisions } else = { has_country_flag = enable_all_decisions has_global_flag = game_rule_allow_cheat_decisions } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision open_cheat_decisions" if = { limit = { NOT = { has_country_flag = cheat_decisions_open } } set_country_flag = cheat_decisions_open } else = { clr_country_flag = cheat_decisions_open clr_country_flag = cheat_decisions_open_factions clr_country_flag = cheat_decisions_open_parties clr_country_flag = cheat_decisions_open_money clr_country_flag = cheat_decisions_open_manpower } } } open_cheat_decisions_factions = { icon = GFX_decision_break_treaty visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision open_cheat_decisions_factions" if = { limit = { NOT = { has_country_flag = cheat_decisions_open_factions } } set_country_flag = cheat_decisions_open_factions } else = { clr_country_flag = cheat_decisions_open_factions } } } cheat_decisions_dismantle_all_factions = { icon = GFX_decision_break_treaty visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_factions } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_dismantle_all_factions" every_country = { limit = { is_faction_leader = yes } dismantle_faction = yes } } } cheat_decisions_dismantle_russian_faction = { icon = GFX_decision_break_treaty visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_factions } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_dismantle_russian_faction" SOV = { dismantle_faction = yes } } } cheat_decisions_dismantle_nato = { icon = GFX_decision_break_treaty visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_factions } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_dismantle_nato" random_country = { limit = { has_idea = NATO_member is_faction_leader = yes } dismantle_faction = yes } for_each_scope_loop = { array = global.nato_members tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN remove_ideas = NATO_member } } } cheat_decisions_dismantle_iranian_faction = { icon = GFX_decision_break_treaty visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_factions } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_dismantle_iranian_faction" PER = { dismantle_faction = yes } } } cheat_decisions_dismantle_saudi_faction = { icon = GFX_decision_break_treaty visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_factions } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_dismantle_saudi_faction" SAU = { dismantle_faction = yes } } } open_cheat_decisions_parties = { icon = GFX_decision_generic_civil_support visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision open_cheat_decisions_parties" if = { limit = { NOT = { has_country_flag = cheat_decisions_open_parties } } set_country_flag = cheat_decisions_open_parties } else = { clr_country_flag = cheat_decisions_open_parties } } } cheat_decisions_party_Western_Autocracy = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Western_Autocracy" set_temp_variable = { rul_party_temp = 0 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 0 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_conservatism = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_conservatism" set_temp_variable = { rul_party_temp = 1 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 1 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_liberalism = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_liberalism" set_temp_variable = { rul_party_temp = 2 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_socialism = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_socialism" set_temp_variable = { rul_party_temp = 3 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 3 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Communist_State = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Communist_State" set_temp_variable = { rul_party_temp = 4 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_anarchist_communism = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_anarchist_communism" set_temp_variable = { rul_party_temp = 5 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 5 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Conservative = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Conservative" set_temp_variable = { rul_party_temp = 6 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 6 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Autocracy = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Autocracy" set_temp_variable = { rul_party_temp = 7 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 7 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Mod_Vilayat_e_Faqih = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Mod_Vilayat_e_Faqih" set_temp_variable = { rul_party_temp = 8 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 8 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Vilayat_e_Faqih = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Vilayat_e_Faqih" set_temp_variable = { rul_party_temp = 9 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 9 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Kingdom = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Kingdom" set_temp_variable = { rul_party_temp = 10 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 10 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Caliphate = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Caliphate" set_temp_variable = { rul_party_temp = 11 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Neutral_Muslim_Brotherhood = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Neutral_Muslim_Brotherhood" set_temp_variable = { rul_party_temp = 12 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 12 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Neutral_Autocracy = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Neutral_Autocracy" set_temp_variable = { rul_party_temp = 13 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 13 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Neutral_conservatism = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Neutral_conservatism" set_temp_variable = { rul_party_temp = 14 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 14 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_oligarchism = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_oligarchism" set_temp_variable = { rul_party_temp = 15 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 15 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Neutral_Libertarian = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Neutral_Libertarian" set_temp_variable = { rul_party_temp = 16 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 16 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Neutral_green = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Neutral_green" set_temp_variable = { rul_party_temp = 17 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 17 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_neutral_Social = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_neutral_Social" set_temp_variable = { rul_party_temp = 18 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 18 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Neutral_Communism = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Neutral_Communism" set_temp_variable = { rul_party_temp = 19 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 19 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Nat_Populism = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Nat_Populism" set_temp_variable = { rul_party_temp = 20 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Nat_Fascism = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Nat_Fascism" set_temp_variable = { rul_party_temp = 21 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 21 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Nat_Autocracy = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Nat_Autocracy" set_temp_variable = { rul_party_temp = 22 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } cheat_decisions_party_Monarchist = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_parties } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_party_Monarchist" set_temp_variable = { rul_party_temp = 23 } set_temp_variable = { disable_elections = 0 } change_ruling_party_effect = yes set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.50 } set_temp_variable = { temp_outlook_increase = 0.50 } change_relative_party_popularity = yes } } open_cheat_decisions_money = { icon = GFX_decision_break_treaty visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision open_cheat_decisions_money" if = { limit = { NOT = { has_country_flag = cheat_decisions_open_money } } set_country_flag = cheat_decisions_open_money } else = { clr_country_flag = cheat_decisions_open_money } } } cheat_decisions_money_1_billion = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_money } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_money_1_billion" set_temp_variable = { treasury_change = 1 } modify_treasury_effect = yes } } cheat_decisions_money_2_billion = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_money } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_money_2_billion" set_temp_variable = { treasury_change = 2 } modify_treasury_effect = yes } } cheat_decisions_money_5_billion = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_money } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_money_5_billion" set_temp_variable = { treasury_change = 5 } modify_treasury_effect = yes } } cheat_decisions_money_10_billion = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_money } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_money_10_billion" set_temp_variable = { treasury_change = 10 } modify_treasury_effect = yes } } cheat_decisions_money_50_billion = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_money } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_money_50_billion" set_temp_variable = { treasury_change = 50 } modify_treasury_effect = yes } } cheat_decisions_money_100_billion = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_money } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_money_100_billion" set_temp_variable = { treasury_change = 100 } modify_treasury_effect = yes } } cheat_decisions_money_500_billion = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_money } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_money_500_billion" set_temp_variable = { treasury_change = 500 } modify_treasury_effect = yes } } cheat_decisions_money_1_trillion = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_money } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_money_1_trillion" set_temp_variable = { treasury_change = 1000 } modify_treasury_effect = yes } } open_cheat_decisions_manpower = { icon = GFX_decision_break_treaty visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision open_cheat_decisions_manpower" if = { limit = { NOT = { has_country_flag = cheat_decisions_open_manpower } } set_country_flag = cheat_decisions_open_manpower } else = { clr_country_flag = cheat_decisions_open_manpower } } } cheat_decisions_manpower_1000 = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_manpower } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_manpower_1000" add_manpower = 1000 } } cheat_decisions_manpower_10000 = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_manpower } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_manpower_10000" add_manpower = 10000 } } cheat_decisions_manpower_50000 = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_manpower } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_manpower_50000" add_manpower = 50000 } } cheat_decisions_manpower_100000 = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_manpower } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_manpower_100000" add_manpower = 100000 } } cheat_decisions_manpower_250000 = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_manpower } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_manpower_250000" add_manpower = 250000 } } cheat_decisions_manpower_500000 = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_manpower } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_manpower_500000" add_manpower = 500000 } } cheat_decisions_manpower_1000000 = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_manpower } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_manpower_1000000" add_manpower = 1000000 } } open_cheat_decisions_operatives = { icon = GFX_decision_break_treaty visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision open_cheat_decisions_operatives" if = { limit = { NOT = { has_country_flag = cheat_decisions_open_operatives } } set_country_flag = cheat_decisions_open_operatives } else = { clr_country_flag = cheat_decisions_open_operatives } } } cheat_decisions_add_1_operative = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_operatives } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_add_1_operative" add_ideas = operatives1 } } cheat_decisions_add_5_operative = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_operatives } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_add_5_operative" add_ideas = operatives5 } } cheat_decisions_add_10_operative = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions has_country_flag = cheat_decisions_open_operatives } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_add_10_operative" add_ideas = operatives10 } } cheat_decisions_max_internal_faction_opinion = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_max_internal_faction_opinion" set_to_max_internal_faction_opinions = yes } } cheat_decisions_european_union_vote_yes_always = { visible = { if = { limit = { has_global_flag = game_rule_allow_toggling_cheat_decisions } has_country_flag = enable_all_decisions } has_country_flag = cheat_decisions_open has_global_flag = game_rule_allow_cheat_decisions } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_european_union_vote_yes_always" set_global_flag = EUU_all_nations_vote_yes } } cheat_decisions_allow_internal_faction_change = { visible = { NOT = { has_idea = GAME_RULE_reduce_internal_factions_cost } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision cheat_decisions_allow_internal_faction_change" add_ideas = GAME_RULE_reduce_internal_factions_cost } } #20 of every satellite get_satellites = { icon = GFX_decision_generic_ignite_civil_war complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision get_satellites" custom_effect_tooltip = 20_satellite_model_TT # satellites set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 20 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 121 } add_to_array = { payload_array = 122 } add_to_array = { payload_array = 123 } add_to_array = { payload_array = 124 } add_to_array = { payload_array = 125 } add_to_array = { payload_array = 126 } add_to_array = { payload_array = 127 } add_to_array = { payload_array = 128 } add_to_array = { payload_array = 129 } add_to_array = { payload_array = 130 } add_to_array = { payload_array = 131 } add_to_array = { payload_array = 132 } # add_to_array = { payload_array = 141 } add_to_array = { payload_array = 142 } add_to_array = { payload_array = 143 } add_to_array = { payload_array = 144 } add_to_array = { payload_array = 145 } add_to_array = { payload_array = 146 } add_to_array = { payload_array = 147 } add_to_array = { payload_array = 148 } add_to_array = { payload_array = 149 } add_to_array = { payload_array = 150 } add_to_array = { payload_array = 151 } add_to_array = { payload_array = 152 } # add_to_array = { payload_array = 161 } add_to_array = { payload_array = 162 } add_to_array = { payload_array = 163 } add_to_array = { payload_array = 164 } add_to_array = { payload_array = 165 } add_to_array = { payload_array = 166 } add_to_array = { payload_array = 167 } add_to_array = { payload_array = 168 } add_to_array = { payload_array = 169 } add_to_array = { payload_array = 170 } add_to_array = { payload_array = 171 } add_to_array = { payload_array = 172 } # add_to_array = { payload_array = 181 } add_to_array = { payload_array = 182 } add_to_array = { payload_array = 183 } add_to_array = { payload_array = 184 } add_to_array = { payload_array = 185 } add_to_array = { payload_array = 186 } add_to_array = { payload_array = 187 } add_to_array = { payload_array = 188 } add_to_array = { payload_array = 189 } add_to_array = { payload_array = 190 } add_satellite_from_payload = yes } set_satellites_gui = yes } ai_will_do = { base = 0 } } }