country = {
    tag = SPA
	ai = "SPA_1586_Habsburgs.txt"
	leadertable = "scenarios\1700\leaders\leaders_spa.txt"
	monarchtable = "scenarios\1700\monarchs\monarchs_spa.txt"
	policy = {
        date = { year = 0 month = january day = 0 }
        aristocracy = 7
        centralization = 5
        innovative = 1
        mercantilism = 6
        offensive = 3
        land = 2
        quality = 6
        serfdom = 5
    }
    colonialattempts = 0
    colonialnation = yes
    major = no
    colonists = 4
    treasury = 0
    inflation = 0.3000000
    merchants = 4.083333
    religion = { type = catholic }
    culture = { type = iberian type = italian }
    diplomacy = {
		relation = { tag = FRA value = -200 } 
		relation = { tag = HOL value = 200 }
		relation = { tag = HAB value = 200 }
		relation = { tag = ENG value = -200 }
		relation = { tag = GEN value = 100 }
		relation = { tag = KNI value = 100 }
		relation = { tag = PRU value = 200 }
		relation = { tag = BAY value = -200 }
		relation = { tag = HAN value = 200 }
		relation = { tag = WUR value = 200 }
		relation = { tag = KOL value = -200 }
		relation = { tag = HES value = 200 }
		relation = { tag = SAV value = -200 } 
    }
    knownprovinces = { 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 822 38 39 40 41 43 45 46 47 48 49 50 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 178 179 184 185 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 215 217 222 221 220 219 223 224 225 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 559 558 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 671 641 642 643 645 646 647 649 650 651 652 653 655 656 657 659 660 661 664 665 666 667 668 670 677 679 682 683 684 685 686 687 688 690 691 692 702 715 732 733 734 735 736 737 738 739 740 741 742 744 745 746 747 763 765 796 799 800 801 802 803 804 805 806 809 810 817 818 819 821 839 840 841 842 843 860 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 896 897 898 899 900 901 902 903 906 905 904 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 958 959 962 963 961 960 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1028 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1090 1091 1092 1093 1095 1096 1097 1098 1199 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1149 1150 1151 1152 1153 1154 1155 1156 1157 1159 1160 1167 1168 1169 1170 1171 1173 1172 1173 1174 1179 1180 1181 1182 1183 1184 1187 1188 1185 1186 1189 1190 1191 1193 1194 1205 1206 1207 1208 1210 1211 1213 1214 1215 1217 1220 1221 1222 1238 1239 1240 1241 1249 1250 1251 1252 1253 1254 1255 1349 1348 1375 1374 1376 1335 1365 1329 1366 1328 1360 1325 1326 1327 1324 1359 1323 1330 1332 1336 1345 1346 1347 1350 1351 1352 1353 1354 1355 1356 1363 1364 1368 1373 1374 1375 1390 1391 1397 1401 1413 1414 1415 1416 1417 1418 1419 1420 1422 1423 1424 1425 1426 1428 1429 1430 1435 1455 1458 1459 1460 1461 1462 1361 1362 1363 1431 1411 1432 1433 1437 1453 1454 1403 1407 1409 1410 1412 1404 1405 1406 1408 1399 1400 1402 1421 1427 1446 1447 1448 1449 1389 1443 1451 1452 1456 1380 1381 1382 1383 1385 1386 1387 1388 1392 1393 1394 1395 1396 1444 1331 1378 1466 117 823 820 816 756 811 714 713 694 710 705 509 1469 1470 1609 1610 1611 1612 1613
		}

    ownedprovinces = {
		# Europe
		377 378 380 389 393 394 395 396 397 427 428 429 430 431 432 433
		435 436 437 438 439 440 443 444 445 734 817 821

		# The Americas and elsewhere
	 	13 17 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 41 48 49 50 137 138 139 142 143 144 151
	 	154 156 157 158 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 178 193 194 218 219 221
	 	222 223 690 691 822 215
	}
    controlledprovinces = {

		# Europe
		377 378 380 389 393 394 395 396 397 427 428 429 430 431 432 433
		435 436 437 438 439 440 443 444 445 734 817 821

		# The Americas and elsewhere
	 	13 17 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 41 48 49 50 137 138 139 142 143 144 151
	 	154 156 157 158 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 178 193 194 218 219 221
	 	222 223 690 691 822 215
	}
    nationalprovinces = {
        426 427 428 429 430 431 432 433 435 436 437 438 439 440 443 444 445 817 821 # Spain
        389 393 394 395 396 397 } # Lombardia, Naples, Sicily and Sardinia

    city = {         fortress = { level = 2 }
        population = 120000
        location = 436
        capital = yes
		bailiff = yes
		cityrights = no
		courthouse = yes
		manufactory = weapons
        }
    city = {         fortress = { level = 1 }
        population = 9450
        location = 427
        bailiff = yes
        }
    city = {         fortress = { level = 1 }
        population = 9450
        location = 428
        bailiff = yes
        }
    city = {         fortress = { level = 4 }
        population = 37800
        location = 429
        bailiff = yes
        }
    city = {         fortress = { level = 3 }
        population = 39900
        location = 437
        bailiff = yes
        }
    city = {         fortress = { level = 2 }
        population = 12600
        location = 438
        bailiff = yes
        }
    city = {         fortress = { level = 3 }
        population = 37800
        location = 439
        bailiff = yes
        }
    city = {         fortress = { level = 1 }
        population = 12600
        location = 440
        bailiff = yes
        }
    city = {
    	fortress = { level = 1 }
        population = 10500
        location = 430
        bailiff = yes
        }
    city = {
    	fortress = { level = 1 }
        population = 12600
        location = 431
        bailiff = yes
        }
    city = {
    	fortress = { level = 1 }
        population = 11100
        location = 432
        bailiff = yes
        }
    city = {         fortress = { level = 1 }
        population = 11600
        location = 433
        bailiff = yes
        }
    city = {         fortress = { level = 1 }
        population = 16800
        location = 435
        bailiff = yes
        }
    city = {         fortress = { level = 4 }
        population = 105000
        location = 443
		shipyard = no
		bailiff = yes
		cityrights = no
		courthouse = yes
		manufactory = refinery
        }
    city = {         fortress = { level = 2 }
        population = 47500
        location = 444
        bailiff = yes
        }
    city = {	   fortress = { level = 2 }
        population = 6300
        location = 445
        bailiff = yes
        }
    city = {         fortress = { level = 1 }
        population = 2730
        location = 821
        bailiff = yes
        }
    city = {         fortress = { level = 1 }
        population = 3150
        location = 817
        bailiff = yes
        name = "Las Palmas"
        }
    city = {         fortress = { level = 1 }
        population = 4200
        location = 397
        bailiff = yes
        }
    city = {         fortress = { level = 3 }
        population = 73500
        location = 396
		bailiff = yes
		cityrights = no
		courthouse = yes
		manufactory = refinery
        }
    city = {         fortress = { level = 3 }
         population = 42000
        location = 395
        bailiff = yes
        }
    city = {         fortress = { level = 2 }
        population = 16500
        location = 394
        bailiff = yes
        }
    city = {         fortress = { level = 4 }
        population = 210000
        location = 393
		bailiff = yes
		cityrights = no
		courthouse = yes
		manufactory = refinery
        }
    city = {         fortress = { level = 4 }
        population = 105000
        location = 389
		bailiff = yes
		cityrights = no
		courthouse = yes
		manufactory = luxury
        }
    city = {         fortress = { level = 4 }
        population = 10500
        location = 377
        bailiff = yes
        }
    city = {         fortress = { level = 4 }
        population = 73750
        location = 380
		bailiff = yes
		cityrights = no
		courthouse = yes
		manufactory = goods
        }
    city = {         fortress = { level = 5 }
        population = 42000
        location = 378
	  	barrack = yes
		bailiff = yes
		cityrights = no
		courthouse = yes
		manufactory = goods
    }
    city = {
        population = 150
        location = 13
    }
    city = {
	name = "Hermosillo"
        population = 100
        location = 17
    }
    city = {
	name = "Chihuahua"
        population = 150
        location = 20
    }
    city = {         fortress = { level = 1 }
	  name = "Mazatlán"
        population = 105
        location = 21
        }
    city = {
	  name = "El Paso"
        population = 105
        location = 22
        }
    city = {
	  name = "Monterrey"
        population = 210
        location = 23
        }
    city = {
	  name = "Durango"
        population = 210
        location = 24
        }
    city = {
	  name = "San Luis"
        population = 315
        location = 25
        }
    city = {         fortress = { level = 1 }
	  name = "Guadalajara"
        population = 1365
        location = 26
        }
    city = {         fortress = { level = 3 }
	  name = "México"
        population = 36750
        location = 27
        }
    city = {         fortress = { level = 3 }
	  name = "Tampico"
        population = 735
        location = 28
        }
    city = {          fortress = { level = 4 }
	  name = "Vera Cruz"
        population = 2888
        location = 29
		bailiff = yes
		cityrights = no
		courthouse = yes
		manufactory = refinery
        }
    city = {  	    fortress = { level = 1 }
	  name = "Acapulco"
        population = 3150
        location = 30
        }
    city = {
	  name = "Oaxaca"
        population = 1035
        location = 31
        }
    city = {
	  name = "Puebla"
        population = 210
        location = 32
        }
    city = {
	  name = "Antigua Guatemala"
        population = 1035
        location = 33
        }
    city = {
	  name = "Mérida"
        population = 105
        location = 35
        }
    city = {
	  name = "San Salvador"
        population = 105
        location = 36
        }
    city = {
	  name = "Granada"
        population = 105
        location = 37
        }
    city = {
	  name = "Limón"
        population = 105
        location = 38
        }
    city = {         fortress = { level = 3 }
	  name = "Panama"
        population = 1035
        location = 39
        }
    city = {
	  name = "San Antonio"
        population = 120
        location = 41
        }
    city = {
	  name = "Pensacola"
        population = 150
        location = 48
        }
    city = {         fortress = { level = 1 }
	  name = "San Agustín"
        population = 1035
        location = 49
        }
    city = {         fortress = { level = 4 }
	  name = "Habana"
        population = 1000
        location = 137
        }
    city = {         fortress = { level = 4 }
	  name = "Santa Maria"
        population = 1035
        location = 138
        }
    city = {         fortress = { level = 4 }
	  name = "Santiago de Cuba"
        population = 1035
        location = 139
		bailiff = yes
		cityrights = no
		courthouse = yes
		manufactory = refinery
        }
    city = {         fortress = { level = 1 }
	  name = "Puerto Plata"
        population = 1035
        location = 142
		bailiff = yes
		cityrights = no
		courthouse = yes
		manufactory = refinery
        }
    city = {         fortress = { level = 1 }
	  name = "Santo Domingo"
        population = 1035
        location = 143
		bailiff = yes
		cityrights = no
		courthouse = yes
		manufactory = refinery
        }
    city = {         fortress = { level = 2 }
	  name = "San Juan"
        population = 1035
        location = 144
		bailiff = yes
		cityrights = no
		courthouse = yes
		manufactory = refinery
        }
    city = {         fortress = { level = 1 }  
	  	name = "Puerto España"
        population = 1600
        location = 151
		manufactory = refinery
        } 
    city = {          fortress = { level = 2 }
	  name = "Caracas"
        population = 1040
        location = 154
        }
    city = {          fortress = { level = 1 }
	  name = "Baraquisimeto"
        population = 1035
        location = 156
        }
    city = {          fortress = { level = 1 }
	  name = "Maracaibo"
        population = 1035
        location = 157
        }
    city = {          fortress = { level = 2 }
	  name = "Cartagena"
        population = 1040
        location = 158
        }
    city = {          fortress = { level = 3 }
	  name = "Santa Fe de Bogotá"
        population = 1045
        location = 160
        }
    city = {
	  name = "Medellin"
        population = 210
        location = 161
        }
    city = {
	  name = "Santiago de Cali"
        population = 525
        location = 162
        }
    city = {
	  name = "Quito"
        population = 210
        location = 163
        }
    city = {
	  name = "Guayaquil"
        population = 630
        location = 164
        }
    city = {
	  name = "Cajamarca"
        population = 630
        location = 165
        }
    city = {          fortress = { level = 2 }
	  name = "Lima"
        population = 11500
        location = 168
        bailiff = yes
        }
    city = {
	  name = "Ayacucho"
        population = 210
        location = 167
        }
    city = {
	  name = "Callao"
        population = 315
        location = 166
        }
    city = {
	  name = "Cuzco"
        population = 1035
        location = 169
        }
    city = {
	  name = "Arequipa"
        population = 315
        location = 170
        }
    city = {
	  name = "Moquegua"
        population = 420
        location = 171
        }
    city = {
	  name = "Arica"
	fortress = { level = 1 }
        population = 3250
        location = 172
        }
    city = {
	  name = "San Pedro de Atacama"
        population = 1040
        location = 173
        }
    city = {
	  name = "Santiago de Chile"
        population = 210
        location = 174
        }
    city = {
	  name = "Cumana"
        population = 210
        location = 178
        }
    city = {
	  name = "La Paz"
        population = 350
        location = 193
        }
    city = {          fortress = { level = 1 }
	  name = "Potosi"
        population = 6500
        location = 194
        bailiff = yes
        }
    city = {
	  name = "Asunción"
        population = 210
        location = 218
        }
    city = {
	  name = "San Miguel de Tucumán"
        population = 210
        location = 219
        }
    city = {
	  name = "Cordoba"
        population = 105
        location = 221
        }
    city = {
	  name = "Rosario"
        population = 105
        location = 222
        }
    city = {         fortress = { level = 2 }
	  name = "Buenos Aires"
        population = 1016
        location = 223
        }
    city = {         fortress = { level = 1 }
	  name = "Manilla"
        population = 5000
        location = 690
        bailiff = yes
        }
    city = {
	  name = "Naga"
        population = 3000
        location = 691
        }
    city = {         fortress = { level = 4 }
        population = 7350
        location = 734
        bailiff = yes
        }
    city = {         fortress = { level = 1 }
	  	name = "San José"
        population = 400
        location = 822
        }
    tradingpost = {
	  	name = "Miami"
        level = 2
        location = 50
        }
    city = {
        name = "Montevideo"
        population = 3500
        location = 215
        fortress = { level = 1 date = { year = 1492 month = january day = 1 } increase = no }
    }

    landunit = {
        id = { type = 9423 id = 508 }
        name = "Ejército Real"
        location = 429
        infantry = 35000
        cavalry = 5000
        artillery = 2
        }
    landunit = {
        id = { type = 9423 id = 506 }
        name = "Un Milicia Rio de la Plata"
        location = 223
        infantry = 400
        cavalry = 100
        artillery = 0
        }
    landunit = {
        id = { type = 9423 id = 502 }
        name = "Un Milicia Peru"
        location = 219
        infantry = 100
        cavalry = 200
        artillery = 0
        }
    landunit = {
        id = { type = 9423 id = 498 }
        name = "Un Milicia Nuevo Granada"
        location = 163
        infantry = 200
        cavalry = 100
        artillery = 0
        }
    landunit = {
        id = { type = 9423 id = 488 }
        name = "Un Milicia Florida"
        location = 49
        infantry = 200
        cavalry = 0
        artillery = 0
        }
    landunit = {
        id = { type = 9423 id = 486 }
        name = "Un Milicia Nuevo Espania"
        location = 25
        infantry = 0
        cavalry = 500
        artillery = 0
        }
    landunit = {
        id = { type = 9423 id = 478 }
        name = "Un Milicia Venezuela"
        location = 178
        infantry = 100
        cavalry = 0
        artillery = 0
        }
    navalunit = {
        id = { type = 9423 id = 513 }
        name = "Armada Real"
        location = 433
        warships = 50
        galleys = 0
        transports = 20
        }
    technology = {
		stability = { level = 0 value = 0 }
      	infra = { level = 7 value = 100 }
		trade = { level = 7 value = 50 }
      	land = { level = 26 value = 120 }
      	naval = { level = 28 value = 180 }
    }
}