СобытиеИзменено в этой версии

Target Character рвётся к власти

flavor_tim.8in_game/events/DHE/flavor_tim.txt:445
… рвётся к власти

Target Character — настоящий военный гений и непобедимый завоеватель, которого ведёт мечта о возрождении Longname Ru GEN. Собрав внушительное войско своих верных сторонников, он захватил LR ACC Target Location вместе с окрестными землями и основал там Longname Ru ACC.

ТребуетКурултайСооружениеimmediateЧагатаиДержаваafterТимуридыДержаваtriggerИранскКультурная группаtriggerМонгольскКультурная группаtriggerТюркскКультурная группаtrigger

Определениеin_game/events/DHE/flavor_tim.txt:445

446hide_portraits = yes
447type = country_event
448title = flavor_tim.8.title Target Character рвётся к власти
449desc = flavor_tim.8.desc Target Character — настоящий военный гений и непобедимый завоеватель, которого ведёт мечта о возрождении Longname Ru GEN. Собрав внушительное войско своих верных сторонников, он захватил LR ACC Target Location вместе с окрестными землями и основал там Longname Ru ACC.
450outcome = neutral
451fire_only_once = yes
452illustration_tags = {
45310 = armed
45410 = exterior
}
456major = yes
457major_trigger = {
}
461trigger = {
462current_year >= 1360
463current_year < 1400
464owns = location:samarkand
465culture = {
466OR = {
467has_culture_group = culture_group:turkic_group
468has_culture_group = culture_group:iranian_group
469has_culture_group = culture_group:mongolian_group
}
}
472character:chg_timur_lame_borjigin = {
473is_alive = yes
474is_adult = yes
}
476NOT = {
476country_exists = c:TIM
}
}
478immediate = {
480every_owned_location = {
481add_to_list = own_locations
}
483character:chg_timur_lame_borjigin = {
484save_scope_as = target_character
}
486set_global_variable = {
487name = timur_character
488value = character:chg_timur_lame_borjigin
}
490c:CHG ?= {
490save_scope_as = target_chagatai
}
491c:TIM = {
491save_scope_as = target_country
}
492location:samarkand = {
493save_scope_as = target_location
494area = {
495every_location_in_area = {
496limit = {
497owner ?= {
498OR = {
499this = root
}
}
}
504add_core = scope:target_country
}
}
}
508scope:target_location = {
509floodfill_locations = {
510limit = {
511owner ?= {
512OR = {
513this = root
}
}
517OR = {
518is_core_of = scope:target_country
519AND = {
520exists = scope:target_chagatai
521this.distance_to(scope:target_chagatai.capital) > "this.distance_to(scope:target_location)"
}
}
}
525add_core = scope:target_country
526if = {
527limit = {
527is_in_list = own_locations
}
528remove_from_list = own_locations
}
}
532while = {
533count = 12
534create_sub_unit_with_owner = {
535type = a_steppe_horse_archers
536owner = scope:target_country
}
}
}
540save_scope_as = root_country
541create_country_from_cores_in_our_locations = scope:target_country
542scope:target_country = {
543set_capital = scope:target_location
544set_new_ruler = global_var:timur_character
545set_variable = {
}
549change_culture = culture:khorezmian_culture
550change_country_type = army
551change_government_type = government_type:steppe_horde
552add_reform = government_reform:legacy_of_genghis
553change_heir_selection = heir_selection:tribal_oldest_male
554add_policy = policy:mongol_law_policy
555change_country_color = map_TIM
557centralization_vs_decentralization = -60
558traditionalist_vs_innovative = 40
559spiritualist_vs_humanist = -50
560aristocracy_vs_plutocracy = -60
561serfdom_vs_free_subjects = 50
562mercantilism_vs_free_trade = 50
563belligerent_vs_conciliatory = -80
564quality_vs_quantity = -50
565offensive_vs_defensive = -90
566land_vs_naval = -80
567capital_economy_vs_traditional_economy = 100
568individualism_vs_communalism = 60
569outward_vs_inward = -20
}
571if = {
572limit = {
572country_rank_level < 3
}
573set_country_rank = country_rank:rank_kingdom
}
575add_horde_unity = horde_unity_extreme_bonus (20)
576add_gold = 3000
577add_estate_satisfaction = {
}
578add_estate_satisfaction = {
}
579add_estate_satisfaction = {
}
580add_estate_satisfaction = {
}
581every_owned_location = {
582change_control = control_radical_bonus (1)
}
584every_province = {
585limit = {
585any_location_in_province = {
585NOT = {
585integration_level = core
}
}
}
586change_province_integration = core
}
}
589cancel_subject = scope:target_country
590scope:target_location = {
591if = {
592limit = {
593NOT = {
593has_building = building_type:kurultai
}
}
595construct_building = {
596building_type = building_type:kurultai
597cost_multiplier = 0
598cost_multiplier_reason = "game_concept_event"
599instant = yes
}
}
}
604every_ruling_countries = {
605limit = {
606this != scope:target_country
607is_ai = yes
}
609scope:target_country = {
610country = prev
}
}
}
}
}
652after = {
653activate_situation = situation:rise_of_timur
654scope:target_country = {
655every_neighbor_country = {
656limit = {
657this != scope:target_country
658OR = {
659any_owned_location = {
660is_core_of = scope:target_country
661count = all
}
663this = c:CHG
}
}
666set_variable = {
666value = 1
666months = 1
}
667trigger_event_silently = flavor_tim.81
}
}
}

Варианты

AЭто возмутительно! Это несправедливо!
617trigger = {
618OR = {
619is_ai = yes
620list_size = {
621name = own_locations
622value > 0
}
}
}
626custom_tooltip = flavor_tim.8.a.at Все Concept вокруг LR GEN Target Location отделятся и войдут в состав CL GEN
627custom_tooltip = flavor_tim.8.a.bt Выделить CL ACC
628type = rise_of_timur
}
629if = {
630limit = {
631list_size = {
632name = own_locations
633value = 0
}
}
636scope:target_country = {
636annex_country = {
636country = scope:root_country
636reason = MilitaryConquest
636transfer = yes
}
}
}
BМы с интересом будем следить за его успехами.
641high_risk_option = yes
642trigger = {
643is_ai = no
}
645custom_tooltip = flavor_tim.8.a.at Все Concept вокруг LR GEN Target Location отделятся и войдут в состав CL GEN
646custom_tooltip = flavor_tim.8.a.bt Выделить CL ACC
647change_player = scope:target_country
648type = rise_of_timur
}
649scope:target_country = {
649annex_country = {
649country = scope:root_country
649reason = MilitaryConquest
649transfer = yes
}
}