This module is a list of state traits for use with Module:State trait.
To add a new entry to this list, copy the template below and fill in the information. Note that single or double quotes must be used as in the template
p['<name>'] = {
icon = '<icon>',
effect = { '<color>_<amount>_<text>' }
}
Or
p['<name>'] = {
icon = '<icon>',
effect = { { '<color>', '<amount>', '<text>' } }
}
| Template element | Description/Use |
|---|---|
| <name> | The English localized state trait name |
| <icon> | The icon image file. See Category:State trait icons for available list on the wiki; note that the wiki images are all prefixed with "state trait", which must be left off here |
| effect <color> | Color effect for the <amount>: use "green", "red", or "inherit" for good, bad, or neutral effects respectively |
| effect <amount> | Size of the modifier, include + − and % as well as the number |
| effect <text> | Localized modifier effect text. Images can be included by including wikitext such as [[File:State status construction.png|link=Construction|24px]].
|
Effect is a comma separated table; each effect must be listed as its own table value separately. The underscores must separate each effect element and underscores cannot be used within any of the effect elements. The effect can alternatively be listed as a sub-table, which then allows underscores to be used in elements if needed.
Traits with the same icon and effects as another trait can copy from it by assigning the old trait to the new trait with p['New Trait'] = p['Old Trait']
local p = { };
-- list of common effects
local ef = { };
ef['infra'] = '[[File:State status infrastructure.png|link=Infrastructure|24px]] Infrastructure'
ef['sConEf'] = '[[File:State status construction.png|link=Construction|24px]] State construction efficiency'
ef['mapi'] = 'Market access price impact'
ef['hw'] = '[[File:Goods hardwood.png|link=Hardwood|24px]] Hardwood output'
ef['el'] = '[[File:Goods electricity.png|link=Electricity|24px]] Electricity output'
ef['sy'] = 'Shipyards throughput'
ef['msy'] = 'Military Shipyards throughput'
-----------------------
-- List of state traits
-----------------------
-- 20 infra 5 mapi rivers
p['Danube River'] = {
icon = 'river',
effect = { { 'green', '+20', ef.infra }, { 'green', '+5%', ef.mapi } }
}
p['Don River'] = p['Danube River']
p['Indus River'] = p['Danube River']
p['Irtysh River'] = p['Danube River']
p['Mississippi River'] = p['Danube River']
p['Rhine River'] = p['Danube River']
p['Volga River'] = p['Danube River']
p['Yangtze River'] = p['Danube River']
-- 20 infra rivers
p['Brahmaputra River'] = {
icon = 'river',
effect = { { 'green', '+20', ef.infra } }
}
p['Columbia River'] = p['Brahmaputra River']
p['Euphrates River'] = p['Brahmaputra River']
p['Lake Victoria'] = p['Brahmaputra River']
p['Mekong River'] = p['Brahmaputra River']
p['Ohio River'] = p['Brahmaputra River']
p['Øresund'] = p['Brahmaputra River']
p['Orinoco River'] = p['Brahmaputra River']
p['Paraguay River'] = p['Brahmaputra River']
p['Paraná River'] = p['Brahmaputra River']
p['Tigris River'] = p['Brahmaputra River']
p['Uruguay River'] = p['Brahmaputra River']
-- 15 infra 5 mapi rivers
p['Dnieper River'] = {
icon = 'river',
effect = { { 'green', '+15', ef.infra }, { 'green', '+5%', ef.mapi } }
}
p['Yellow River'] = p['Dnieper River']
-- 15 infra rivers
p['Amazon River'] = {
icon = 'river',
effect = { { 'green', '+15', ef.infra } }
}
p['Congo River'] = p['Amazon River']
p['Drava River'] = p['Amazon River']
p['Elbe River'] = p['Amazon River']
p['Great Lakes'] = p['Amazon River']
p['Kapuas River'] = p['Amazon River']
p['Loire River'] = p['Amazon River']
p['Niger River'] = p['Amazon River']
p['Ob River'] = p['Amazon River']
p['Oder River'] = p['Amazon River']
p['Pearl River'] = p['Amazon River']
p['Po River'] = p['Amazon River']
p['Rhone River'] = p['Amazon River']
p['Sarawak River'] = p['Amazon River']
p['Seine River'] = p['Amazon River']
p['St Lawrence River'] = p['Amazon River']
p['Zambezi River'] = p['Amazon River']
-- flavored harbors
p['Natural Harbors'] = {
icon = 'natural_harbors',
effect = { { 'green', '+10%', ef.sy }, { 'green', '+10%', ef.msy }, 'green_+3_Port max level', 'green_+10_Naval Base max level' }
}
p['Bremerhaven'] = p['Natural Harbors']
p['Dalian Bay'] = p['Natural Harbors']
p['Edo Bay'] = p['Natural Harbors']
p['Golden Horn Bay'] = p['Natural Harbors']
p['Halifax Harbor'] = p['Natural Harbors']
p['Manila Bay'] = p['Natural Harbors']
p['Nagasaki Bay'] = p['Natural Harbors']
p['New York Harbor'] = p['Natural Harbors']
p['Newark Harbor'] = p['Natural Harbors']
p['Saronic Gulf'] = p['Natural Harbors']
p['Seto Inland Sea'] = p['Natural Harbors']
-- 20% mountains
p['Caucasus Mountain Range'] = {
icon = 'mountain',
effect = { { 'red', '−20%', ef.sConEf }, { 'red', '−20%', ef.infra } }
}
p['Mountains of Baluchistan'] = p['Caucasus Mountain Range']
p['Rocky Mountains'] = p['Caucasus Mountain Range']
-- 15% mountains
p['Alps Mountain Range'] = {
icon = 'mountain',
effect = { { 'red', '−15%', ef.sConEf }, { 'red', '−15%', ef.infra } }
}
p['Atlas Mountains'] = p['Alps Mountain Range']
-- 10% mountains
p['Andes'] = {
icon = 'mountain',
effect = { { 'red', '−10%', ef.sConEf }, { 'red', '−10%', ef.infra } }
}
p['Cascades'] = p['Andes']
p['Central American Cordilleras'] = p['Andes']
p['Great Dividing Range'] = p['Andes']
p['Sierra Madre Occidental'] = p['Andes']
p['Sierra Madre Oriental'] = p['Andes']
p['Zagros Mountains'] = p['Andes']
-- 10% coal
p['Appalachian Coalfields'] = {
icon = 'resources_ore',
effect = { 'green_+10%_Coal Mines throughput' }
}
p['Borinage Coalfield'] = p['Appalachian Coalfields']
p['Central Belt Coalfield'] = p['Appalachian Coalfields']
p['Chikuho Coalfield'] = p['Appalachian Coalfields']
p['Cuencas Mineras'] = p['Appalachian Coalfields']
p['Ishikari Coalfield'] = p['Appalachian Coalfields']
p['Jharia-Dhanbad Coalfield'] = p['Appalachian Coalfields']
p['Kaiping Coalfield'] = p['Appalachian Coalfields']
p['Kuznetsk Basin'] = p['Appalachian Coalfields']
p['Lancashire Coalfield'] = p['Appalachian Coalfields']
p['Loire Coalfield'] = p['Appalachian Coalfields']
p['Nord-Pas-de-Calais Coalfield'] = p['Appalachian Coalfields']
p['Ruhr Coalfield'] = p['Appalachian Coalfields']
p['Saar Coalfield'] = p['Appalachian Coalfields']
p['South Wales Valleys'] = p['Appalachian Coalfields']
p['South Yorkshire Coalfield'] = p['Appalachian Coalfields']
p['Upper Silesia Coalfield'] = p['Appalachian Coalfields']
p['Waterberg Coalfield'] = p['Appalachian Coalfields']
-- 20% iron
p['Basque Iron Ore'] = {
icon = 'resources_ore',
effect = { 'green_+20%_Iron Mines throughput' }
}
p['El Mutún'] = p['Basque Iron Ore']
p['Kongsberg'] = p['Basque Iron Ore']
p['Malmberget'] = p['Basque Iron Ore']
p['Mokta El Hadid'] = p['Basque Iron Ore']
p['Serra Dos Carajás'] = p['Basque Iron Ore']
p['Uralic Iron Ore Deposits'] = p['Basque Iron Ore']
-- 20% ag soils
p['Central Valley'] = {
icon = 'good_soils',
effect = { 'green_+20%_Agriculture throughput', 'green_+20%_Plantations throughput' }
}
p['Indus Valley'] = p['Central Valley']
p['Mesopotamian Floodplain'] = p['Central Valley']
p['Volcanic Fertility'] = p['Central Valley']
-- 15% ag soils
p['Black Soil'] = {
icon = 'good_soils',
effect = { 'green_+15%_Agriculture throughput', 'green_+15%_Plantations throughput' }
}
p['Loess Plateau'] = p['Black Soil']
p['Mitidja Plain'] = p['Black Soil']
p['Red Basin'] = p['Black Soil']
p['Terra Rossa'] = p['Black Soil']
p['Valle Central'] = p['Black Soil']
-- 15% ag river
p['Chao Phraya Delta'] = {
icon = 'river',
effect = p['Black Soil'].effect
}
p['Irrwaddy Delta'] = p['Chao Phraya Delta']
p['Mekong Delta'] = p['Chao Phraya Delta']
-- 10% ag soils
p['Good Soils'] = {
icon = 'good_soils',
effect = { 'green_+10%_Agriculture throughput', 'green_+10%_Plantations throughput' }
}
p['La Costa'] = p['Good Soils']
--20% fish
p['Grand Banks Fisheries'] = {
icon = 'resources_fish',
effect = { 'green_+20%_Fishing Industry throughput' }
}
p['North Sea Fishing'] = p['Grand Banks Fisheries']
p['Yukon River Salmon Run'] = p['Grand Banks Fisheries']
--20% whales
p['Arctic Whaling'] = {
icon = 'resources_whales',
effect = { 'green_+20%_Whaling Industry throughput' }
}
p['Antarctic Whaling'] = p['Arctic Whaling']
p['New England Whaling'] = p['Arctic Whaling']
-- deserts
p['Arabian Desert'] = {
icon = 'dry_climate',
effect = { 'red_−10%_Ranches throughput', 'red_−20%_Agriculture throughput', 'red_−20%_Plantations throughput', { 'red', '−25%', ef.sConEf }, { 'red', '−25%', ef.infra } }
}
p['Australian Desert'] = p['Arabian Desert']
p['Gobi Desert'] = p['Arabian Desert']
p['Great Basin Desert'] = p['Arabian Desert']
p['Sahara Desert'] = p['Arabian Desert']
p['Taklamakan Desert'] = p['Arabian Desert']
p['Alborz Mountains'] = {
icon = 'mountain',
effect = { { 'red', '−10%', ef.sConEf }, { 'red', '−20%', ef.infra } }
}
p['Angara River'] = {
icon = 'river',
effect = { { 'green', '+20%', ef.el }, { 'green', '+15', ef.infra } }
}
p['Amazon Rainforest'] = {
icon = 'resources_lumber',
effect = { { 'green', '+25%', ef.hw }, { 'red', '−30%', ef.sConEf }, { 'red', '−30%', ef.infra } }
}
p['American Chestnut Forests'] = {
icon = 'resources_lumber',
effect = { { 'green', '+25%', ef.hw } }
}
p['Arctic Terrain'] = {
icon = 'cold_climate',
effect = { 'red_−10%_Ranches throughput', { 'red', '−20%', ef.sConEf }, { 'red', '−20%', ef.infra }, 'red_−50%_Migration attraction' }
}
-- name changed to Arctic Terrain in 1.7
p['Siberian Terrain'] = p['Arctic Terrain']
p['Atacama Desert'] = {
icon = 'dry_climate',
effect = { 'green_+15%_Sulfur Mines throughput', 'red_−10%_Agriculture throughput', 'red_−10%_Plantations throughput', { 'red', '−10%', ef.sConEf }, { 'red', '−10%', ef.infra } }
}
p['Bam-Narmashir Oasis'] = {
icon = 'turquoise',
effect = { 'green_+20%_Dye Plantations throughput' }
}
p['Cobalt Deposits'] = p['Bam-Narmashir Oasis']
p['Bengal Delta'] = {
icon = 'river',
effect = { 'green_+25%_Agriculture throughput', 'green_+25%_Plantations throughput' }
}
p['Bergslagen'] = {
icon = 'resources_ore',
effect = { 'green_+15%_Iron Mines throughput', 'green_+10%_Lead Mines throughput' }
}
p['Black Country'] = {
icon = 'resources_ore',
effect = { 'green_+15%_Coal Mines throughput', 'green_+5%_Iron Mines throughput' }
}
p['Black Forest'] = {
icon = 'resources_lumber',
effect = { 'green_+10%_Logging Industry throughput' }
}
p['Bone Valley'] = {
icon = 'resources_ore',
effect = { 'green_+10%_Sulfur Mines throughput' }
}
p['Borneo Rainforest'] = {
icon = 'resources_lumber',
effect = { { 'green', '+25%', ef.hw }, { 'red', '−10%', ef.sConEf }, { 'red', '−10%', ef.infra } }
}
p['Burmese Teak'] = p['Borneo Rainforest']
p['Canadian Prairie'] = {
icon = 'great_plains',
effect = { 'green_+20%_Agriculture throughput', { 'red', '−10%', ef.infra } }
}
p['Canales Patagónicos'] = {
icon = 'fjords',
effect = { { 'green', '+15%', ef.hw }, 'green_+5_Port max level', 'green_+15_Naval Base max level' }
}
p['Cap-Vert'] = {
icon = 'natural_harbors',
effect = { 'green_+5_Port max level', 'green_+15_Naval Base max level' }
}
p['Cauvery Delta'] = {
icon = 'river',
effect = p['Central Valley'].effect
}
p['Chincha Islands'] = {
icon = 'bat',
effect = { 'green_+20%_Sulfur Mines throughput' }
}
p['Christianiafjorden'] = {
icon = 'fjords',
effect = { { 'green', '+15%', ef.sy }, { 'green', '+15%', ef.msy }, 'green_+5_Port max level', 'green_+10_Naval Base max level' }
}
p['Odensefjorden'] = {
icon = 'fjords',
effect = { { 'green', '+15%', ef.sy }, { 'green', '+15%', ef.msy }, 'green_+5_Port max level', 'green_+15_Naval Base max level' }
}
p['Hardangerfjorden'] = {
icon = 'fjords',
effect = { { 'green', '+15%', ef.sy }, { 'green', '+15%', ef.msy }, 'green_+5_Port max level', 'green_+15_Naval Base max level', { 'green', '+20%', ef.el } }
}
p['Trondhjemsfjorden'] = p['Hardangerfjorden']
p['Congolian Rainforest'] = {
icon = 'resources_lumber',
effect = { { 'green', '+25%', ef.hw }, { 'red', '−20%', ef.sConEf }, { 'red', '−20%', ef.infra } }
}
p['Copper Coast'] = {
icon = 'resources_ore',
effect = { 'green_+10%_Lead Mines throughput', 'green_+10%_Iron Mines throughput' }
}
p['Cordillera de la Costa'] = {
icon = 'fjords',
effect = { 'green_+5_Port max level', 'green_+15_Naval Base max level' }
}
p['Developed Amazon Rainforest'] = {
icon = 'resources_lumber',
effect = { { 'green', '+25%', ef.hw }, { 'red', '−20%', ef.sConEf }, { 'red', '−20%', ef.infra }, 'green_+10%_Migration attraction' }
}
p['Digboi Oil Fields'] = {
icon = 'tropical_climate',
effect = { 'green_+10%_Oil Extractors throughput' }
}
p['Yenangyaung Oil Fields'] = p['Digboi Oil Fields']
p['Eastern Steppe'] = {
icon = 'poor_soils',
effect = { 'green_+10%_Ranches throughput', 'red_−10%_Agriculture throughput', 'red_−10%_Plantations throughput' }
}
p['Sahel'] = p['Eastern Steppe']
p['Exploited Amazon Rainforest'] = {
icon = 'resources_lumber',
effect = { { 'green', '+25%', ef.hw }, 'green_+10%_Agriculture throughput', { 'red', '−10%', ef.sConEf }, { 'red', '−10%', ef.infra }, 'green_+20%_Migration attraction' }
}
p['Floridian Wetlands'] = {
icon = 'swamp',
effect = p['Alps Mountain Range'].effect
}
p['Galle Harbor'] = {
icon = 'natural_harbors',
effect = { { 'green', '+10%', ef.sy }, { 'green', '+10%', ef.msy }, 'green_+5_Port max level', 'green_+10_Naval Base max level' }
}
p['Sebastopol Bay'] = p['Galle Harbor']
p['Ganges River'] = {
icon = 'river',
effect = { 'green_+15%_Agriculture throughput', 'green_+15%_Plantations throughput', { 'green', '+20', ef.infra }, { 'green', '+5%', ef.mapi } }
}
p['Golden Vale'] = {
icon = 'good_soils',
effect = { 'green_+10%_Agriculture throughput' }
}
p['Gran Chaco'] = {
icon = 'poor_soils',
effect = { 'red_−10%_Logging Industry throughput', 'red_−20%_Agriculture throughput', 'green_+30%_Ranches throughput' }
}
p['Great Plains'] = {
icon = 'great_plains',
effect = { 'green_+20%_Agriculture throughput', 'green_+20%_Plantations throughput', { 'red', '−10%', ef.infra } }
}
p['Guadalquivir River'] = {
icon = 'river',
effect = { { 'green', '+10', ef.infra } }
}
p['Yenisei River'] = p['Guadalquivir River']
p['Himalayas Mountain Range'] = {
icon = 'mountain',
effect = { { 'red', '−25%', ef.sConEf }, { 'red', '−25%', ef.infra } }
}
p['Honam Plain'] = {
icon = 'good_soils',
effect = { { 'green', '+5', ef.infra }, 'green_+10%_Agriculture throughput' }
}
p['Himalayan Foothills'] = {
icon = 'good_soils',
effect = { 'green_+25%_Tea Plantation throughput' }
}
p['Hyrcanian Forests'] = {
icon = 'resources_lumber',
effect = { { 'green', '+20%', ef.hw }, 'green_+10%_Logging Industry throughput' }
}
p['Indochinese Forests'] = {
icon = 'resources_lumber',
effect = { 'green_+10%_Logging Industry throughput', { 'red', '−10%', ef.sConEf }, { 'red', '−10%', ef.infra } }
}
p['Isle of Syros'] = {
icon = 'natural_harbors',
effect = { { 'green', '+20%', ef.sy }, 'green_+4_Naval Base max level', 'green_+3_Port max level' }
}
p['Kanto Plain'] = {
icon = 'good_soils',
effect = { { 'green', '+15', ef.infra }, 'green_+10%_Agriculture throughput' }
}
p['Krka Falls'] = {
icon = 'waterfall',
effect = { { 'green', '+15%', ef.el } }
}
p['Kotlin Island'] = {
icon = 'natural harbors',
effect = { { 'green', '+20%', ef.msy }, 'green_+5_Port max level', 'green_+20_Naval Base max level' }
}
p['Lake Maracaibo'] = {
icon = 'resources_fish',
effect = { 'green_+20%_Oil Extractors throughput', { 'green', '+15', ef.infra } }
}
p['London Docklands'] = {
icon = 'natural_harbors',
effect = { { 'green', '+15%', ef.sy }, { 'green', '+15%', ef.msy }, 'green_+5_Port max level', 'green_+15_Naval Base max level' }
}
p['Malaria'] = {
icon = 'malaria',
effect = { 'red_−90%_Colony growth speed in non-homeland states', 'red_+15%_Mortality in non-homeland states' }
}
p['Mascarene Plateau'] = {
icon = 'resources_fish',
effect = { 'green_+10%_Fishing Industry throughput' }
}
p['Mata Atlântica'] = {
icon = 'tropical_climate',
effect = { 'green_+15%_Sugar Plantation throughput' }
}
p['Mount Lebanon'] = {
icon = 'mountain',
effect = { { 'red', '−5%', ef.sConEf }, { 'red', '−5%', ef.infra }, 'green_+15%_Silk Plantations throughput' }
}
p['Murray–Darling Basin'] = {
icon = 'river',
effect = { 'green_+10%_Ranches throughput', 'green_+10%_Agriculture throughput', 'green_+10%_Plantations throughput' }
}
p['Nara Basin'] = {
icon = 'good_soils',
effect = { { 'green', '+10', ef.infra }, 'green_+10%_Rice Farms throughput' }
}
p['New Caledonian Nickel'] = {
icon = 'resources_ore',
effect = { 'green_+10%_Lead Mines throughput' }
}
p['Niagara Falls'] = {
icon = 'waterfall',
effect = { { 'green', '+20%', ef.el } }
}
p['Nile River'] = {
icon = 'river',
effect = { 'green_+20%_Agriculture throughput', 'green_+20%_Plantations throughput', { 'green', '+20', ef.infra } }
}
p['Northern California Coastal Forests'] = {
icon = 'resources_lumber',
effect = { 'green_+20%_Logging Industry throughput', { 'red', '−10%', ef.sConEf } }
}
p['Northern Canadian Terrain'] = {
icon = 'cold_climate',
effect = { 'red_−20%_Agriculture throughput', { 'red', '−20%', ef.sConEf }, { 'red', '−20%', ef.infra }, 'red_−50%_Migration attraction' }
}
p['Pampas'] = {
icon = 'resources_grazing',
effect = { 'green_+20%_Ranches throughput', 'green_+15%_Agriculture throughput', 'green_+15%_Plantations throughput' }
}
p['Pannonian Plain'] = {
icon = 'good_soils',
effect = { 'green_+10%_Agriculture throughput', 'green_+10%_Ranches throughput' }
}
p['Pantanal'] = {
icon = 'good_soils',
effect = { 'green_+15%_Agriculture throughput', 'green_+15%_Plantations throughput', { 'red', '−10%', ef.infra } }
}
p['Raniganj Coalfield'] = {
icon = 'resources_ore',
effect = { 'green_+15%_Coal Mines throughput' }
}
p['Recôncavo'] = {
icon = 'natural_harbors',
effect = { 'green_+15%_Tobacco Plantation throughput' }
}
p['Russian Taiga Forests'] = {
icon = 'resources_lumber',
effect = { 'green_+20%_Logging Industry throughput' }
}
p['Scandinavian Forests'] = p['Russian Taiga Forests']
p['Sandalwood Forestry'] = {
icon = 'resources_lumber',
effect = { { 'green', '+25%', ef.hw } }
}
p['Scanian Soils'] = {
icon = 'good_soils',
effect = { 'green_+15%_Agriculture throughput' }
}
p['Scottish Highlands'] = {
icon = 'mountain',
effect = { { 'red', '−10%', ef.sConEf }, { 'red', '−10%', ef.infra }, 'red_−10%_Agriculture throughput', 'green_+10%_Ranches throughput' }
}
p['Sertão'] = {
icon = 'dry_climate',
effect = { 'green_+10%_Ranches throughput', { 'red', '−5', ef.infra } }
}
p['Severe Malaria'] = {
icon = 'severe_malaria',
effect = { 'red_−95%_Colony growth speed in non-homeland states', 'red_+25%_Mortality in non-homeland states' }
}
p['Sicilian Sulfur Deposits'] = {
icon = 'resources_ore',
effect = { 'green_+20%_Sulfur Mines throughput' }
}
p['Sierra Nevada'] = {
icon = 'mountain',
effect = { { 'red', '−10%', ef.infra } }
}
p['Wasatch Range'] = p['Sierra Nevada']
p['Tasmanian Rainforest'] = {
icon = 'resources_lumber',
effect = { { 'green', '+20%', ef.hw }, { 'red', '−5', ef.infra } }
}
p['Terra Roxa'] = {
icon = 'good_soils',
effect = { 'green_+10%_Coffee Plantation throughput' }
}
p['Western Ghats'] = p['Terra Roxa']
p['Tihamah'] = {
icon = 'poor_soils',
effect = { 'red_−10%_Agriculture throughput', 'red_−10%_Plantations throughput', 'red_−3_Port max level', 'red_−15_Naval Base max level' }
}
p['Western Steppe'] = {
icon = 'great_plains',
effect = { 'green_+10%_Ranches throughput' }
}
return p