File size: 2,360 Bytes
37a34fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
country_decisions = {
  CM_establish_sich = {
		major = yes
		potential = {
      NOT = { current_age = age_of_revolutions }
      NOT = { has_global_flag = CM_establish_sich_happened }
      NOT = { technology_group = nomad_group }
      OR = {
        tag = UKR
        tag = KIE
        tag = POL
        tag = LIT
        tag = PLC
        culture_group = east_slavic
        culture_group = slavic
      }
      NOT = { exists = ZAZ }
		}
		allow = {
      is_free_or_tributary_trigger = yes
      is_year = 1450
      # Must own (or in case of Poland, Lithuania could be used instead) provinces that were under danger of Tatar raids
      if = {
        limit = { tag = POL }
        OR = {
          AND = {
            LIT = { is_subject_of = POL }
            LIT = {
              num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
                value = 15
                OR = {
                  area = west_dniepr_area
                  area = east_dniepr_area
                  area = sloboda_ukraine_area
                  area = podolia_volhynia_area
                }
              }
            }
          }
          num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
            value = 15
            OR = {
              area = west_dniepr_area
              area = east_dniepr_area
              area = sloboda_ukraine_area
              area = podolia_volhynia_area
            }
          }
        }
      }
      else = {
        num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
          value = 15
          OR = {
            area = west_dniepr_area
            area = east_dniepr_area
            area = sloboda_ukraine_area
            area = podolia_volhynia_area
          }
        }
      }
      is_at_war = no
      if = {
        limit = {
					has_estate = estate_cossacks
				}
        OR = {
          estate_loyalty = {
            estate = estate_cossacks
            loyalty = 55
          }
          manpower = 5
        }
      }
      else = {
        manpower = 5
      }
		}

		effect = {
      set_global_flag = CM_establish_sich_happened
      country_event_with_insight = {
				id = ComprehensiveMapRuthenianFlavour.2
				insight_tooltip = ComprehensiveMapRuthenianFlavour.insight2
			}
		}
		ai_will_do = {
			factor = 1
		}
		ai_importance = 400
	}
}