Событие

Инспекции в области Target Area

decline_of_empire.7in_game/events/disaster/decline_of_empire_events.txt:519
Инспекции в области …

В области Target Area проводится масштабная инспекция, направленная на восстановление порядка. Усилив надзор и обеспечив выполнение законов, мы сможем вернуть себе контроль над этими землями и подчинить местное население LR DAT Capital.

ТребуетЗаконодательная эффективностьТип модификатораimmediate

Определениеin_game/events/disaster/decline_of_empire_events.txt:519

520type = country_event
521category = disaster_event
522title = decline_of_empire.7.title Инспекции в области Target Area
523desc = decline_of_empire.7.desc В области Target Area проводится масштабная инспекция, направленная на восстановление порядка. Усилив надзор и обеспечив выполнение законов, мы сможем вернуть себе контроль над этими землями и подчинить местное население LR DAT Capital.
524outcome = neutral
526image = "gfx/interface/illustrations/disaster/decline_of_empire.dds"
528immediate = {
529if = {
530limit = {
531any_rebel = {
532any_pops_supporting_rebel = {
533location.area = scope:target_area
}
}
}
538every_rebel = {
539limit = {
540any_pops_supporting_rebel = {
541location.area = scope:target_area
}
}
545every_pops_supporting_rebel = {
545add_to_list = decline_pop_list_7
}
}
}
549set_variable = {
551value = {
552add = scope:target_area.population
553divide = total_population
554if = {
555limit = {
}
556add = {
557value = 1
}
}
}
}
564scope:target_area = {
565ordered_province_in_area = {
566limit = {
566owner = root
}
567order_by = {
568value = population
569if = {
570limit = {
570province_satisfaction < 0.05
}
571multiply = -0.05
}
573else = {
574multiply = {
575value = province_satisfaction
576multiply = -1
}
}
}
581max = {
582value = root.modifier:legislative_efficiency
583multiply = 20
584ceiling = yes
}
587check_range_bounds = no
589add_to_list = decline_event_provinces_7
}
}
}
652after = {
653custom_tooltip = amount_of_provinces_receive_bonus_depends_legislative_efficiency_tt Количество Concept, которые получат Concept «Недавний осмотр», зависит от нашего модификатора «Законодательная эффективность»
654remove_variable = inspection_efficiency_variable
}

Варианты

AОтправим туда инспекторов.
597add_complacency = {
598value = {
599add = 1
600add = root.var:inspection_efficiency_variable
601multiply = -1
}
603multiply = {
1
1.25
}
}
606if = {
607limit = {
608list_size = {
608name = decline_pop_list_7
608value > 0
}
}
611ordered_in_list = {
612list = decline_pop_list_7
613order_by = pop_size
614max = 3
615check_range_bounds = no
617add_pop_satisfaction = {
618value = -0.01
620if = {
621limit = {
621location.local_control <= 0
}
622divide = 0.1
}
624else = {
624divide = location.local_control
}
}
}
}
629every_in_list = {
630list = decline_event_provinces_7
632add_province_modifier = {
635mode = replace
636size = {масштабирует модификатор
637value = 1
638add = {
639desc = "[control|e]"
640value = "this.province_average_control"
}
643add = {
644desc = area_size_and_legislative_efficiency_tt Эффекты усиливаются в зависимости от нашей Concept и от численности Concept в области Target Area.
645value = root.var:inspection_efficiency_variable
}
}
}
}