Situations Driven by a potent combination of ambition, martial skill, and strategic vision, many Turkish Beyliks carved their own paths through the fragmented realms of Anatolia. Their nomadic origins merged with the sophistication of settled societies, creating a formidable blend of military might and administrative acumen. As the regional principalities lay divided and vulnerable, the most formidable among them seized the opportunity to unite their ranks under a single banner. Charismatic leaders such as Ottoman, the founder of Ottomans, ignited flames of inspiration that would burn brightly for centuries to come. With every victory, these Beyliks gather momentum, transforming themselves into a force to be reckoned with. The conquest of vital towns and cities across the region all heralded their inexorable rise.
Definitionin_game/common/situations/rise_of_the_ottomans.txt:1 3 hint_tag = hint_rise_of_the_ottomans
11 ▾ can_start = {
12 current_date > 1337.4.1
13 current_date < 1350
}
20 ▾ visible = {
21 ▾ OR = {
31 has_presence_in = region:balkan_region
32 has_presence_in = region:anatolia_region
33 has_reform = government_reform:anatolian_beylik
}
}
38 ▾ on_start = {
40 ▾ every_country = {
41 ▾ limit = {
42 has_reform = government_reform:anatolian_beylik
}
44 ▾ add_to_global_variable_list = {
44 name = eligible_beylik_list
44 target = this
}
}
49 ▾ add_country_modifier = {
51 years = -1
52 mode = add_and_extend
}
}
56 ▾ ordered_in_global_list = {
57 variable = eligible_beylik_list
59 ▾ order_by = {
61 ▾ add = {
62 value = military_strength
}
64 ▾ add = {
65 value = country_tax_base
}
}
68 max = 1
69 check_range_bounds = no
}
85 ▾ ordered_in_global_list = {
86 variable = eligible_beylik_list
91 ▾ order_by = {
93 ▾ add = {
94 value = military_strength
}
96 ▾ add = {
97 value = country_tax_base
}
}
100 max = 1
101 check_range_bounds = no
}
116 ▾ ordered_in_global_list = {
117 variable = eligible_beylik_list
123 ▾ order_by = {
125 ▾ add = {
126 value = military_strength
}
128 ▾ add = {
129 value = country_tax_base
}
}
132 max = 1
133 check_range_bounds = no
}
148 ▾ every_country = {
149 ▾ limit = {
151 ▾ OR = {
152 has_reform = government_reform:anatolian_beylik
153 ▾ capital = {
154 ▾ OR = {
155 region = region:balkan_region
156 region = region:anatolia_region
}
}
}
}
}
}
165 ▾ on_monthly = {
175 ▾ if = {
176 ▾ limit = {
179 ▾ NOT = {
179 has_reform = government_reform:leader_of_the_turks
}
}
}
}
186 ▾ random_list = {
188 ▾ 4 = {
189 ▾ trigger = {
191 ▾ any_owned_location = {
192 is_currently_being_integrated = yes
}
}
}
}
200 ▾ 3 = {
201 ▾ trigger = {
203 has_ruler = yes
204 num_subjects < 2
205 ▸ any_neighbor_country = { 9 entries }
}
}
}
}
223 ▾ random_list = {
225 ▾ 5 = {
226 ▾ trigger = {
227 ▾ any_in_global_list = {
228 variable = eligible_beylik_list
229 has_reform = government_reform:anatolian_beylik
230 ▾ any_fort_in_country = {
}
}
}
238 ▾ random_in_list = {
239 variable = eligible_beylik_list
240 ▾ limit = {
241 has_reform = government_reform:anatolian_beylik
242 ▾ any_fort_in_country = {
}
}
}
}
}
253 ▾ if = {
255 ▾ random_list = {
257 ▾ 25 = {
258 ▾ every_in_global_list = {
259 variable = eligible_beylik_list
}
}
263 ▾ 25 = {
264 ▾ every_in_global_list = {
265 variable = eligible_beylik_list
}
}
}
}
271 ▾ if = {
277 ▾ trigger_event_non_silently = {
}
}
}
283 ▾ if = {
284 ▾ limit = {
286 num_locations > 300
287 num_of_non_rural >= 30
288 owns = location:constantinople
}
}
}
}
297 ▾ on_ending = {
298 ▾ if = {
299 ▾ limit = {
300 ▾ global_variable_list_size = {
301 name = eligible_beylik_list
302 value < 1
}
}
}
310 ▾ else_if = {
311 ▾ limit = {
312 current_year > 1400
313 ▾ OR = {
314 ▾ AND = {
315 current_year > 1565
317 num_locations < 500
318 num_of_non_rural < 50
}
}
}
}
328 ▾ every_in_global_list = {
329 variable = eligible_beylik_list
}
332 ▾ every_country = {
333 ▾ limit = {
334 ▾ any_in_global_list = {
335 variable = eligible_beylik_list
336 this != prev
}
}
}
}
343 ▾ else = {
352 ▾ if = {
353 ▾ limit = {
355 ▾ NOT = {
355 country_exists = c:TUR }
}
357 ▾ every_location_in_the_world = {
}
364 form_country = formable_country:RUM_f
}
}
374 ▾ set_global_variable = {
}
}
}
381 remove_area_preference = ottoman_expansion_balkan
}
383 clear_global_variable_list = eligible_beylik_list
}
389 ▾ tooltip = {
390 ▾ if = {
391 ▾ limit = {
392 has_owner = yes
393 has_building = building_type:bey_fortress
}
395 custom_tooltip = "STRONGHOLD_CITY_TOOLTIP"
}
397 ▾ if = {
398 ▾ limit = {
399 has_owner = yes
400 has_building = building_type:seljuk_mint
}
402 custom_tooltip = "SELJUK_MINT_TOOLTIP"
}
404 ▾ if = {
405 ▾ limit = {
406 has_owner = yes
407 ▾ OR = {
408 this = location:konya
409 this = location:sivas
410 this = location:erzurum
}
}
413 custom_tooltip = "TRUNK_ROAD_TOOLTIP"
}
415 ▾ if = {
420 custom_tooltip = "STRONGEST_BEYLIK_TOOLTIP"
}
422 ▾ else_if = {
427 custom_tooltip = "SECOND_STRONGEST_BEYLIK"
}
429 ▾ else_if = {
430 ▾ limit = {
431 has_owner = yes
432 situation:rise_of_the_ottomans.var:third_strongest_strongest_beylik_variable ?= owner
}
434 custom_tooltip = "THIRD_STRONGEST_BEYLIK"
}
437 ▾ else_if = {
445 custom_tooltip = "STRONGEST_BEYLIK_SUBJECT_TOOLTIP"
}
447 ▾ else_if = {
455 custom_tooltip = "SECOND_STRONGEST_BEYLIK_SUBJECT_TOOLTIP"
}
457 ▾ else_if = {
458 ▾ limit = {
459 has_owner = yes
460 ▾ owner ?= {
461 is_subject = yes
462 top_overlord ?= situation:rise_of_the_ottomans.var:third_strongest_strongest_beylik_variable
}
}
465 custom_tooltip = "THIRD_STRONGEST_BEYLIK_SUBJECT_TOOLTIP"
}
}
469 ▾ map_color = {
470 ▾ if = {
471 ▾ limit = {
472 has_owner = yes
473 has_building = building_type:bey_fortress
}
475 value = purple
}
477 ▾ if = {
478 ▾ limit = {
479 has_owner = yes
480 ▾ OR = {
481 this = location:konya
482 this = location:sivas
483 this = location:erzurum
}
}
486 value = yellow
}
488 ▾ else_if = {
492 value = situation:rise_of_the_ottomans.var:strongest_beylik_variable.country_color
}
494 ▾ else_if = {
499 value = situation:rise_of_the_ottomans.var:second_strongest_strongest_beylik_variable.country_color
}
501 ▾ else_if = {
502 ▾ limit = {
503 country_exists = situation:rise_of_the_ottomans.var:third_strongest_strongest_beylik_variable
504 situation:rise_of_the_ottomans.var:third_strongest_strongest_beylik_variable = prev.owner
}
506 value = situation:rise_of_the_ottomans.var:third_strongest_strongest_beylik_variable.country_color
}
508 ▾ else = {
509 value = define:NMapColors|DEFAULT_COLOR
}
}
513 ▾ legend_key = {
514 desc = "bey_fortress"
515 color = purple
516 require_color_on_map = yes
}
518 ▾ legend_key = {
519 desc = "trunk_road_to_erzurum_privilege"
520 color = yellow
521 require_color_on_map = yes
}
523 ▾ legend_key = {
524 desc = "STRONGEST_BEYLIK_TOOLTIP"
525 color = situation:rise_of_the_ottomans.var:strongest_beylik_variable.country_color
526 require_color_on_map = yes
}
528 ▾ legend_key = {
529 desc = "SECOND_STRONGEST_BEYLIK"
530 color = situation:rise_of_the_ottomans.var:second_strongest_strongest_beylik_variable.country_color
531 require_color_on_map = yes
}
533 ▾ legend_key = {
534 desc = "THIRD_STRONGEST_BEYLIK"
535 color = situation:rise_of_the_ottomans.var:third_strongest_strongest_beylik_variable.country_color
536 require_color_on_map = yes
}
538 ▾ legend_key = {
539 desc = "[ShowBuildingTypeName('seljuk_mint')]"
540 color = red
541 require_color_on_map = yes
}
544 ▾ secondary_map_color = {
545 ▾ if = {
546 ▾ limit = {
547 has_owner = yes
548 has_building = building_type:seljuk_mint
}
550 value = red
}
552 ▾ else_if = {
556 value = situation:rise_of_the_ottomans.var:strongest_beylik_variable.country_color
}
558 ▾ else_if = {
563 value = situation:rise_of_the_ottomans.var:second_strongest_strongest_beylik_variable.country_color
}
565 ▾ else_if = {
566 ▾ limit = {
567 country_exists = situation:rise_of_the_ottomans.var:third_strongest_strongest_beylik_variable
568 situation:rise_of_the_ottomans.var:third_strongest_strongest_beylik_variable = prev.owner
}
570 value = situation:rise_of_the_ottomans.var:third_strongest_strongest_beylik_variable.country_color
}
572 ▾ else_if = {
576 value = situation:rise_of_the_ottomans.var:strongest_beylik_variable.country_color
}
578 ▾ else_if = {
582 value = situation:rise_of_the_ottomans.var:second_strongest_strongest_beylik_variable.country_color
}
584 ▾ else_if = {
585 ▾ limit = {
586 ▾ owner ?= {
586 is_subject_of = situation:rise_of_the_ottomans.var:third_strongest_strongest_beylik_variable
}
}
588 value = situation:rise_of_the_ottomans.var:third_strongest_strongest_beylik_variable.country_color
}
590 ▾ else = {
591 value = define:NMapColors|DEFAULT_COLOR
}
}
Availability Can start Current date > 1337.4.1 and Current date < 1350
Exact conditions Connections Required by 28 Show all 28