WydarzenieZmienione w tej wersji
Target Character buntuje się

Chupan był jednym z najważniejszych generałów Mongolskiego kraju. Choć jego ród popadł w niełaskę, nie został on zgładzony i obecnie jego prawnuk, Target Character, zgromadził wokół siebie wielu popleczników. Jednym z takich pomocników jest gubernator obszaru Target Location – z tego powodu Target Character przejął Target Location Rank oraz wszystkie okoliczne tereny, a nawet schwytał i zabił człowieka znanego jako Muhammad Khan.
KurułtajBudowlaimmediate
CzobanidziKrajtrigger
DżalajirydziKrajdynamic historical event.tag
ĪlkhānānOrganizacja międzynarodowaimmediateDefinicjain_game/events/DHE/flavor_chb.txt:3
4type = country_event
5title = flavor_chb.1.title Target Character buntuje się
6desc = flavor_chb.1.desc Chupan był jednym z najważniejszych generałów Mongolskiego kraju. Choć jego ród popadł w niełaskę, nie został on zgładzony i obecnie jego prawnuk, Target Character, zgromadził wokół siebie wielu popleczników. Jednym z takich pomocników jest gubernator obszaru Target Location – z tego powodu Target Character przejął Target Location Rank oraz wszystkie okoliczne tereny, a nawet schwytał i zabił człowieka znanego jako Muhammad Khan.
7outcome = neutral
8fire_only_once = yes
17major = yes
18major_trigger = {
19tag = ERE
}
22trigger = {
23character:chb_hasan_kuchak ?= {
23is_alive = yes
}
25owns = location:tabriz
}
28illustration_tags = {
2910 = exterior
3010 = regular
}
33immediate = {
}
35character:chb_hasan_kuchak = {
35save_scope_as = target_character
}
37location:tabriz = {
38save_scope_as = target_location
39area = {
40every_location_in_area = {
41limit = {
41owner ?= root
}
42add_core = scope:target_country
}
}
45floodfill_locations = {
46limit = {
47owner ?= root
48OR = {
49is_core_of = scope:target_country
50this.distance_to(root.capital) > "this.distance_to(scope:target_location)"
51local_control < 0.1
}
}
54add_core = scope:target_country
}
}
57create_country_from_cores_in_our_locations = scope:target_country
58scope:target_country = {
59set_capital = scope:target_location
61change_country_type = army
62change_country_color = map_CHB
63add_gold = 3000
64add_estate_satisfaction = {
}
65add_estate_satisfaction = {
}
66add_estate_satisfaction = {
}
67add_estate_satisfaction = {
}
71every_province = {
72limit = {
72any_location_in_province = {
72NOT = {
72integration_level = core
}
}
}
73change_province_integration = core
}
}
76scope:target_location = {
77if = {
81construct_building = {
83cost_multiplier = 0
84cost_multiplier_reason = "game_concept_event"
85instant = yes
}
}
88while = {
89count = 12
90create_sub_unit_with_owner = {
91type = a_steppe_horse_archers
92owner = scope:target_country
}
}
}
96cancel_subject = scope:target_country
97if = {
98limit = {
99character:jal_muhammad_khan ?= {
99is_alive = yes
}
}
101kill_character = {
102target = character:jal_muhammad_khan
103reason = execution
104killer = scope:target_character
}
}
107if = {
108limit = {
109character:chb_malek_ashraf ?= {
109is_alive = yes
}
}
111character:chb_malek_ashraf = {
111move_country = scope:target_country
}
}
113if = {
114limit = {
115scope:target_country = {
}
}
119add_country_to_international_organization = scope:target_country
}
}
}
133after = {
134scope:target_country = {
135set_new_ruler = scope:target_character
}
}