CIV5Resources

From Civilization Modding Wiki
Jump to navigationJump to search

civ5resources.xml

  • The civ5resources.xml file contains definitions for the Resources.
  • The reference field in the tables below indicates the table and column the entry is linked to.
  • This information is taken from the civ5resources.xml file itself.

Resources

Resources Table
Name Type Reference Default Notes
ID integer Primary Key,Autoincrement
Type text Not Null,Unique
Description text
Civilopedia text
Help text
ResourceClassType text
ArtDefineTag text
AltArtDefineTag text Art for marsh and water tiles
ArtDefineTagHeavy text Art that is used when there is a large quantity of resources
AltArtDefineTagHeavy text
TechReveal text NULL
TechCityTrade text NULL
TechObsolete text NULL
AIStopTradingEra text NULL
Happiness integer 0
WonderProductionMod integer 0
StartingResourceQuantity integer 0
AITradeModifier integer 0
AIObjective integer 0
PlacementOrder integer 0
ConstAppearance integer 0
MinAreaSize integer 0
MinLatitude integer 0
MaxLatitude integer 0
RandApp1 integer 0
RandApp2 integer 0
RandApp3 integer 0
RandApp4 integer 0
Player integer 0
TilesPer integer 0
MinLandPercent integer 0
Unique integer 0
GroupRange integer 0
GroupRand integer 0
ResourceUsage integer 0
PresentOnAllValidPlots boolean false
Area boolean false
Hills boolean false
Flatlands boolean false
NoRiverSide boolean false
Normalize boolean false
IconString text
PortraitIndex integer -1
IconAtlas text IconTextureAtlases(Atlas) NULL

Resource_YieldChanges

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Resource_YieldChanges Table
Name Type Reference Default
ResourceType text Resources(Type)
YieldType text Yields(Type)
Yield integer 0

Resource_Flavors

  • CIV5Flavors contains the definitions of the Flavors referenced in this table.
Resource_Flavors Table
Name Type Reference Default
ResourceType text Resources(Type)
FlavorType text Flavors(Type)
Flavor integer 0

Resource_TerrainBooleans

  • CIV5Terrains contains the definitions of the Terrains referenced in this table.
Resource_TerrainBooleans Table
Name Type Reference
ResourceType text Resources(Type)
TerrainType text Terrains(Type)

Resource_FeatureBooleans

  • CIV5Features contains the definitions of the Features referenced in this table.
Resource_FeatureBooleans Table
Name Type Reference
ResourceType text Resources(Type)
FeatureType text Features(Type)

Resource_FeatureTerrainBooleans

  • CIV5Terrains contains the definitions of the Terrains referenced in this table.
Resource_FeatureTerrainBooleans Table
Name Type Reference
ResourceType text Resources(Type)
TerrainType text Terrains(Type)

Resource_QuantityTypes

Resource_QuantityTypes Table
Name Type Reference Notes
ResourceType text Resources(Type)
Quantity integer Not Null


GlobalDefines

AI:

CIV5AICityStrategiesCIV5AIEconomicStrategiesCIV5AIGrandStrategiesCIV5AIMilitaryStrategiesCIV5CitySpecializationsCIV5TacticalMovesGlobalAIDefinesGlobalDiplomacyAIDefines

BasicInfos:

CIV5AttitudesCIV5CalendarsCIV5CitySizesCIV5ConceptsCIV5ContactsCIV5DenialInfosCIV5DomainsCIV5InvisibleInfosCIV5MajorCivApproachTypesCIV5MemoryInfosCIV5MinorCivApproachTypesCIV5MinorCivTraitsCIV5MonthsCIV5SeasonsCIV5UnitAIInfosCIV5UnitCombatInfos

Buildings; Civilizations; Diplomacy:

CIV5BuildingClassesCIV5BuildingsCIV5CivilizationsCIV5MinorCivilizationsCIV5RegionsCIV5TraitsCIV5Diplomacy_Responses

GameInfo:

CIV5ArtStyleTypesCIV5ClimatesCIV5CultureLevelsCIV5CursorsCIV5EmphasizeInfosCIV5ErasCIV5FlavorsCIV5GameOptionsCIV5GameSpeedsCIV5GoodyHutsCIV5HandicapInfosCIV5HurryInfosCIV5IconFontMappingCIV5IconTextureAtlasesCIV5MultiplayerOptionsCIV5PlayerOptionsCIV5PoliciesCIV5PolicyBranchTypesCIV5ProcessesCIV5ProjectsCIV5SeaLevelsCIV5SmallAwardsCIV5SpecialistsCIV5TradesCIV5TurnTimersCIV5VictoriesCIV5VotesCIV5VoteSourcesCIV5Worlds

Interface; Leaders; Misc; NewText; Technologies; Terrain:

CIV5ColorsCIV5InterfaceModesCIV5PlayerColorsCIV5LeaderTablesCIV5RoutesNotificationsText FilesCIV5TechnologiesCIV5FeaturesCIV5ImprovementsCIV5ResourceClassesCIV5ResourcesCIV5TerrainsCIV5Yields

Units:

CIV5AnimationCategoriesCIV5AnimationPathsCIV5AutomatesCIV5BuildsCIV5CommandsCIV5ControlsCIV5EntityEventsCIV5MissionsCIV5MultiUnitFormationsCIV5SpecialUnitsCIV5UnitClassesCIV5UnitMovementRatesCIV5UnitPromotionsCIV5Units