CIV5Policies

From Civilization Modding Wiki
Revision as of 01:45, 3 October 2011 by Deanej (talk | contribs) (Unprotected "CIV5Policies")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

CIV5Policies.xml

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

Policies

Policies Table
Name Type Reference Default Notes
ID integer Primary Key,Autoincrement
Type text Not Null,Unique
Description text Language_en_US(Tag) write a bug on this
Civilopedia text Language_en_US(Tag)
Strategy text Language_en_US(Tag)
Help text Language_en_US(Tag)
PolicyBranchType text PolicyBranchTypes(Type) NULL
NumExtraBranches integer 0
CultureCost integer 0
GridX integer 0
GridY integer 0
PolicyCostModifier integer 0
CulturePerCity integer 0
CulturePerWonder integer 0
CultureWonderMultiplier integer 0
CulturePerTechResearched integer 0
AttackBonusTurns integer 0
GoldenAgeTurns integer 0
GoldenAgeMeterMod integer 0
NumFreeTechs integer 0
NumFreePolicies integer 0
StrategicResourceMod integer 0
ReligionProductionModifier integer 0
WonderProductionModifier integer 0
BuildingProductionModifier integer 0
GreatPeopleRateModifier integer 0
GreatGeneralRateModifier integer 0
DomesticGreatGeneralRateModifier integer 0
ExtraHappiness integer 0
ExtraHappinessPerCity integer 0
UnhappinessMod integer 0
CityCountUnhappinessMod integer 0
OccupiedPopulationUnhappinessMod integer 0
CapitalUnhappinessMod integer 0
FreeExperience integer 0
WorkerSpeedModifier integer 0
AllFeatureProduction integer 0
ImprovementCostModifier integer 0
ImprovementUpgradeRateModifier integer 0
SpecialistProductionModifier integer 0
SpecialistUpgradeModifier integer 0
MilitaryProductionModifier integer 0
BaseFreeUnits integer 0
BaseFreeMilitaryUnits integer 0
FreeUnitsPopulationPercent integer 0
FreeMilitaryUnitsPopulationPercent integer 0
HappinessPerGarrisonedUnit integer 0
HappinessPerTradeRoute integer 0
ExtraHappinessPerLuxury integer 0
UnhappinessFromUnitsMod integer 0
NumExtraBuilders integer 0
PlotGoldCostMod integer 0
PlotCultureCostModifier integer 0
UnitPurchaseCostModifier integer 0
TradeRouteGoldModifier integer 0
GoldPerUnit integer 0
GoldPerMilitaryUnit integer 0
RouteGoldMaintenanceMod integer 0
BuildingGoldMaintenanceMod integer 0
UnitGoldMaintenanceMod integer 0
UnitSupplyMod integer 0
UnitUpgradeCostMod integer 0
CityStrengthMod integer 0
CityGrowthMod integer 0
CapitalGrowthMod integer 0
SettlerProductionModifier integer 0
NewCityExtraPopulation integer 0
FreeFoodBox integer 0
HappyPerMilitaryUnit integer 0
MilitaryFoodProduction boolean false
HappinessToCulture integer 0
HappinessToScience integer 0
HalfSpecialistUnhappiness boolean false
HalfSpecialistFood boolean false
MaxConscript integer 0
UnitSightRangeChange integer 0
WoundedUnitDamageMod integer 0
BarbarianCombatBonus integer 0
AlwaysSeeBarbCamps boolean false
RevealAllCapitals boolean false
FreeSpecialist integer 0
ExpModifier integer 0
ExpInBorderModifier integer 0
MinorQuestFriendshipMod integer 0
MinorGoldFriendshipMod integer 0
MinorFriendshipMinimum integer 0
MinorFriendshipDecayMod integer 0
OtherPlayersMinorFriendshipDecayMod integer 0
MinorGreatPeopleAllies boolean false
MinorScienceAllies boolean false
MinorResourceBonus boolean false
OneShot boolean false
WeLoveTheKing text NULL
TechPrereq text Technologies(Type) NULL
PortraitIndex integer 0
IconAtlas text IconTextureAtlases(Atlas) NULL
IconAtlasAchieved text IconTextureAtlases(Atlas) NULL

Policy_CityYieldChanges

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Policy_CityYieldChanges Table
Name Type Reference Notes
PolicyType text Policies(Type)
YieldType text Yields(Type)
Yield integer Not Null

Policy_CoastalCityYieldChanges

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Policy_CoastalCityYieldChanges Table
Name Type Reference Notes
PolicyType text Policies(Type)
YieldType text Yields(Type)
Yield integer Not Null

Policy_CapitalYieldChanges

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Policy_CapitalYieldChanges Table
Name Type Reference Notes
PolicyType text Policies(Type)
YieldType text Yields(Type)
Yield integer Not Null

Policy_CapitalYieldModifiers

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Policy_CapitalYieldModifiers Table
Name Type Reference Notes
PolicyType text Policies(Type)
YieldType text Yields(Type)
Yield integer Not Null

Policy_Disables

Policy_Disables Table
Name Type Reference
PolicyType text Policies(Type)
PolicyDisable text Policies(Type)

Policy_Flavors

  • CIV5Flavors contains the definitions of the Flavors referenced in this table.
Policy_Flavors Table
Name Type Reference Notes
PolicyType text Policies(Type)
FlavorType text Flavors(Type)
Flavor integer Not Null

Policy_HurryModifiers

  • CIV5HurryInfos contains the definitions of the HurryInfos referenced in this table.
Policy_HurryModifiers Table
Name Type Reference
PolicyType text Policies(Type)
HurryType text HurryInfos(Type)
HurryCostModifier integer

Policy_PrereqPolicies

Policy_PrereqPolicies Table
Name Type Reference
PolicyType text Policies(Type)
PrereqPolicy text Policies(Type)

Policy_PrereqORPolicies

Policy_PrereqORPolicies Table
Name Type Reference
PolicyType text Policies(Type)
PrereqPolicy text Policies(Type)

Policy_SpecialistExtraYields

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Policy_SpecialistExtraYields Table
Name Type Reference Notes
PolicyType text Policies(Type)
YieldType text Yields(Type)
Yield integer Not Null

Policy_BuildingClassYieldModifiers

  • CIV5BuildingClasses contains the definitions of the BuildingClasses referenced in this table.
  • CIV5Yields contains the definitions of the Yields referenced in this table.
Policy_BuildingClassYieldModifiers Table
Name Type Reference
PolicyType text Policies(Type)
BuildingClassType text BuildingClasses(Type)
YieldType text Yields(Type)
YieldMod integer

Policy_BuildingClassCultureChanges

Policy_BuildingClassCultureChanges Table
Name Type Reference
PolicyType text Policies(Type)
BuildingClassType text BuildingClasses(Type)
CultureChange integer

Policy_BuildingClassHappiness

Policy_BuildingClassHappiness Table
Name Type Reference
PolicyType text Policies(Type)
BuildingClassType text BuildingClasses(Type)
Happiness integer

Policy_ImprovementYieldChanges

  • CIV5Improvements contains the definitions of the Improvements referenced in this table.
  • CIV5Yields contains the definitions of the Yields referenced in this table.
Policy_ImprovementYieldChanges Table
Name Type Reference
PolicyType text Policies(Type)
ImprovementType text Improvements(Type)
YieldType text Yields(Type)
Yield integer

Policy_ValidSpecialists

  • CIV5Specialists contains the definitions of the Specialists referenced in this table.
Policy_ValidSpecialists Table
Name Type Reference
PolicyType text Policies(Type)
SpecialistType text Specialists(Type)

Policy_YieldModifiers

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Policy_YieldModifiers Table
Name Type Reference Notes
PolicyType text Policies(Type)
YieldType text Yields(Type)
Yield integer Not Null

Policy_FreePromotions

  • CIV5UnitPromotions contains the definitions of the UnitPromotions referenced in this table.
Policy_FreePromotions Table
Name Type Reference
PolicyType text Policies(Type)
PromotionType text UnitPromotions(Type)

Policy_UnitCombatFreeExperiences

Policy_UnitCombatFreeExperiences Table
Name Type Reference
PolicyType text Policies(Type)
UnitCombatType text UnitCombatInfos(Type)
FreeExperience integer

Policy_FreePromotionUnitCombats

  • CIV5UnitCombatInfos contains the definitions of the UnitCombatInfos referenced in this table.
  • CIV5UnitPromotions contains the definitions of the UnitPromotions referenced in this table.
Policy_FreePromotionUnitCombats Table
Name Type Reference
PolicyType text Policies(Type)
UnitCombatType text UnitCombatInfos(Type)
PromotionType text UnitPromotions(Type)

Policy_UnitCombatProductionModifiers

Policy_UnitCombatProductionModifiers Table
Name Type Reference
PolicyType text Policies(Type)
UnitCombatType text UnitCombatInfos(Type)
ProductionModifier integer

Policy_FreeUnitClasses

  • CIV5UnitClasses contains the definitions of the UnitClasses referenced in this table.
Policy_FreeUnitClasses Table
Name Type Reference Notes
PolicyType text Policies(Type)
UnitClassType text UnitClasses(Type)
Count 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