The Civ4ProcessInfo file defines what commerce types can be created from production in a city (by default, 100% of production to wealth, research, and culture). This can also be used to create an option to have a city build nothing (by setting all of the commerce types so that no production is applied to them).
All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes inside a "list tag", then it should just be the opening tag with a "/" before the closing bracket. The following tables contain all available tags, as well as their purpose and accepted values.
These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.
|ProcessInfos||This tag surrounds all entries in the file|
|ProcessInfo||Main bracket for each entry|
All List tags consist of an opening/closing tag, which is shown here, and then each entry within it is another tag with the same name as the parent tag, minus the "s" (i.e. singular, rather than plural).
|ProductionToCommerceModifiers||The percent of the city's production applied to each commerce type; top is gold, then research, then culture, then espionage
In the following example of code, please note that there is a specific order of all of the tags. You must list the tags in this order for the game to properly interpret your file.
<ProcessInfo> <Type>PROCESS_WEALTH</Type> <Description>TXT_KEY_PROCESS_WEALTH</Description> <Strategy>TXT_KEY_PROCESS_WEALTH_STRATEGY</Strategy> <TechPrereq>TECH_CURRENCY</TechPrereq> <ProductionToCommerceModifiers> <iProductionToCommerceModifier>100</iProductionToCommerceModifier> <iProductionToCommerceModifier>0</iProductionToCommerceModifier> <iProductionToCommerceModifier>0</iProductionToCommerceModifier> </ProductionToCommerceModifiers> <Button>Art/Interface/Buttons/Process/ProcessWealth.dds</Button> </ProcessInfo>