add_namespace = subparty_policies #Liquidation of assets successful country_event = { id = subparty_policies.0 title = subparty_policies.0.t desc = subparty_policies.0.desc picture = GFX_united_states_dollar is_triggered_only = yes option = { name = subparty_policies.0.a log = "[GetDateText]: [This.GetName]: subparty_policies.0.a executed" set_temp_variable = { cash_bonus = gdp_total } multiply_temp_variable = { cash_bonus = 0.1 } add_to_variable = { treasury = cash_bonus } custom_effect_tooltip = TT_CASH_BONUS } } #State takes control of a factory country_event = { id = subparty_policies.1 title = subparty_policies.1.t desc = subparty_policies.1.desc picture = GFX_generic_factory is_triggered_only = yes option = { name = subparty_policies.1.a log = "[GetDateText]: [This.GetName]: subparty_policies.1.a executed" random_owned_controlled_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } #State takes control of a military factory country_event = { id = subparty_policies.2 title = subparty_policies.2.t desc = subparty_policies.2.desc picture = GFX_generic_factory is_triggered_only = yes option = { name = subparty_policies.2.a log = "[GetDateText]: [This.GetName]: subparty_policies.2.a executed" random_owned_controlled_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } } #State takes control of a naval yard country_event = { id = subparty_policies.3 title = subparty_policies.3.t desc = subparty_policies.3.desc picture = GFX_generic_factory is_triggered_only = yes option = { name = subparty_policies.3.a log = "[GetDateText]: [This.GetName]: subparty_policies.3.a executed" random_owned_controlled_state = { limit = { is_coastal = yes } add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } } } #Nationalisation fails country_event = { id = subparty_policies.4 title = subparty_policies.4.t desc = subparty_policies.4.desc picture = GFX_united_states_dollar is_triggered_only = yes option = { name = subparty_policies.4.a log = "[GetDateText]: [This.GetName]: subparty_policies.4.a executed" decrease_economic_growth = yes } } #Company pulls out country_event = { id = subparty_policies.5 title = subparty_policies.5.t desc = subparty_policies.5.desc picture = GFX_generic_factory is_triggered_only = yes option = { name = subparty_policies.5.a log = "[GetDateText]: [This.GetName]: subparty_policies.5.a executed" random_owned_controlled_state = { limit = { industrial_complex > 0 } remove_building = { type = industrial_complex level = 1 } } } } #Tech Company Takeover country_event = { id = subparty_policies.6 title = subparty_policies.6.t desc = subparty_policies.6.desc picture = GFX_generic_factory is_triggered_only = yes option = { name = subparty_policies.6.a log = "[GetDateText]: [This.GetName]: subparty_policies.6.a executed" random_owned_controlled_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = offices level = 1 instant_build = yes } } } }