Gatilho de ScriptNovo nesta versão
can_build_satellite_trade_building
Scope into the TC that owns root.region so the cap is checked on the actual building owner, not the overlord.
Definiçãoin_game/common/scripted_triggers/building_triggers.txt:188
189OR = {
190scope:actor = {
191is_subject = yes
192total_effective_building_levels:$BUILDING_TYPE$ < {
193value = overlord.modifier:number_of_satellite_trade_buildings
}
}
196AND = {
197NOT = {
197scope:actor = {
197is_subject = yes
}
}
198scope:actor = {
199any_subject = {
200custom_tooltip = {
201text = trade_company_home_region_tt É uma Companhia Mercantil
}
204custom_tooltip = {
205text = trade_company_regions_tt Tem presença nesta região
206is_target_in_variable_list = {
207name = trade_company_regions
208target = root.region
}
}
211total_effective_building_levels:$BUILDING_TYPE$ < {
212value = overlord.modifier:number_of_satellite_trade_buildings
}
}
}
}
}