
Misja
Rozwój handlu

Centrum handluPostępmission marketplace of capital, on start
Wielkie targowiskoPostępmission marketplace of capital, on start
Dzielnica kupieckaPostępmission marketplace of capital, on start
ReformacjaEpokamission burgher privileges, mission solid approach, mission winds of trade, on start
DokBudowlamission establish docks
Suchy dokBudowlamission establish docks
EntrepôtBudowlamission build entrepot
RynekBudowlamission marketplace of capital
NabrzeżeBudowlamission establish wharfs
MieszczanieStanabort, visible
BankowośćInstytucjaenabled
Mieszczanie w parlamencieTyp modyfikatoramission burgher relationsDefinicjain_game/common/missions/generic_trade_mission_pack.txt:1
2icon = generic_trade
3repeatable = yes
4player_playstyle = administrative
6visible = {
}
12enabled = {
13exists = capital.market
14has_ports = yes
15num_of_non_rural > 0
}
19chance = 3600
20abort = {
21OR = {
22NOT = {
22exists = capital.market
}
}
}
26on_start = {
27set_variable = {
29value = {
30add = root.navy_size_percentage
31add = 0.05
32max = 1
}
}
35set_variable = {
37value = {
38add = total_effective_building_levels:coastal_fort
39add = total_effective_building_levels:naval_battery
40add = {
41value = total_effective_building_levels:coastal_fort
42add = total_effective_building_levels:naval_battery
43multiply = 0.1
44ceiling = yes
}
46min = 1
47max = {
48value = num_of_non_rural_ports
49add = 1
}
}
}
53set_variable = {
55value = {
56add = total_effective_building_levels:wharf
57add = {
58value = total_effective_building_levels:wharf
59multiply = 0.1
60ceiling = yes
}
62min = 1
63max = {
64value = num_of_non_rural_ports
65add = 1
}
}
}
69set_variable = {
71value = {
72add = total_effective_building_levels:dock
73add = total_effective_building_levels:dry_dock
74add = {
75value = total_effective_building_levels:dock
76add = total_effective_building_levels:dry_dock
77multiply = 0.1
78ceiling = yes
}
80min = 1
81max = {
82value = num_of_non_rural_ports
83add = 1
}
}
}
87set_variable = {
89value = {
90if = {
92add = total_effective_building_levels:commerce_center
}
94else_if = {
96add = total_effective_building_levels:grand_marketplace
}
98else_if = {
100add = total_effective_building_levels:merchants_quarters
}
102else = {
102add = total_effective_building_levels:marketplace
}
103multiply = 1.1
104ceiling = yes
105min = 1
}
}
108set_variable = {
110value = {
111add = estate_satisfaction:burghers_estate
112multiply = 1.1
113min = 0.1
114max = 0.6
}
}
117set_variable = {
119value = {
120add = "estate(estate_type:burghers_estate).num_privileges"
121add = 2
122max = 10
}
}
125set_variable = {
127value = {
128add = "estate_power(estate_type:burghers_estate)"
129add = 0.05
130min = 0.1
131max = 0.75
}
}
135if = {
139set_variable = {
141value = {
}
}
148set_variable = {
}
}
158ordered_owned_non_rural_location = {
159limit = {
159is_coastal = yes
}
160order_by = {
161value = proximity
162if = {
163limit = {
163is_capital = yes
}
164multiply = 0.85
}
166if = {
167limit = {
168any_neighbor_location = {
169is_land = no
170location_maritime_presence_power = {
171country = ROOT
172value <= 95
}
}
}
176multiply = 1.25
}
}
179max = 1
180random_neighbor_location = {
181limit = {
182is_land = no
183area = {
183is_area_coastal_sea = yes
}
}
185save_scope_as = target_maritime_mission_location
}
}
189if = {
190limit = {
190exists = scope:target_maritime_mission_location
}
191set_variable = {
193value = {
194add = "scope:target_maritime_mission_location.location_maritime_presence_power(root)"
195add = {
196value = "scope:target_maritime_mission_location.location_maritime_presence_power(root)"
197multiply = 0.1
198add = 10
}
200max = 95
}
}
}
205set_variable = {
207value = {
208add = "capital.market.merchant_capacity(root)"
209multiply = 1.1
210min = 5
}
}
214set_variable = {
}
}
223on_abort = {
238if = {
}
242if = {
}
246if = {
}
}
251on_completion = {
266if = {
}
270if = {
}
274if = {
}
}
282mission_establish_wharfs = {
283icon = maritime_advance_age_2
284requires = {
}
290duration = 0
291bypass = {
292has_ports = no
}
294on_completion = {
295custom_tooltip = amount_of_impacted_locations_depends_on_crown_power_tt Do 5 przybrzeżnych Concept mających Nabrzeże może zyskać modyfikator „Zwiększona aktywność na morzu” (skalowane przez Crown Power):
296ordered_owned_non_rural_location = {
298order_by = {
299value = development
300multiply = {
301value = market_access
302add = local_control
}
}
305max = {
306value = "estate_power(estate_type:crown_estate)"
307multiply = 5
308ceiling = yes
}
310add_location_modifier = {
313mode = replace
}
}
}
}
319mission_establish_docks = {
320icon = ship_building_advance
321requires = {
mission_establish_wharfs
}
323enabled = {
324OR = {
}
}
330duration = 0
331bypass = {
332has_ports = no
}
334on_completion = {
335if = {
336limit = {
337OR = {
338total_effective_building_levels:dock > 0
339total_effective_building_levels:dry_dock > 0
}
}
342ordered_owned_non_rural_location = {
343limit = {
}
349order_by = {
350value = development
351multiply = {
352value = market_access
353add = local_control
}
}
356max = 1
}
}
360else = {
360custom_tooltip = one_dock_or_drydock_location_dev_severe_tt Jedna z naszych najlepszych Concept mających Buildings Dok lub Suchy dok zyska +1,00 Concept
}
}
}
364mission_winds_of_trade = {
365icon = global_trade_routes_advance
369requires = {
mission_build_entrepot
}
370enabled = {
371OR = {
}
}
377duration = 0
378on_completion = {
379if = {
383change_societal_value = {
}
}
385else = {
386change_societal_value = {
}
}
}
}
391mission_solid_approach = {
392icon = merchant_power_from_maritime_reformation_advance
396requires = {
mission_winds_of_trade
}
397final = yes
398enabled = {
}
405duration = 0
406on_completion = {
407add_country_modifier = {
410mode = replace
}
}
}
415mission_marketplace_of_capital = {
416icon = banking_advance
417requires = {
}
419enabled = {
420trigger_if = {
422total_effective_building_levels:commerce_center >= {
424min = num_of_non_rural
}
}
427trigger_else_if = {
429total_effective_building_levels:grand_marketplace >= {
431min = num_of_non_rural
}
}
434trigger_else_if = {
436total_effective_building_levels:merchants_quarters >= {
438min = num_of_non_rural
}
}
441trigger_else = {
442total_effective_building_levels:marketplace >= {
444min = num_of_non_rural
}
}
}
449duration = 0
450on_completion = {
451if = {
452limit = {
452total_effective_building_levels:marketplace > 0
}
453ordered_owned_non_rural_location = {
455order_by = {
456value = development
457multiply = {
458value = market_access
459add = local_control
}
}
462max = {
463value = "estate_power(estate_type:crown_estate)"
464multiply = 4
465ceiling = yes
}
467change_development = {
468value = 0.05
469multiply = "location_building_level(building_type:marketplace)"
470max = 1
}
472change_prosperity = {
473value = 0.0025
474multiply = "location_building_level(building_type:marketplace)"
475max = 0.05
}
}
}
479custom_tooltip = marketplace_amount_of_impacted_locations_depends_on_crown_power_tt Do 4 Concept mających Rynek może zyskać +0,25% Concept i +0,05 Concept na poziom budowli (skalowane przez Crown Power).
}
}
483mission_build_entrepot = {
484icon = route_to_the_indies_advance
485requires = {
mission_marketplace_of_capital
}
487enabled = {
488total_effective_building_levels:entrepot > 0
}
491duration = 0
492on_completion = {
493if = {
494limit = {
494total_effective_building_levels:entrepot > 0
}
495ordered_owned_non_rural_location = {
497order_by = {
498value = development
499multiply = {
500value = market_access
501add = local_control
}
}
504max = 1
505add_location_modifier = {
508mode = replace
}
}
}
512else = {
512custom_tooltip = entrepot_task_reward_tt Jedna z naszych najlepszych Concept mających Buildings Entrepôt zyska Modifier „Napływ kupców” na 5 lat
}
}
}
516mission_establish_market_center = {
517icon = diplomatic_training_diplomatic_capacity
518requires = {
mission_build_entrepot
}
519enabled = {
520custom_tooltip = {
521text = owns_capital_market_center_tt Posiadamy Concept, gdzie nasza Concept Capital to:
522capital.market ?= {
523any_location_in_market = {
524is_ownable = yes
525is_market_center = yes
526top_owner ?= root
}
}
}
}
532duration = 0
533on_completion = {
534capital.market ?= {
535add_merchant_power = {
536country = root
537key = market_dominance_key
}
}
}
}
545mission_burgher_relations = {
546icon = guilds
547requires = {
}
552duration = 0
556on_completion = {
557if = {
559add_country_modifier = {
562mode = replace
}
564custom_tooltip = based_on_burghers_estate_tax_we_gain_tt Na podstawie Concept oraz Concept stanu Mieszczanie:
565add_gold = estate_tax_base:burghers_estate
}
567else = {
568custom_tooltip = based_on_burghers_estate_tax_we_gain_tt Na podstawie Concept oraz Concept stanu Mieszczanie:
569add_gold = {
570value = estate_tax_base:burghers_estate
571multiply = 3
}
}
}
}
577mission_burgher_privileges = {
578icon = cultural_acceptance_advance
579requires = {
mission_burgher_relations
}
580enabled = {
581OR = {
582estate(estate_type:burghers_estate) = {
582num_privileges >= root.var:current_burgher_privs_variable
}
}
}
587duration = 0
588on_completion = {
589if = {
590limit = {
}
594change_societal_value = {
}
}
596else_if = {
598change_societal_value = {
}
}
600add_country_modifier = {
603mode = extend
}
}
}
608mission_increase_maritime_presence = {
609icon = continental_trade
610requires = {
mission_build_entrepot
mission_burgher_privileges
mission_protect_our_coasts
}
611final = yes
612enabled = {
613scope:target_maritime_mission_location = {
614location_maritime_presence_power = {
615country = ROOT
616value >= root.var:target_location_maritime_presence_variable
}
}
}
621duration = 0
622on_completion = {
623add_country_modifier = {
626mode = replace
}
}
}
631mission_protect_our_coasts = {
632icon = royal_navy
633requires = {
mission_burgher_relations
}
635enabled = {
636OR = {
}
}
642duration = 0
644bypass = {
644NOT = {
644exists = scope:target_maritime_mission_location
}
}
645on_completion = {
646if = {
647limit = {
647exists = scope:target_maritime_mission_location
}
}
649scope:target_maritime_mission_location ?= {
650change_maritime_presence_power = {
651country = root
}
}
}
}
659mission_merchant_fleet = {
660icon = por_bombardeiros
661requires = {
mission_burgher_relations
}
663enabled = {
664OR = {
665trigger_if = {
}
669trigger_else = {
669navy_size_percentage > 0.1
}
670total_sub_unit_count:navy_light_ship >= {
671value = expected_navy_size
672multiply = 0.1
673min = 1
}
}
}
678bypass = {
678has_ports = no
}
680duration = 30
}
686mission_trade_capacity = {
687icon = global_trade_advance
688requires = {
mission_merchant_fleet
}
690enabled = {
691capital.market ?= {
692merchant_capacity = {
693country = root
694value >= root.var:target_merchant_capacity_market_variable
}
}
}
700duration = 0
701on_completion = {
702add_country_modifier = {
704mode = replace
}
}
}