#	Example:
# 
#	example_effect = {
#		treasury = 100
#		add_adm_power = 50
#	}
#
#
#	In a script file:
#
#	effect = {
#		example_effect = yes
#	}
#

reveal_full_ck2_ti_effect = {
	every_province = {
		if = {
			limit = {
				AND = {
					OR = { # Include these
						superregion = india_superregion
						superregion = europe_superregion
						superregion = near_east_superregion
						superregion = persia_superregion
						region = egypt_region
						region = maghreb_region
						region = sahel_region
						region = niger_region
						region = horn_of_africa_region
						region = baltic_region
						region = poland_region
						region = carpathia_region
						region = balkan_region
						region = ruthenia_region
						region = russia_region
						region = ural_region
						region = crimea_region
						region = central_asia_region
						region = west_siberia_region
						region = mongolia_region
						area = tarim_basin_area
					}
					NOT = { # Exclude these
						OR = {
							area = tunguska_area
							area = irkutsk_area
							area = central_siberia_area
							area = ob_area
							area = outer_mongolia_area
							area = ordos_area
							area = kashmir_area
							area = lower_niger_area
							area = adamawa_plateau_area
							area = atacora_oueme_area
							area = lower_volta_area
							area = bornu_area
							area = kanem_area
							area = azbin_area
							area = darfur_central_sahara_area
							area = kurdufan_area
							area = ogaden_area
							area = ajuuran_area
							area = mogadishu_area
							AND = {
								area = majarteen_area
								OR = {
									province_id = 1206
									province_id = 2024
									province_id = 2783
									province_id = 2784
								}
							}
							AND = {
								area = southern_ethiopia_area
								OR = {
									province_id = 2757
									province_id = 2758									
									province_id = 2759
								}
							}
							AND = {
								area = hadiya_area
								province_id = 2756
							}
							province_id = 701
							province_id = 702
							province_id = 717
							province_id = 721
							province_id = 722
							province_id = 723
							province_id = 1065
							province_id = 1104
							province_id = 1105
							province_id = 1125
							province_id = 1148
							province_id = 1149
							province_id = 1150
							province_id = 1154
							province_id = 1155
							province_id = 1208
							province_id = 1217
							province_id = 1780
							province_id = 1816
							province_id = 2109
							province_id = 2114
							province_id = 2115
							province_id = 2187
							province_id = 2247
							province_id = 2277
							province_id = 2279
							province_id = 2280
							province_id = 2281
							province_id = 2293
							province_id = 2434
							province_id = 2747
							province_id = 2792
						}
					}
				}
			}
			PREV = { discover_province = PREV } # Discover the relevant CK2 -> EU4 provinces
		}
	}
	discover_province = 366 # The Canarias
	discover_province = 1074
	discover_province = 1248 # Maldives
	discover_province = 2429 # Agan
	discover_province = 2433 # Vah	
	# Western Europe
	discover_province = 1252
	discover_province = 1253
	discover_province = 1254
	discover_province = 1255
	discover_province = 1256
	discover_province = 1257
	discover_province = 1258
	discover_province = 1259
	discover_province = 1261
	discover_province = 1262
	discover_province = 1263
	discover_province = 1264
	discover_province = 1265
	discover_province = 1266
	discover_province = 1267
	discover_province = 1268
	discover_province = 1269
	discover_province = 1270
	discover_province = 1271
	discover_province = 1272
	discover_province = 1274
	discover_province = 1275
	discover_province = 1276
	discover_province = 1278
	discover_province = 1279
	discover_province = 1280
	discover_province = 1281
	discover_province = 1282
	discover_province = 1283
	discover_province = 1284
	discover_province = 1285
	discover_province = 1286
	discover_province = 1287
	discover_province = 1288
	discover_province = 1290
	discover_province = 1291
	discover_province = 1292
	discover_province = 1299
	discover_province = 1471
	discover_province = 1472
	discover_province = 1475
	discover_province = 1476
	discover_province = 1477
	discover_province = 1480
	discover_province = 1652
	discover_province = 1926
	discover_province = 1927
	discover_province = 1928
	discover_province = 1929
	discover_province = 1975
	# East Africa -> India
	discover_province = 1328
	discover_province = 1329
	discover_province = 1330
	discover_province = 1331
	discover_province = 1332
	discover_province = 1333
	discover_province = 1334
	discover_province = 1335
	discover_province = 1336
	discover_province = 1337
	discover_province = 1338
	discover_province = 1339
	discover_province = 1340
	discover_province = 1341
	discover_province = 1342
	discover_province = 1343
	discover_province = 1614
	discover_province = 1616
	discover_province = 1619
	# Mediterrenean
	discover_province = 1293
	discover_province = 1294
	discover_province = 1295
	discover_province = 1296
	discover_province = 1297
	discover_province = 1298
	discover_province = 1300
	discover_province = 1301
	discover_province = 1302
	discover_province = 1303
	discover_province = 1304
	discover_province = 1305
	discover_province = 1307
	discover_province = 1308
	discover_province = 1309
	discover_province = 1310
	discover_province = 1311
	discover_province = 1312
	discover_province = 1313
	discover_province = 1314
	discover_province = 1315
	discover_province = 1316
	discover_province = 1317
	discover_province = 1319
	discover_province = 1320
	discover_province = 1932
	# Near East
	discover_province = 1321
	discover_province = 1322
	discover_province = 1323
	discover_province = 1324
	discover_province = 1326
	discover_province = 1327
}

set_government_ranks_effect = {
	every_country = {
		if = {
			limit = {
				is_subject = no
				converted_provinces_capital_scope_trigger = yes
			}
			if = {
				limit = { 
					NOT = { government_rank = 4 }
					total_development = 1000
				}
				set_government_rank = 4
			}
			if = {
				limit = { 
					NOT = { government_rank = 3 }
					NOT = { total_development = 1000 }
					total_development = 300
				}
				set_government_rank = 3
			}
		}
	}
}