CIV5Traits

From Civilization Modding Wiki
Jump to: navigation, search

CIV5Traits.xml

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

Traits

  • CIV5UnitClasses contains the definitions of the UnitClasses referenced in this table.
  • CIV5Technologies contains the definitions of the Technologies referenced in this table.
Traits Table
Name Type Reference Default Notes
ID integer Primary Key,Autoincrement
Type text Not Null,Unique
Description text
ShortDescription text
LevelExperienceModifier integer 0
GreatPeopleRateModifier integer 0
GreatScientistRateModifier integer 0
GreatGeneralRateModifier integer 0
GreatGeneralExtraBonus integer 0
MaxGlobalBuildingProductionModifier integer 0
MaxTeamBuildingProductionModifier integer 0
MaxPlayerBuildingProductionModifier integer 0
CityUnhappinessModifier integer 0
PopulationUnhappinessModifier integer 0
CityStateBonusModifier integer 0
CityStateFriendshipModifier integer 0
CityStateCombatModifier integer 0
LandBarbarianConversionPercent integer 0
SeaBarbarianConversionPercent integer 0
CapitalBuildingModifier integer 0
PlotBuyCostModifier integer 0
PlotCultureCostModifier integer 0
CultureFromKills integer 0
CityCultureBonus integer 0
PolicyCostModifier integer 0
TradeRouteChange integer 0
WonderProductionModifier integer 0
PlunderModifier integer 0
GoldenAgeDurationModifier integer 0
GoldenAgeMoveChange integer 0
GoldenAgeCombatModifier integer 0
ExtraEmbarkMoves integer 0
FightWellDamaged boolean false
MoveFriendlyWoodsAsRoad boolean false
FasterAlongRiver boolean false
EmbarkedNotCivilian boolean false
FreeUnit text UnitClasses(Type) NULL
FreeUnitPrereqTech text Technologies(Type) NULL
ObsoleteTech text Technologies(Type) NULL

Trait_ExtraYieldThresholds

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Trait_ExtraYieldThresholds Table
Name Type Reference
TraitType text Traits(Type)
YieldType text Yields(Type)
Yield integer

Trait_YieldChanges

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Trait_YieldChanges Table
Name Type Reference
TraitType text Traits(Type)
YieldType text Yields(Type)
Yield integer

Trait_YieldChangesStrategicResources

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Trait_YieldChangesStrategicResources Table
Name Type Reference
TraitType text Traits(Type)
YieldType text Yields(Type)
Yield integer

Trait_YieldModifiers

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Trait_YieldModifiers Table
Name Type Reference
TraitType text Traits(Type)
YieldType text Yields(Type)
Yield integer

Trait_FreePromotions

  • CIV5UnitPromotions contains the definitions of the UnitPromotions referenced in this table.
Trait_FreePromotions Table
Name Type Reference
TraitType text Traits(Type)
PromotionType text UnitPromotions(Type)

Trait_FreePromotionUnitCombats

  • CIV5UnitCombatInfos contains the definitions of the UnitCombatInfos referenced in this table.
  • CIV5UnitPromotions contains the definitions of the UnitPromotions referenced in this table.
Trait_FreePromotionUnitCombats Table
Name Type Reference
TraitType text Traits(Type)
UnitCombatType text UnitCombatInfos(Type)
PromotionType text UnitPromotions(Type)

Trait_MovesChangeUnitCombats

Trait_MovesChangeUnitCombats Table
Name Type Reference
TraitType text Traits(Type)
UnitCombatType text UnitCombatInfos(Type)
MovesChange int

Trait_Terrains

Trait_Terrains Table
Name Type Reference Default
TraitType text Traits(Type)
TerrainType text
StrategicResourceQuantityModifier integer 0

Trait_ResourceQuantityModifiers

  • CIV5Resources contains the definitions of the Resources referenced in this table.
Trait_ResourceQuantityModifiers Table
Name Type Reference Default
TraitType text Traits(Type)
ResourceType text Resources(Type)
ResourceQuantityModifier integer 0


GlobalDefines

AI:

CIV5AICityStrategiesCIV5AIEconomicStrategiesCIV5AIGrandStrategiesCIV5AIMilitaryStrategiesCIV5CitySpecializationsCIV5TacticalMovesGlobalAIDefinesGlobalDiplomacyAIDefines

BasicInfos:

CIV5AttitudesCIV5CalendarsCIV5CitySizesCIV5ConceptsCIV5ContactsCIV5DenialInfosCIV5DomainsCIV5InvisibleInfosCIV5MajorCivApproachTypesCIV5MemoryInfosCIV5MinorCivApproachTypesCIV5MinorCivTraitsCIV5MonthsCIV5SeasonsCIV5UnitAIInfosCIV5UnitCombatInfos

Buildings; Civilizations; Diplomacy:

CIV5BuildingClassesCIV5BuildingsCIV5CivilizationsCIV5MinorCivilizationsCIV5RegionsCIV5TraitsCIV5Diplomacy_Responses

GameInfo:

CIV5ArtStyleTypesCIV5ClimatesCIV5CultureLevelsCIV5CursorsCIV5EmphasizeInfosCIV5ErasCIV5FlavorsCIV5GameOptionsCIV5GameSpeedsCIV5GoodyHutsCIV5HandicapInfosCIV5HurryInfosCIV5IconFontMappingCIV5IconTextureAtlasesCIV5MultiplayerOptionsCIV5PlayerOptionsCIV5PoliciesCIV5PolicyBranchTypesCIV5ProcessesCIV5ProjectsCIV5SeaLevelsCIV5SmallAwardsCIV5SpecialistsCIV5TradesCIV5TurnTimersCIV5VictoriesCIV5VotesCIV5VoteSourcesCIV5Worlds

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

CIV5ColorsCIV5InterfaceModesCIV5PlayerColorsCIV5LeaderTablesCIV5RoutesNotificationsText FilesCIV5TechnologiesCIV5FeaturesCIV5ImprovementsCIV5ResourceClassesCIV5ResourcesCIV5TerrainsCIV5Yields

Units:

CIV5AnimationCategoriesCIV5AnimationPathsCIV5AutomatesCIV5BuildsCIV5CommandsCIV5ControlsCIV5EntityEventsCIV5MissionsCIV5MultiUnitFormationsCIV5SpecialUnitsCIV5UnitClassesCIV5UnitMovementRatesCIV5UnitPromotionsCIV5Units