Manufactory Focus
Mission TaskChanged this version

Manufactory Focus

mission_prepare_industry_focusin_game/common/missions/generic_capital_economy_mission_pack.txt:267

The wealth of our state lies in the riches of our towns and cities. We shall utilize them to their fullest potential, and establish an industry to create an unmatched economy!

RequiresEmbracing the Capital EconomyMission Taskrequiresmission_task_control_increase_to_maxVariableenabled

  1. 270NOT = {
    270mission_task_completed = mission_task:mission_prepare_trade_focus
    }
    321if = {
    322limit = {
    322exists = scope:goods
    }
    323set_variable = {
    325value = scope:goods
    }
    }
    328set_variable = {
    330value = {
    331value = scope:mission_setup_trade_target_location.raw_material_output
    332divide = 4
    333add = scope:mission_setup_trade_target_location.raw_material_output
    }
    }
    336set_variable = {
    338value = scope:mission_target_market
    }
  2. 342add_country_modifier = {
    345mode = replace
    }
    349if = {
    350limit = {
    350NOT = {
    350exists = scope:goods
    }
    }
    351ordered_goods = {
    352order_by = "price_in_market(scope:mission_target_market)"
    353limit = {
    354goods_category = produced
    355scope:mission_target_market ?= {
    356NOT = {
    356is_export_banned = PREV
    }
    }
    358any_production_method = {
    359is_available_for = root
    360produced_goods ?= prev
    }
    }
    363max = 1
    364save_scope_as = goods
    }
    }

268icon = rudimentary_coastal_ship_repair
273highlight = {
274this = scope:mission_setup_trade_target_location
}
276enabled = {
277trigger_if = {
278limit = {
279exists = scope:mission_setup_trade_target_location
}
282scope:mission_setup_trade_target_location = {
283owner = root
284controller = root
285rank_index <= 2
286province ?= {
286is_starving = no
}
287has_siege = no
288local_control >= root.var:mission_task_control_increase_to_max
}
}
291trigger_else = {
292custom_tooltip = {
293text = need_mission_embrace_capital_economy_tt The requirements of this Mission Task will activate when we select an Urban Location in Embracing the Capital Economy
294always = no
}
}
297NOT = {
297mission_task_completed = mission_task:mission_prepare_trade_focus
}
}
299duration = 0
301select_trigger = {
302looking_for_a = goods
303target_flag = goods
304name = "mission_select_goods" Select a Good for the Mission
305none_available_msg_key = "mission_no_goods"
306column = {
307data = name
}
309visible = {
310scope:mission_target_market = {
311NOT = {
311is_export_banned = root
}
}
313goods_category = produced
314any_production_method = {
315is_available_for = scope:actor
316produced_goods ?= root
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. All rights reserved. Unofficial fan project, not affiliated with Paradox Interactive. Game content © Paradox Interactive. About · Privacy · Legal notice