|
@@ -40,6 +40,15 @@ marketplace = {
|
|
|
40
40
|
type = production
|
|
41
41
|
value = 1
|
|
42
42
|
}
|
|
43
|
+
if = {
|
|
44
|
+
limit = {
|
|
45
|
+
FROM = {
|
|
46
|
+
has_dlc = "Mandate of Heaven"
|
|
47
|
+
has_country_flag = mam_trade_building_prosperity_flag
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
add_prosperity = 5
|
|
51
|
+
}
|
|
43
52
|
}
|
|
44
53
|
on_destroyed = {
|
|
45
54
|
remove_development_from_building = {
|
|
@@ -47,6 +56,16 @@ marketplace = {
|
|
|
47
56
|
type = production
|
|
48
57
|
value = 1
|
|
49
58
|
}
|
|
59
|
+
if = {
|
|
60
|
+
limit = {
|
|
61
|
+
FROM = {
|
|
62
|
+
has_dlc = "Mandate of Heaven"
|
|
63
|
+
has_country_flag = mam_trade_building_prosperity_flag
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
}
|
|
67
|
+
add_prosperity = -5
|
|
68
|
+
}
|
|
50
69
|
}
|
|
51
70
|
|
|
52
71
|
on_construction_started = { } #Fires when you start the construction, ROOT - Province FROM - Country that started
|
|
@@ -97,6 +116,7 @@ temple = {
|
|
|
97
116
|
local_tax_modifier = 0.4
|
|
98
117
|
}
|
|
99
118
|
on_built = {
|
|
119
|
+
on_built_tax_building_effect = yes
|
|
100
120
|
on_province_tax_building_built_estate_privileges_effect = yes
|
|
101
121
|
add_development_from_building = {
|
|
102
122
|
building = temple
|
|
@@ -124,6 +144,28 @@ temple = {
|
|
|
124
144
|
duration = -1
|
|
125
145
|
}
|
|
126
146
|
}
|
|
147
|
+
if = {
|
|
148
|
+
limit = {
|
|
149
|
+
FROM = {
|
|
150
|
+
has_country_flag = mosque_local_unrest_flag
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
add_province_modifier = {
|
|
154
|
+
name = turkoman_peaceful_worshipping
|
|
155
|
+
duration = -1
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
if = {
|
|
159
|
+
limit = {
|
|
160
|
+
FROM = { has_country_modifier = mam_mosque_great_mosque_generates_crown_land_modifier }
|
|
161
|
+
}
|
|
162
|
+
FROM = {
|
|
163
|
+
change_estate_land_share = {
|
|
164
|
+
estate = all
|
|
165
|
+
share = -0.25
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
127
169
|
}
|
|
128
170
|
on_destroyed = {
|
|
129
171
|
on_province_tax_building_destroyed_estate_privileges_effect = yes
|
|
@@ -132,6 +174,14 @@ temple = {
|
|
|
132
174
|
type = tax
|
|
133
175
|
value = 1
|
|
134
176
|
}
|
|
177
|
+
if = {
|
|
178
|
+
limit = {
|
|
179
|
+
FROM = {
|
|
180
|
+
has_country_flag = mosque_local_unrest_flag
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
remove_province_modifier = turkoman_peaceful_worshipping
|
|
184
|
+
}
|
|
135
185
|
if = {
|
|
136
186
|
limit = {
|
|
137
187
|
FROM = { has_government_attribute = on_church_built_clergy_loyalty }
|
|
@@ -144,6 +194,17 @@ temple = {
|
|
|
144
194
|
}
|
|
145
195
|
}
|
|
146
196
|
remove_province_modifier = gov_expanded_temple_rights_mod
|
|
197
|
+
if = {
|
|
198
|
+
limit = {
|
|
199
|
+
FROM = { has_country_modifier = mam_mosque_great_mosque_generates_crown_land_modifier }
|
|
200
|
+
}
|
|
201
|
+
FROM = {
|
|
202
|
+
change_estate_land_share = {
|
|
203
|
+
estate = all
|
|
204
|
+
share = 0.25
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
147
208
|
}
|
|
148
209
|
on_obsolete = {
|
|
149
210
|
}
|
|
@@ -795,6 +856,7 @@ cathedral = {
|
|
|
795
856
|
local_tax_modifier = 0.6
|
|
796
857
|
}
|
|
797
858
|
on_built = {
|
|
859
|
+
on_built_tax_building_effect = yes
|
|
798
860
|
on_province_tax_building_built_estate_privileges_effect = yes
|
|
799
861
|
add_development_from_upgrading_or_building = {
|
|
800
862
|
building = cathedral
|
|
@@ -824,6 +886,28 @@ cathedral = {
|
|
|
824
886
|
duration = -1
|
|
825
887
|
}
|
|
826
888
|
}
|
|
889
|
+
if = {
|
|
890
|
+
limit = {
|
|
891
|
+
FROM = {
|
|
892
|
+
has_country_flag = mosque_local_unrest_flag
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
add_province_modifier = {
|
|
896
|
+
name = turkoman_peaceful_worshipping
|
|
897
|
+
duration = -1
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
if = {
|
|
901
|
+
limit = {
|
|
902
|
+
FROM = { has_country_modifier = mam_mosque_great_mosque_generates_crown_land_modifier }
|
|
903
|
+
}
|
|
904
|
+
FROM = {
|
|
905
|
+
change_estate_land_share = {
|
|
906
|
+
estate = all
|
|
907
|
+
share = -0.25
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
}
|
|
827
911
|
}
|
|
828
912
|
on_destroyed = {
|
|
829
913
|
on_province_tax_building_destroyed_estate_privileges_effect = yes
|
|
@@ -832,6 +916,14 @@ cathedral = {
|
|
|
832
916
|
type = tax
|
|
833
917
|
value = 2
|
|
834
918
|
}
|
|
919
|
+
if = {
|
|
920
|
+
limit = {
|
|
921
|
+
FROM = {
|
|
922
|
+
has_country_flag = mosque_local_unrest_flag
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
remove_province_modifier = turkoman_peaceful_worshipping
|
|
926
|
+
}
|
|
835
927
|
if = {
|
|
836
928
|
limit = {
|
|
837
929
|
FROM = { has_government_attribute = on_church_built_clergy_loyalty }
|
|
@@ -844,6 +936,17 @@ cathedral = {
|
|
|
844
936
|
}
|
|
845
937
|
}
|
|
846
938
|
remove_province_modifier = gov_expanded_temple_rights_mod
|
|
939
|
+
if = {
|
|
940
|
+
limit = {
|
|
941
|
+
FROM = { has_country_modifier = mam_mosque_great_mosque_generates_crown_land_modifier }
|
|
942
|
+
}
|
|
943
|
+
FROM = {
|
|
944
|
+
change_estate_land_share = {
|
|
945
|
+
estate = all
|
|
946
|
+
share = 0.25
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
}
|
|
847
950
|
}
|
|
848
951
|
on_obsolete = {
|
|
849
952
|
}
|
|
@@ -1930,6 +2033,14 @@ farm_estate = {
|
|
|
1930
2033
|
type = production
|
|
1931
2034
|
value = 1
|
|
1932
2035
|
}
|
|
2036
|
+
if = {
|
|
2037
|
+
limit = {
|
|
2038
|
+
FROM = {
|
|
2039
|
+
has_country_flag = geo_wine_manufactory_flag
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
add_base_production = 1
|
|
2043
|
+
}
|
|
1933
2044
|
}
|
|
1934
2045
|
on_destroyed = {
|
|
1935
2046
|
remove_development_from_building = {
|
|
@@ -1942,6 +2053,14 @@ farm_estate = {
|
|
|
1942
2053
|
type = production
|
|
1943
2054
|
value = 1
|
|
1944
2055
|
}
|
|
2056
|
+
if = {
|
|
2057
|
+
limit = {
|
|
2058
|
+
FROM = {
|
|
2059
|
+
has_country_flag = geo_wine_manufactory_flag
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
add_base_production = -1
|
|
2063
|
+
}
|
|
1945
2064
|
}
|
|
1946
2065
|
on_obsolete = {
|
|
1947
2066
|
}
|
|
@@ -2065,6 +2184,10 @@ ramparts = {
|
|
|
2065
2184
|
}
|
|
2066
2185
|
|
|
2067
2186
|
on_destroyed = {
|
|
2187
|
+
if = {
|
|
2188
|
+
limit = { has_province_modifier = per_reinforced_defenses }
|
|
2189
|
+
remove_province_modifier = per_reinforced_defenses
|
|
2190
|
+
}
|
|
2068
2191
|
remove_dev_from_building = {
|
|
2069
2192
|
building = manufactory
|
|
2070
2193
|
type = manpower
|
|
@@ -2079,6 +2202,18 @@ ramparts = {
|
|
|
2079
2202
|
}
|
|
2080
2203
|
ai_will_do = {
|
|
2081
2204
|
factor = 1
|
|
2205
|
+
modifier = {
|
|
2206
|
+
factor = 0
|
|
2207
|
+
from = { num_of_loans = 3 }
|
|
2208
|
+
}
|
|
2209
|
+
modifier = {
|
|
2210
|
+
factor = 20
|
|
2211
|
+
has_terrain = mountain
|
|
2212
|
+
}
|
|
2213
|
+
modifier = {
|
|
2214
|
+
factor = 0
|
|
2215
|
+
from = { personality = ai_militarist }
|
|
2216
|
+
}
|
|
2082
2217
|
}
|
|
2083
2218
|
}
|
|
2084
2219
|
|