STATE_BAHIA = {
    id = 393
    subsistence_building = "building_subsistence_farms"
    provinces = { "x016130" "x01A0B0" "x025628" "x04C218" "x08D913" "x09156C" "x10A0E2" "x14A31C" "x193207" "x1C7DFB" "x207CE0" "x2279E3" "x228555" "x230994" "x245E92" "x25070C" "x2B7D35" "x2C9AD0" "x2D4A45" "x3369F5" "x33F61D" "x34C823" "x354843" "x37B9C5" "x38A03A" "x38FAEB" "x3A8208" "x3A974D" "x3BA836" "x3FACEF" "x412FFC" "x4265E6" "x4695F8" "x46FB25" "x48294E" "x4A745C" "x4AF7C8" "x4CB52E" "x509B9E" "x55D55B" "x5600D0" "x58572E" "x58FB40" "x59F644" "x5D9035" "x6315A5" "x65379B" "x66324B" "x678D99" "x68BC7B" "x694D1D" "x69C0E7" "x6AB640" "x6AE5BE" "x6BE72F" "x6C3E82" "x70B2BA" "x713F9F" "x733EAC" "x7535C2" "x77A01D" "x7B8B0E" "x7E509E" "x901346" "x90952B" "x91DEFC" "x96C812" "x9B2FF2" "x9F0D89" "x9F1A7B" "xA3787D" "xA50B53" "xA6004D" "xA8B81A" "xAB64BE" "xACF4BA" "xAEAB39" "xB6AE54" "xB6FBFE" "xB7E216" "xBA6AE1" "xBAF5ED" "xBB3FF6" "xBD2EB0" "xC0A030" "xC0A0B0" "xC17088" "xC19893" "xC53CEE" "xC5726D" "xC75389" "xC89A3F" "xC98973" "xCD2944" "xCF4626" "xCF7B13" "xD1B2F6" "xD1F9DF" "xD718CA" "xD8E6AC" "xD9221E" "xDD7987" "xDE21D5" "xE12B7C" "xE591B2" "xE99B6E" "xEDADB5" "xF43955" "xF4C2E7" "xF73ED8" }
    city = "x4695F8"
    port = "xB7E216"
    farm = "x38A03A"
    mine = "xC98973"
    wood = "x37B9C5"
    arable_land = 180
    arable_resources = { "bg_maize_farms" "bg_livestock_ranches" "bg_coffee_plantations" "bg_tobacco_plantations" "bg_sugar_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_rad_fungus_colony = 1
	bg_rad_fungus_farm = 20
	bg_uranium_mining = 96
        bg_lead_mining = 45
        bg_logging = 27
        bg_fishing = 12
    }
    resource = {
        type = "bg_rubber"
        discovered_amount = 4
    }
    naval_exit_id = 3063
}

STATE_GOIAS = {
    id = 666
    subsistence_building = "building_subsistence_farms"
    provinces = { "x030718" "x0335B6" "x045CE0" "x087FD3" "x0A9917" "x12E97B" "x14A9B7" "x184B61" "x1D51EE" "x204F5F" "x22CF25" "x266D5E" "x2694E0" "x26A74D" "x28361D" "x28B344" "x28C4BB" "x29DE5E" "x2A7D3A" "x2C715A" "x2EDF1D" "x2F75E0" "x30692A" "x353CC4" "x35B9A6" "x364382" "x37E1AD" "x3A3D31" "x3F707A" "x409F30" "x424959" "x47CAD2" "x48E459" "x4C4DCE" "x5022D9" "x537644" "x5433F8" "x5592E6" "x57B1CF" "x57F295" "x593E5A" "x5C0902" "x5C3AFC" "x5F1A82" "x5F8837" "x63E255" "x6526AF" "x65A627" "x66894C" "x66F3B6" "x687432" "x68CC1F" "x695BDD" "x6D14BD" "x75C440" "x774C4A" "x7C0E6D" "x7CD983" "x7DEBF8" "x7EE37D" "x807EC6" "x881C3F" "x891E70" "x8985ED" "x8A7AE1" "x8B2ADA" "x8CB3DA" "x8D3998" "x8ED5C9" "x92BC48" "x93C71F" "x94E0A3" "x9732AB" "x990CED" "xA02D57" "xA04190" "xA2A177" "xA59A91" "xB222D4" "xB518E9" "xB7A07A" "xB914E5" "xBB0697" "xBB5AB2" "xBD890D" "xBE2D5E" "xBE9939" "xBFE7B6" "xC0126C" "xC2B97E" "xC42C8F" "xC4B006" "xC7D39A" "xC8814C" "xC8AD6E" "xC9A5A3" "xD4E7CE" "xD5ADF0" "xD6276C" "xD8EFD5" "xDD0A20" "xDD4517" "xDDAD82" "xDF0733" "xE40A29" "xE4A7DA" "xE4F5E4" "xEB754C" "xEDC084" "xEE4885" "xEE95C4" "xF01E32" "xF41C9C" "xF75947" "xF7FAF1" "xFF81EE" }
    traits = { "state_trait_amazon_rainforest" "state_trait_serra_dos_carajas" }
    city = "xC2B97E"
    farm = "x57B1CF"
    mine = "x68CC1F"
    wood = "xF01E32"
    arable_land = 40
    arable_resources = { "bg_rice_farms" "bg_livestock_ranches" "bg_coffee_plantations" "bg_tobacco_plantations" "bg_sugar_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_rad_fungus_farm = 12
	bg_uranium_mining = 60
        bg_iron_mining = 58
        bg_logging = 24
        bg_fishing = 10
    }
    resource = {
        type = "bg_rubber"
        discovered_amount = 9
    }
}

STATE_MATO_GROSSO = {
    id = 387
    subsistence_building = "building_subsistence_farms"
    provinces = { "x0076E6" "x00908F" "x0141D0" "x01BCE8" "x01DA65" "x040C17" "x04B286" "x0656BC" "x0787AA" "x0934A4" "x0A7262" "x0C5436" "x0D1245" "x0E4B34" "x0F0F7E" "x0F1505" "x10504F" "x11330B" "x11FB67" "x12B65A" "x140CF6" "x15BFE8" "x17675E" "x1774C8" "x17D536" "x182380" "x1829A5" "x184722" "x1915D6" "x1AADD5" "x1C1B7D" "x1C5644" "x1C92E2" "x1CCABD" "x1CF67D" "x1DF7C9" "x1E7015" "x1F354A" "x214090" "x22E97D" "x22EC82" "x25BD9D" "x25C093" "x265206" "x26F90F" "x277DD3" "x27C08F" "x29C483" "x2A23E9" "x2A97C3" "x2ACD4C" "x2AD465" "x2AE17E" "x2B1252" "x2B826F" "x2B9070" "x2C6278" "x2CDDD0" "x2E7F13" "x2FB187" "x313D66" "x34DF8A" "x35A513" "x364BA6" "x37A4BA" "x3880D4" "x3A3CE3" "x3B9107" "x3C8A04" "x3CD803" "x3D90CB" "x3DE3B3" "x3EA80A" "x3F2C86" "x4045E7" "x405F17" "x409970" "x40A662" "x41CAAA" "x41EA08" "x4236E9" "x42A2E2" "x433385" "x478475" "x4A5BBF" "x4AE149" "x4B18FB" "x4D8530" "x4D9D8F" "x4EA25F" "x4EB3AA" "x4F11D7" "x4F2BDA" "x5014D8" "x50F389" "x51D595" "x52A4E3" "x53D7A6" "x561F28" "x56393C" "x5806B4" "x5A3296" "x5A4A14" "x5A6439" "x5A9A8E" "x5AC0B3" "x5ADB44" "x5B1757" "x5D0E06" "x5DDBCA" "x60720A" "x60F2BD" "x618E48" "x62E369" "x643D81" "x647BCC" "x6506ED" "x6696CA" "x67F461" "x68945C" "x68C4E1" "x69DFC4" "x6A5AAF" "x6C5723" "x6EBBB7" "x6FD2AB" "x70F4E3" "x71D9D7" "x724C74" "x738424" "x754421" "x758198" "x75C6D7" "x75CEE8" "x760CE7" "x776B49" "x7929C2" "x7A5DE0" "x7BFBFD" "x7CD432" "x7E10B1" "x7E7888" "x81412E" "x82D74F" "x83B7C6" "x857B07" "x861B98" "x86AA33" "x86F093" "x87D837" "x88DD4E" "x89892F" "x8AEF71" "x8B778F" "x8D8F6C" "x8EFA19" "x8FBAD0" "x90374C" "x919690" "x91B508" "x92C628" "x93EE28" "x93F111" "x96AF4C" "x96CEB1" "x976874" "x97E7EB" "x980045" "x9857EB" "x987D0C" "x98A3E2" "x9AD896" "x9B7537" "x9C7C22" "x9D3615" "x9D43CF" "x9E0077" "x9ED33B" "xA18C78" "xA199C6" "xA1AF7C" "xA25E6F" "xA27083" "xA28D6D" "xA30D13" "xA3DC23" "xA4140F" "xA44544" "xA4ABA2" "xA5B966" "xA5E152" "xA61CC9" "xA6DF31" "xA6F2B7" "xA7C769" "xA85298" "xA8A2F7" "xA8D34F" "xAB972A" "xABA285" "xABFA19" "xABFB77" "xAECD87" "xAF2A17" "xAF60BB" "xB26BED" "xB2B9BA" "xB347D6" "xB3B0D7" "xB78A12" "xB977BC" "xB9F1FF" "xBA3D90" "xBA4B7C" "xBB6F3F" "xBBB067" "xBC53A5" "xBE0073" "xBF2031" "xC26C9C" "xC2EEA7" "xC48D73" "xC585D3" "xC67143" "xC6C424" "xC6CED2" "xC7ED83" "xC84C89" "xC8BE47" "xC9955F" "xCA0FAC" "xCC1C10" "xCD6F40" "xCDF95A" "xCEB8CB" "xCF7DCB" "xCFC8B9" "xCFCEB4" "xD0223C" "xD0336A" "xD10967" "xD247CC" "xD247D2" "xD331D4" "xD370AE" "xD38892" "xD3ACD6" "xD4D11B" "xD5C3C8" "xD86D1A" "xD8956A" "xDBB71B" "xDCD39F" "xDD69F8" "xDD8728" "xDE5BE5" "xDEAB1B" "xDF45EF" "xDFF7B7" "xE02E9A" "xE11FD3" "xE18406" "xE1B118" "xE3AA75" "xE67FA7" "xE70FB1" "xE72C6E" "xE8512C" "xE9C5E4" "xEA47DD" "xEB26F2" "xEB9C41" "xECCFD7" "xEF9BED" "xEFAE40" "xF02F76" "xF113B9" "xF2431F" "xF3DE48" "xF53054" "xF66667" "xF6D554" "xF714FC" "xF80839" "xF88DAD" "xF952C1" "xF9BA26" "xF9F924" "xFA2457" "xFB3C67" "xFB873A" "xFB9C08" "xFC7A98" "xFCE4EB" "xFD215B" "xFD8937" "xFF1B33" }
    traits = { "state_trait_amazon_rainforest" "state_trait_pantanal" }
    city = "xB9F1FF"
    farm = "xB3B0D7"
    mine = "xE02E9A"
    wood = "x68945C"
    arable_land = 60
    arable_resources = { "bg_maize_farms" "bg_livestock_ranches" "bg_cotton_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 80
        bg_logging = 43
    }
    resource = {
        type = "bg_rubber"
        discovered_amount = 39
    }
    resource = {
        type = "bg_oil_extraction"
        undiscovered_amount = 8
    }
}

STATE_PIAUI = {
    id = 660
    subsistence_building = "building_subsistence_farms"
    provinces = { "x042D0E" "x044CF8" "x07B5EB" "x0BDBE6" "x0DE512" "x14F661" "x189F0F" "x21C090" "x361174" "x506683" "x52B7ED" "x584067" "x66681E" "x68A97F" "x69BE90" "x735527" "x772A8C" "x7DCBC3" "x83E18C" "x8564C7" "x88F401" "x89AFD6" "x8A4B48" "x8DF511" "x91AB15" "x920A8F" "xA0C090" "xA33C32" "xA4E24B" "xA8B0C0" "xA9AA6B" "xAB0B29" "xAB18E1" "xB169D2" "xB355EE" "xB5C4BF" "xB634E7" "xB831D5" "xC688FC" "xC74E19" "xCA2BC6" "xCE40A2" "xCE8F26" "xD621B3" "xDA2527" "xDCFBF2" "xE39C8B" "xF07D68" "xF58072" "xF71214" }
    city = "x14F661"
    port = "xB169D2"
    farm = "xF71214"
    mine = "xA33C32"
    wood = "x772A8C"
    arable_land = 90
    arable_resources = { "bg_maize_farms" "bg_livestock_ranches" "bg_coffee_plantations" "bg_cotton_plantations" "bg_tobacco_plantations" "bg_sugar_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 64
	bg_rad_fungus_farm = 18
        bg_iron_mining = 54
        bg_logging = 21
        bg_fishing = 10
    }
    resource = {
        type = "bg_rubber"
        discovered_amount = 6
    }
    naval_exit_id = 3063
}

STATE_MINAS_GERAIS = {
    id = 391
    subsistence_building = "building_subsistence_farms"
    provinces = { "x00476A" "x007644" "x0341D9" "x08DE56" "x09A757" "x0B09E1" "x0B9B88" "x0FD8DD" "x145524" "x154455" "x1572E5" "x1A0824" "x1E0C88" "x1E3689" "x1ECD15" "x1F4798" "x205DD7" "x2445CC" "x249745" "x2D9C6A" "x2F1439" "x2F1BB1" "x2F544F" "x32D141" "x332B5D" "x38EAE6" "x3A1260" "x3E5151" "x3E98D6" "x403955" "x410EC7" "x45CBB7" "x471944" "x526B6D" "x52D36E" "x53DAE2" "x54AA39" "x55459C" "x565A2A" "x57421B" "x59E08F" "x5F78DD" "x5FAA93" "x605AF5" "x610B23" "x621D0A" "x681DC8" "x68ED0C" "x6953FC" "x69C7EB" "x6A33B4" "x6AC98F" "x6B5D9F" "x6B6A3B" "x6DE1F4" "x6E0FE6" "x732A6C" "x754F27" "x755D3F" "x75C21D" "x773C93" "x79C205" "x79D467" "x7BC5C4" "x7C5C64" "x7D986A" "x80F01D" "x83D42C" "x8499F8" "x8F99E5" "x92D205" "x94A7F0" "x96E48E" "x996143" "x9BFE77" "x9C41AD" "x9D3924" "x9F0BC3" "xA0205F" "xA10512" "xA150CA" "xA1F86D" "xA601ED" "xA91313" "xABD70F" "xAD8BC9" "xADF050" "xB2F415" "xB6B036" "xB6ECD1" "xB7263E" "xBA7A2F" "xBB8A73" "xC41BD4" "xC671F6" "xC72E22" "xCA5BB8" "xCAC8AC" "xCB325E" "xCD8841" "xCD9F06" "xD4695B" "xD4B56B" "xDFB42B" "xE2625E" "xE3578B" "xE4EA56" "xE625EE" "xE8109E" "xEAC29B" "xEC465F" "xED0F30" "xF4517F" "xF453D3" "xF5DC62" "xF6B4D6" "xFAE75E" "xFCDEAB" }
    city = "xE8109E"
    farm = "x0B09E1"
    mine = "x80F01D"
    wood = "x755D3F"
    arable_land = 240
    arable_resources = { "bg_maize_farms" "bg_livestock_ranches" "bg_coffee_plantations" "bg_cotton_plantations" "bg_tobacco_plantations" "bg_sugar_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 60
        bg_gold_mining = 3
        bg_iron_mining = 67
        bg_lead_mining = 45
        bg_logging = 36
    }
    resource = {
        type = "bg_gold_fields"
        depleted_type = "bg_gold_mining"
        undiscovered_amount = 8
    }
    resource = {
        type = "bg_rubber"
        discovered_amount = 10
    }
    resource = {
        type = "bg_oil_extraction"
        undiscovered_amount = 8
    }
}

STATE_RIO_DE_JANEIRO = {
    id = 392
    subsistence_building = "building_subsistence_farms"
    provinces = { "x1FCD89" "x258421" "x27995A" "x3BDEE1" "x4E6C36" "x58C1DF" "x7205C6" "x8350FC" "x9555DE" "x96728E" "x96ACE0" "x9FCD89" "xAFC26F" "xB97C7F" "xE0E888" "xF21572" }
    city = "x96ACE0"
    port = "xE0E888"
    farm = "x4E6C36"
    mine = "xF21572"
    wood = "x96728E"
    arable_land = 180
    arable_resources = { "bg_maize_farms" "bg_livestock_ranches" "bg_coffee_plantations" "bg_dye_plantations" "bg_tea_plantations" "bg_sugar_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 84
        bg_logging = 13
        bg_fishing = 13
        bg_whaling = 6
    }
    resource = {
        type = "bg_rubber"
        discovered_amount = 10
    }
    naval_exit_id = 3064
}

STATE_PERNAMBUCO = {
    id = 395
    subsistence_building = "building_subsistence_farms"
    provinces = { "x0973C9" "x0E7CA9" "x0F585E" "x0FC0EC" "x102F7B" "x124BA3" "x1A21F3" "x218050" "x26F1F5" "x30CFD0" "x344DF2" "x3A24E6" "x3DBD72" "x4C7639" "x5408F3" "x60C011" "x69F57B" "x6BB748" "x756819" "x781B63" "x7BA55B" "x8941F9" "x8ED4A6" "x937969" "xA04868" "xA08050" "xC0A070" "xC4D392" "xFAA9EB" }
    city = "x0E7CA9"
    port = "xC0A070"
    farm = "x26F1F5"
    mine = "x1A21F3"
    wood = "x1A21F3"
    arable_land = 180
    arable_resources = { "bg_maize_farms" "bg_livestock_ranches" "bg_coffee_plantations" "bg_cotton_plantations" "bg_tobacco_plantations" "bg_sugar_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 80
        bg_logging = 7
        bg_fishing = 4
    }
    resource = {
        type = "bg_rubber"
        discovered_amount = 3
    }
    naval_exit_id = 3063
}

STATE_ALTO_PARAGUAY = {
    id = 372
    subsistence_building = "building_subsistence_farms"
    provinces = { "x0021B0" "x00B4D8" "x03443A" "x03A9D5" "x067D66" "x0F3CD6" "x10DCC5" "x1148FC" "x1B710F" "x1FB9E5" "x24FD6F" "x257980" "x2C6C50" "x31CD31" "x3A504C" "x42596B" "x454794" "x466E2C" "x4A6B07" "x4D1F19" "x4D49C2" "x4D929D" "x4DC9E5" "x5E4391" "x60C0F0" "x727FD6" "x7EA30A" "x7F122F" "x841D25" "x8706BD" "x89DBD1" "x8A3F78" "x8CCFFD" "x8E584E" "x907EFD" "x94589F" "xA04170" "xA67B3F" "xA6FC81" "xABB36B" "xACC25D" "xAD31E7" "xAFCC81" "xB10505" "xB7D892" "xBBF9A0" "xBD3AF3" "xC61ADF" "xC7CB16" "xC8DC41" "xCE33D1" "xD5F9CD" "xD88F59" "xD90F3A" "xDA1836" "xDA6F61" "xDC3EF4" "xDE11F9" "xEF7E14" "xF0B1F6" "xF30D3D" "xF56551" "xF610F7" "xF6D2AB" "xF81AEB" "xF9F050" "xFA7666" }
    traits = { "state_trait_paraguay_river" }
    city = "x8CCFFD"
    farm = "x8E584E"
    mine = "x10DCC5"
    wood = "xB7D892"
    arable_land = 20
    arable_resources = { "bg_rice_farms" "bg_livestock_ranches" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 60
        bg_logging = 16
    }
    resource = {
        type = "bg_oil_extraction"
        undiscovered_amount = 8
    }
}

STATE_BAJO_PARAGUAY = {
    id = 373
    subsistence_building = "building_subsistence_rice_paddies"
    provinces = { "x088648" "x0B832C" "x0E946E" "x0F5F2B" "x0FC5DF" "x1DCC94" "x2594A3" "x334783" "x361EE6" "x3674BC" "x369F44" "x4DC624" "x4F8725" "x5A795B" "x651796" "x73B395" "x8D0A9E" "x9CDC33" "xB63BAD" "xB74540" "xBF51C8" "xC4AB87" "xCB6C17" "xCCC385" "xCD1E44" "xCD1FE6" "xCD9F44" "xF4DD1F" "xF72535" "xFBD28B" "xFCD325" }
    traits = { "state_trait_paraguay_river" }
    city = "xB63BAD"
    farm = "xCB6C17"
    mine = "xF72535"
    wood = "x2594A3"
    arable_land = 120
    arable_resources = { "bg_rice_farms" "bg_livestock_ranches" "bg_cotton_plantations" "bg_dye_plantations" "bg_tobacco_plantations" "bg_sugar_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 40
        bg_iron_mining = 22
        bg_logging = 21
    }
    resource = {
        type = "bg_oil_extraction"
        undiscovered_amount = 8
    }
}

STATE_JUJUY = {
    id = 371
    subsistence_building = "building_subsistence_pastures"
    provinces = { "x02AD51" "x0643B5" "x0D83A7" "x15263F" "x155297" "x15D9B2" "x1FD39C" "x204070" "x2040F0" "x2080F0" "x239211" "x245987" "x256EF2" "x28C317" "x2D4E45" "x2F5C46" "x35DA48" "x369CE3" "x3B871C" "x3DEF82" "x402B62" "x40F4EB" "x45BE94" "x463063" "x4C03D0" "x5CCB77" "x5F3E39" "x702282" "x829F7D" "x8C37BE" "x8D1ED0" "x90F196" "x92E924" "x9319AA" "x98DD14" "xA3EF4A" "xA94375" "xAB66CC" "xAB85CC" "xAB88AD" "xB01D65" "xC0183E" "xC11533" "xC3F7F6" "xC9249D" "xCA4A31" "xD2B642" "xD60DF3" "xD719A6" "xDF0030" "xDF00F0" "xDF80F0" "xE6ADAE" "xE6D25C" "xEAB107" "xF32BA0" }
    traits = { "state_trait_andes" }
    city = "x5CCB77"
    farm = "xDF80F0"
    mine = "x245987"
    wood = "x9319AA"
    arable_land = 50
    arable_resources = { "bg_maize_farms" "bg_livestock_ranches" "bg_coffee_plantations" "bg_dye_plantations" "bg_tobacco_plantations" "bg_sugar_plantations" }
    capped_resources = {
	bg_uranium_mining = 80
        bg_iron_mining = 54
        bg_lead_mining = 27
        bg_logging = 12
        bg_gold_mining = 4
    }
}

STATE_TUCUMAN = {
    id = 380
    subsistence_building = "building_subsistence_pastures"
    provinces = { "x040A5A" "x09084A" "x0DE4E6" "x1000D0" "x10EE5A" "x11B8D6" "x140D33" "x146973" "x198016" "x19EBD4" "x1C5911" "x1DAB0D" "x21CD86" "x23D433" "x273A8F" "x274804" "x2D3184" "x308010" "x31DC15" "x33099A" "x34BCCC" "x3FE375" "x41A9D6" "x4281BB" "x471BB2" "x4EF694" "x513BBF" "x59952D" "x5EE1DE" "x69CE0A" "x6AF7F3" "x7011E9" "x751CEB" "x75F2DC" "x7D1FA4" "x832F57" "x8654E1" "x88069E" "x8B1824" "x940333" "x96A5C9" "x97CC8F" "x9C6E7D" "xA056EB" "xA6E3FF" "xA9393F" "xAABE4B" "xAC403E" "xAF104E" "xB00010" "xB08010" "xC00241" "xCCD312" "xCD1304" "xCD566B" "xD0C050" "xD0C0D0" "xD176EE" "xDE7D37" "xE44569" "xE6D8DB" "xED426E" "xEE928C" "xEFB9CB" "xF6FCCF" "xF72706" "xF9A9CB" "xFC58D2" "xFEE485" }
    traits = { "state_trait_andes" }
    city = "x832F57"
    farm = "x34BCCC"
    mine = "x19EBD4"
    wood = "x751CEB"
    arable_land = 60
    arable_resources = { "bg_maize_farms" "bg_livestock_ranches" "bg_dye_plantations" "bg_tobacco_plantations" "bg_sugar_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_rad_fungus_farm = 12
	bg_uranium_mining = 100
        bg_iron_mining = 58
        bg_lead_mining = 22
        bg_gold_mining = 4
        bg_logging = 9
    }
}

STATE_PATAGONIA = {
    id = 375
    subsistence_building = "building_subsistence_pastures"
    provinces = { "x00821E" "x00DBA3" "x01DEC2" "x0280B6" "x02A7E0" "x02FD3B" "x0387F1" "x03DD22" "x0423EC" "x09B4DF" "x0CC25B" "x0D244F" "x0DF97C" "x0E3347" "x0EE70B" "x0F72F3" "x107763" "x1080D0" "x12934C" "x12C24F" "x147502" "x14FC80" "x1617DD" "x1620A9" "x177734" "x1782AF" "x1803D0" "x18C0CB" "x19F81E" "x1B6394" "x1BCCEF" "x1C97AE" "x1CB6A9" "x1DB8ED" "x1F1368" "x1F55C5" "x21AB8C" "x21B59A" "x21CFF3" "x2218A8" "x226609" "x22F6CA" "x24AA9F" "x272C16" "x28DF24" "x29A196" "x2B9230" "x2D9EFE" "x2E999C" "x3065B0" "x306D1E" "x3123DD" "x33807A" "x33AE7D" "x33F2FF" "x376932" "x39D7C8" "x3A5AA8" "x3FB373" "x4031B9" "x4078AC" "x43591B" "x455C7F" "x47BA2C" "x47FADC" "x492954" "x497957" "x4C8AAE" "x4CAC90" "x4CB25A" "x4FDE31" "x4FF5AE" "x50ADEE" "x50FCFF" "x51565A" "x528D86" "x55453C" "x569559" "x58F01D" "x59D59D" "x5A1CFA" "x5C5A32" "x5E37F5" "x5EF03F" "x625A03" "x62B483" "x65C27F" "x68D1F9" "x6AC9DC" "x6DE261" "x6FA266" "x6FFD2D" "x724807" "x73279D" "x73CD08" "x7581D9" "x77D750" "x7852C7" "x78B789" "x7A0010" "x7A4665" "x7C3A65" "x8113CC" "x81A7D0" "x81CD1A" "x82ABE7" "x84176B" "x8462B0" "x84CCA4" "x85B7FE" "x86E3B5" "x878A7C" "x880B5B" "x8830BD" "x8953E4" "x8A9598" "x8C7DA9" "x8CB45D" "x8E85EB" "x8E9293" "x9068BD" "x918823" "x91AB9A" "x91F5D1" "x92C193" "x92E3DF" "x92FD41" "x933AD2" "x939325" "x939F1B" "x94AA52" "x95955A" "x96A842" "x977065" "x9959FB" "x99AF78" "x9A34FD" "x9A9361" "x9AA4B9" "x9AD448" "x9B0DB2" "x9B88F7" "x9BC95D" "x9D360A" "x9D4993" "x9D4E94" "x9D7CD6" "xA224BF" "xA26430" "xA45452" "xA56FA1" "xA5E729" "xA810C9" "xA89044" "xAA1982" "xABCC1E" "xADB202" "xAFC854" "xB02050" "xB06090" "xB08090" "xB11739" "xB1895F" "xB22178" "xB40258" "xB407F5" "xB45149" "xB5E1FE" "xB64102" "xB6510D" "xB8A52A" "xBCEC41" "xC227D9" "xC54262" "xC71E45" "xC7DD44" "xC815DF" "xC84818" "xC9478C" "xC95F9C" "xCA2941" "xCBEE81" "xCC2229" "xCCAD63" "xCE1B54" "xCEA621" "xD056C4" "xD05A2E" "xD14535" "xD17F0E" "xD19A99" "xD312AC" "xD373AF" "xD493AE" "xD52C89" "xD882F4" "xD90036" "xDA2BD3" "xDAC04E" "xDACD5C" "xDC67F7" "xDC7A3B" "xDDD3D2" "xDDE5A5" "xDE18A2" "xDE52B4" "xE2DA61" "xE32C31" "xE44832" "xE6FAA1" "xE799E2" "xE7F68A" "xE8124F" "xE98C0B" "xEABA36" "xEFA010" "xF01382" "xF063FA" "xF2544E" "xF508CE" "xF639EE" "xF78BB7" "xF7B2F5" "xFB4936" "xFB6977" "xFC2A57" "xFC3DA5" "xFD09D2" "xFD2346" }
    city = "x8E85EB"
    port = "xB64102"
    farm = "xDACD5C"
    mine = "xF2544E"
    wood = "xC9478C"
    arable_land = 150
    arable_resources = { "bg_livestock_ranches" }
    capped_resources = {
	bg_uranium_mining = 100
        bg_coal_mining = 48
        bg_sulfur_mining = 30
        bg_fishing = 10
    }
    resource = {
        type = "bg_oil_extraction"
        undiscovered_amount = 8
    }
    naval_exit_id = 3066
}

STATE_SANTIAGO = {
    id = 382
    subsistence_building = "building_subsistence_farms"
    provinces = { "x001886" "x1297F8" "x1D4FBD" "x38BE02" "x3B1319" "x423A89" "x42CE23" "x5080D0" "x5DED27" "x5F5835" "x61C0E9" "x6B96A8" "x6F3C8F" "x73C0F8" "x792B0A" "x7CD76E" "x92EAB2" "x94DFAD" "x975852" "x983742" "x9E95B8" "xA53405" "xACD450" "xAFBE09" "xB17E89" "xB57224" "xB6BD11" "xB808E7" "xC3EC7E" "xC6A968" "xCF8B7D" "xD000D0" "xD08050" "xD080D0" "xD3A966" "xE3764F" "xF0147F" "xFEDF06" "xFFF993" }
    impassable = { "xD080D0" "xC6A968" "x94DFAD" }
    traits = { "state_trait_andes" }
    city = "x73C0F8"
    port = "x5DED27"
    farm = "xFFF993"
    mine = "x001886"
    wood = "xAFBE09"
    arable_land = 40
    arable_resources = { "bg_wheat_farms" "bg_livestock_ranches" "bg_tobacco_plantations" "bg_sugar_plantations" }
    capped_resources = {
	bg_rad_fungus_colony = 1
	bg_rad_fungus_farm = 18
	bg_uranium_mining = 80
        bg_gold_mining = 7
        bg_iron_mining = 49
        bg_sulfur_mining = 54
        bg_logging = 9
        bg_whaling = 3
        bg_fishing = 12
    }
    naval_exit_id = 3152
}

STATE_LOS_RIOS = {
    id = 383
    subsistence_building = "building_subsistence_farms"
    provinces = { "x02C052" "x10C050" "x142AEF" "x1A5ED2" "x24D8BD" "x29AFD4" "x304688" "x31F03F" "x3D3ED8" "x427820" "x42A6B5" "x49F9FC" "x83D701" "x8848C6" "x904050" "x9040D0" "x90C050" "x90C0D0" "x9DA2FB" "xA316F5" "xAAA21B" "xB72711" "xCFB481" "xD78C29" "xDAE7CA" "xE70539" "xE855B1" "xF0CA34" "xF2263F" "xF63FA0" "xF68D31" }
    impassable = { "x31F03F" "x24D8BD" "x304688" "xD78C29" }
    traits = { "state_trait_andes" }
    city = "x904050"
    port = "x9040D0"
    farm = "x90C0D0"
    mine = "x427820"
    wood = "x83D701"
    arable_land = 30
    arable_resources = { "bg_wheat_farms" "bg_livestock_ranches" "bg_tobacco_plantations" "bg_sugar_plantations" }
    capped_resources = {
	bg_uranium_mining = 54
        bg_coal_mining = 90
        bg_lead_mining = 36
        bg_sulfur_mining = 48
        bg_logging = 16
        bg_whaling = 4
        bg_fishing = 12
    }
    naval_exit_id = 3152
}

STATE_ARAUCANIA = {
    id = 384
    subsistence_building = "building_subsistence_pastures"
    provinces = { "x029AC8" "x06CB06" "x08DC28" "x0D35DB" "x10C0D0" "x1205C7" "x144683" "x15DC6A" "x1BC85D" "x1C63CA" "x1C93E4" "x1ECBB0" "x2238F2" "x234A11" "x239726" "x26952C" "x2D500A" "x2EED5C" "x30E010" "x32A3EF" "x350B0F" "x3618F8" "x3677CF" "x373F8E" "x38CA10" "x397FCF" "x3B77C3" "x3C48C5" "x3E636E" "x3F684C" "x41362A" "x45155F" "x4A805F" "x4CF080" "x521B0A" "x553B3F" "x5550B3" "x572ADE" "x57B39E" "x5888F2" "x592AB4" "x5A2781" "x5A7430" "x5BA7C2" "x5D6B95" "x5EE5BA" "x5F5474" "x62F8C0" "x635DF1" "x67124D" "x6A1AA0" "x6ACA62" "x6B4507" "x6C5ABF" "x6E53D4" "x6F282B" "x706090" "x76A4B1" "x774C99" "x78955F" "x7A0796" "x7A3051" "x7F712C" "x86C279" "x8A5623" "x8C10F7" "x8C193E" "x8D3309" "x8DFAB2" "x92226D" "x972B02" "x977A70" "x9806EE" "x9820A3" "x9A65E7" "x9C5DD8" "x9EF738" "xA2F65A" "xA44376" "xA5B2DA" "xA78819" "xA8029D" "xA86344" "xA9B0FB" "xAB76FA" "xAE5924" "xB0E010" "xB0E4AA" "xB180F2" "xB2743E" "xB3A09E" "xB451D6" "xB6AC81" "xB77DB2" "xB79F3F" "xB8B2B8" "xB938AE" "xBDED9A" "xBFA411" "xC3285E" "xC408A8" "xC42462" "xC544F3" "xC61D1A" "xC9CE36" "xCA8971" "xCC30AA" "xD2DD34" "xD2FCCD" "xD48CEB" "xD7C0DF" "xD88028" "xDE5B96" "xE08DF2" "xE0D7C4" "xE4E0A7" "xE4FCDC" "xEC5162" "xEEF132" "xEF695A" "xEFB409" "xF4A0DA" "xFA990A" "xFC375D" "xFD0582" "xFF3CFE" }
    traits = { "state_trait_andes" }
    city = "xD7C0DF"
    port = "x553B3F"
    farm = "x144683"
    mine = "x8C10F7"
    wood = "x0D35DB"
    arable_land = 15
    arable_resources = { "bg_livestock_ranches" }
    capped_resources = {
	bg_uranium_mining = 72
        bg_sulfur_mining = 60
        bg_logging = 21
        bg_fishing = 10
    }
    resource = {
        type = "bg_gold_fields"
        depleted_type = "bg_gold_mining"
        undiscovered_amount = 4
    }
    resource = {
        type = "bg_oil_extraction"
        undiscovered_amount = 8
    }
    naval_exit_id = 3151
}

STATE_TARAPACA = {
    id = 361
    subsistence_building = "building_subsistence_rice_paddies"
    provinces = { "x1040D0" "x2F3768" "x2FB295" "x380AE9" "x49DD3B" "x79C7F7" "x8733A4" "xA00070" "xB3DA33" "xC9DDC4" "xCB9DD5" "xD46425" "xF391A7" }
    traits = { "state_trait_andes" "state_trait_atacama_desert" }
    city = "x380AE9"
    port = "xA00070"
    farm = "x49DD3B"
    mine = "x8733A4"
    wood = "x49DD3B"
    arable_land = 20
    arable_resources = { "bg_rice_farms" "bg_livestock_ranches" "bg_dye_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 44
        bg_iron_mining = 27
        bg_sulfur_mining = 36
        bg_whaling = 4
        bg_fishing = 7
    }
    naval_exit_id = 3152
}

STATE_ANTOFAGASTA = {
    id = 362
    subsistence_building = "building_subsistence_farms"
    provinces = { "x1B2EC2" "x2000F0" "x208070" "x20E574" "x291C71" "x2DF128" "x3FDC05" "x40D35C" "x4DCF72" "x694D06" "x6B33D0" "x71C02C" "x7984DF" "x8238EF" "x82A274" "x8BA717" "x8F918A" "xCAECEF" "xCC472E" "xCE7F3B" "xDE43F7" "xE96CF4" "xEE0067" "xF39FDA" "xF5E20E" }
    traits = { "state_trait_andes" "state_trait_atacama_desert" }
    city = "x7984DF"
    port = "x2000F0"
    farm = "x694D06"
    mine = "xE96CF4"
    wood = "x8F918A"
    arable_land = 30
    arable_resources = { "bg_maize_farms" "bg_livestock_ranches" }
    capped_resources = {
	bg_rad_fungus_farm = 12
	bg_uranium_mining = 64
        bg_iron_mining = 45
        bg_sulfur_mining = 72
        bg_fishing = 7
    }
    naval_exit_id = 3152
}

STATE_LA_PAZ = {
    id = 364
    subsistence_building = "building_subsistence_rice_paddies"
    provinces = { "x045D66" "x07D111" "x0A51AC" "x0AAAAC" "x0CD27A" "x0D584B" "x11DE6C" "x12108F" "x131739" "x1A8BA1" "x1F3664" "x20F378" "x22BE37" "x23D4CF" "x2410B7" "x253E79" "x2815D0" "x2CBF49" "x32FA5C" "x4040D0" "x42895F" "x451DFA" "x46BCB9" "x4721A4" "x4758AE" "x49B0BF" "x49B3A4" "x4B6AB8" "x4C4D63" "x4F58C9" "x4F8420" "x542F50" "x57125B" "x59B309" "x627358" "x677249" "x678125" "x6B8F1E" "x725B6B" "x72B0FA" "x735E45" "x7B4D37" "x7B95EA" "x84F56A" "x88E8DC" "x8FE404" "x9084FB" "x913574" "x931FDA" "x959B26" "x95A83A" "x969B22" "x9E207E" "xA00788" "xA04030" "xA0C0F0" "xA2A5FA" "xB127BC" "xB19B32" "xB4F357" "xB5966F" "xB94EE4" "xBF0E01" "xC0524B" "xC29D17" "xC4AA63" "xC8FBC2" "xCECD40" "xCF0442" "xD08CB2" "xD6FCA4" "xDBFFFF" "xDE2B7D" "xDEA235" "xDEDC30" "xDFF14D" "xE00010" "xE1BCCE" "xE26287" "xE527E3" "xE74282" "xEB3580" "xED0E96" "xF1BD3D" "xF3EEF0" "xF4D455" "xF79A14" "xF940B8" "xFBAC56" }
    traits = { "state_trait_amazon_rainforest" "state_trait_andes" }
    city = "xDE2B7D"
    farm = "x95A83A"
    mine = "x23D4CF"
    wood = "x2815D0"
    arable_land = 120
    arable_resources = { "bg_rice_farms" "bg_livestock_ranches" "bg_coffee_plantations" "bg_dye_plantations" "bg_tobacco_plantations" "bg_sugar_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 44
        bg_logging = 30
        bg_gold_mining = 6
    }
    resource = {
        type = "bg_rubber"
        undiscovered_amount = 12
    }
    resource = {
        type = "bg_oil_extraction"
        undiscovered_amount = 45
    }
}

STATE_POTOSI = {
    id = 365
    subsistence_building = "building_subsistence_rice_paddies"
    provinces = { "x0900B4" "x0AD269" "x0B0C75" "x0D59CE" "x270774" "x32B79C" "x41FA9C" "x42886B" "x47733E" "x48CD30" "x4E93E5" "x50379F" "x540F3D" "x5AD6BE" "x6955EB" "x7084E0" "x77DD69" "x7D78F0" "x7E2F00" "x82F7D6" "x97595D" "x9AB55F" "xA040B0" "xA08070" "xA78878" "xCEB68F" "xEE24B4" "xEF3699" "xF0A4ED" "xF2F873" "xF6C024" }
    traits = { "state_trait_andes" }
    city = "xF0A4ED"
    farm = "x97595D"
    mine = "x5AD6BE"
    wood = "xF0A4ED"
    arable_land = 20
    arable_resources = { "bg_rice_farms" "bg_livestock_ranches" "bg_coffee_plantations" "bg_dye_plantations" "bg_tobacco_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 104
        bg_lead_mining = 18
        bg_logging = 13
        bg_gold_mining = 6
    }
}

STATE_LIMA = {
    id = 367
    subsistence_building = "building_subsistence_farms"
    provinces = { "x03B9CB" "x0B1EE1" "x131D6D" "x187234" "x20C0B0" "x26F77F" "x2AFF79" "x2B7493" "x3060D7" "x32FF31" "x3528D6" "x4411B8" "x48284E" "x539023" "x59E553" "x5E4494" "x60C030" "x631487" "x64989F" "x690D59" "x6BEF27" "x6EB212" "x786D2C" "x7C29E5" "x7C6BF6" "x88CDF0" "x91B0BF" "x928ED8" "x96560E" "x9866F2" "x99E70D" "x9BBC5E" "x9E0F14" "xA03573" "xA06991" "xA0C0B0" "xA101CC" "xA146DE" "xA3F17B" "xA4735B" "xC0A53C" "xC2FE32" "xC64601" "xC9CBD8" "xCBB91A" "xCD4EF2" "xCF5BB8" "xD7B13A" "xDEA3E2" "xDF00B0" "xE69BC9" "xF19D07" "xF2A18E" "xF333CF" "xF3F25C" "xF405A2" }
    traits = { "state_trait_andes" "state_trait_chincha_islands" }
    city = "x928ED8"
    port = "x6BEF27"
    farm = "x9E0F14"
    mine = "xF333CF"
    wood = "xA3F17B"
    arable_land = 40
    arable_resources = { "bg_maize_farms" "bg_livestock_ranches" "bg_coffee_plantations" "bg_cotton_plantations" "bg_dye_plantations" "bg_tobacco_plantations" "bg_sugar_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 40
        bg_gold_mining = 9
        bg_iron_mining = 31
        bg_lead_mining = 45
        bg_sulfur_mining = 42
        bg_logging = 16
        bg_whaling = 7
        bg_fishing = 10
    }
    naval_exit_id = 3024
}

STATE_ICA = {
    id = 368
    subsistence_building = "building_subsistence_farms"
    provinces = { "x003582" "x05FB9B" "x08623F" "x08AC16" "x08BBBC" "x0AF425" "x0D8A39" "x186AEE" "x199608" "x1CA561" "x1F2F47" "x25CF2A" "x32863F" "x38EE47" "x3B8AB8" "x3C568C" "x3F9FD5" "x4061BE" "x40E12A" "x43494D" "x44B4A5" "x52BF37" "x5F849A" "x6040B0" "x6780B3" "x68D883" "x7991EE" "x7B9FBE" "x7DD2F8" "x807F09" "x817BB5" "x82F15A" "x83E894" "x98E058" "xA4CA0B" "xA4DAF3" "xA7C0A9" "xB0BAC0" "xB15AC4" "xB2AB53" "xB3DC65" "xBDFBD1" "xCAB5E1" "xD3F539" "xD54205" "xDF4030" "xDFC030" "xE5E702" "xE7EB9B" "xF0A4FE" "xF211E2" "xF3A702" "xFB1969" "xFF8828" }
    traits = { "state_trait_andes" }
    city = "x98E058"
    port = "x32863F"
    farm = "x25CF2A"
    mine = "x52BF37"
    wood = "xBDFBD1"
    arable_land = 50
    arable_resources = { "bg_maize_farms" "bg_livestock_ranches" "bg_coffee_plantations" "bg_cotton_plantations" "bg_dye_plantations" "bg_tobacco_plantations" "bg_sugar_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 48
        bg_iron_mining = 54
        bg_sulfur_mining = 48
        bg_logging = 16
        bg_fishing = 6
    }
    naval_exit_id = 3152
}

STATE_AREQUIPA = {
    id = 369
    subsistence_building = "building_subsistence_farms"
    provinces = { "x007035" "x2E3791" "x3BC37F" "x451783" "x67EC55" "x72698B" "x728391" "x79A3B0" "x7C1054" "x89775D" "x8EC087" "x923040" "x96798E" "x96AB5D" "xB077B0" "xBB02B0" "xBED190" "xC16B62" "xC6E532" "xC72B01" "xD464CF" "xD619E0" "xD66487" "xDF23D0" "xDFC0B0" "xE326BA" "xF6869A" }
    traits = { "state_trait_andes" }
    city = "xC72B01"
    port = "xF6869A"
    farm = "x007035"
    mine = "xDFC0B0"
    wood = "xBB02B0"
    arable_land = 25
    arable_resources = { "bg_maize_farms" "bg_livestock_ranches" "bg_coffee_plantations" "bg_cotton_plantations" "bg_dye_plantations" "bg_tobacco_plantations" "bg_sugar_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 64
        bg_iron_mining = 31
        bg_sulfur_mining = 48
        bg_logging = 6
        bg_fishing = 7
    }
    naval_exit_id = 3152
}

STATE_CAUCA = {
    id = 359
    subsistence_building = "building_subsistence_farms"
    provinces = { "x0000D0" "x008050" "x04F7D1" "x488A71" "x53873F" "x5437B1" "x5575E4" "x69559D" "x6E5F7F" "x70B453" "x8000D0" "x808050" "x824FE7" "xA03713" "xB81135" "xB98FDD" "xCCF8B8" "xDFB23F" "xF294CC" }
    traits = { "state_trait_andes" }
    city = "x808050"
    port = "x488A71"
    farm = "x824FE7"
    mine = "xDFB23F"
    wood = "x5575E4"
    arable_land = 80
    arable_resources = { "bg_maize_farms" "bg_livestock_ranches" "bg_coffee_plantations" "bg_cotton_plantations" "bg_dye_plantations" "bg_tobacco_plantations" "bg_banana_plantations" }
    capped_resources = {
	bg_uranium_mining = 80
        bg_coal_mining = 30
        bg_logging = 12
        bg_fishing = 9
        bg_whaling = 3
    }
    naval_exit_id = 3155
}

