
BuildingChanged this version
Trade Company Headquarters
The seat of any future Trade Company, the Trade Company Headquarters serves as the main base of operations for any international and oversea commercial activities on behalf of the motherland.
Modifiers
Modifier
Raw modifier
Production Methods 1
Definitionin_game/common/building_types/trade_company_buildings.txt:1
2audio_tier = 4
3is_foreign = yes
4max_levels = trade_company_headquarters_max_level
6own_or_overlord_relation_needed = trade_access
10rural_settlement = yes
11town = yes
12city = yes
13megalopolis = yes
14expensive = yes
15country_potential = {
16total_effective_building_levels:trade_company_headquarters < 1
18custom_tooltip = {
19text = building_trade_hq_only_one Can only build one Trade Company Headquarters at a time.
}
23num_relations_above_limit <= 0
}
28allow = {
29market = {
29in_trade_range_of = scope:actor
}
30scope:actor = {
31OR = {
32NOT = {
32has_variable_list = trade_company_regions
}
33NOT = {
34is_target_in_variable_list = {
35name = trade_company_regions
36target = root.region
}
}
}
}
}
42build_time = trade_company_headquarters_time
43unique_production_methods = {
44trade_company_headquarters_requirements = {
45paper = 0.1
46category = building_maintenance
}
}
49modifier = {
}
57capital_to_overlord_modifier = {
58number_of_satellite_trade_buildings = 3
}
60raw_modifier = {
}
65custom_tags = {
trade_company_building
}
83on_built = {
84owner = {
84save_scope_as = overlord
}
85location = {
86save_scope_as = capital
87create_building_country_in_location = {
88reforms = {
banking_country
}
91save_scope_as = trade_company_tag
93hidden_effect = {
}
}
102if = {
103limit = {
103exists = scope:trade_company_tag
}
104root = {
104change_building_owner = scope:trade_company_tag
}
105scope:trade_company_tag = {
106set_capital = scope:capital
108if = {
109limit = {
110OR = {
111NOT = {
111has_variable_list = trade_company_regions
}
112NOT = {
113is_target_in_variable_list = {
114name = trade_company_regions
115target = root.region
}
}
}
}
120add_to_variable_list = {
121name = trade_company_regions
122target = scope:capital.region
}
}
}
}
}
128scope:overlord = {
129if = {
130limit = {
131exists = scope:capital
132exists = scope:trade_company_tag
133OR = {
134NOT = {
134has_variable_list = trade_company_regions
}
135NOT = {
136is_target_in_variable_list = {
137name = trade_company_regions
138target = scope:capital.region
}
}
}
}
143add_to_variable_list = {
144name = trade_company_regions
145target = scope:capital.region
}
147add_to_variable_list = {
148name = trade_company_subjects
149target = scope:trade_company_tag
}
}
}
}






