You would change Coffee to be Luxury like this:-
The bits in bold are what I changed from the original bit of code.
Also you should edit this entry in Resource_YieldChanges:-
If you wish it to produce more food, or you can change YieldType to YIELD_GOLD or any other yield(science, culture, faith, production), or you can add a new entry so that the resource will give two yields, copy the origninal entry(2nd bit of code above) and paste it in under the original, changing the YieldType to what you wish.
Code:
<Row>
<Type>RESOURCE_COFFEE</Type>
[B]<Happiness>4</Happiness>[/B]
<TechReveal>TECH_NAVIGATION</TechReveal>
<TechCityTrade>TECH_NAVIGATION</TechCityTrade>
<Description>TXT_KEY_RESOURCE_COFFEE</Description>
<Civilopedia>TXT_KEY_CIV5_RESOURCE_COFFEE_TEXT</Civilopedia>
<Help>TXT_KEY_RESOURCE_COFFEE_HELP</Help>
[B]<ResourceClassType>RESOURCECLASS_LUXURY</ResourceClassType>[/B]
<ArtDefineTag>ART_DEF_RESOURCE_COFFEE_BEANS</ArtDefineTag>
<PlacementOrder>4</PlacementOrder>
<ConstAppearance>50</ConstAppearance>
<MinAreaSize>3</MinAreaSize>
<MaxLatitude>90</MaxLatitude>
<RandApp1>25</RandApp1>
<RandApp2>25</RandApp2>
<Unique>1</Unique>
<TilesPer>5</TilesPer>
<Hills>true</Hills>
<Normalize>true</Normalize>
<IconString>[ICON_RES_COFFEE]</IconString>
<PortraitIndex>14</PortraitIndex>
<IconAtlas>NEW_RESOURCE_ATLAS</IconAtlas>
</Row>
Also you should edit this entry in Resource_YieldChanges:-
Code:
<Row>
<ResourceType>RESOURCE_COFFEE</ResourceType>
<YieldType>YIELD_FOOD</YieldType>
<Yield>1</Yield>
</Row>
If you wish it to produce more food, or you can change YieldType to YIELD_GOLD or any other yield(science, culture, faith, production), or you can add a new entry so that the resource will give two yields, copy the origninal entry(2nd bit of code above) and paste it in under the original, changing the YieldType to what you wish.