CIV5Buildings: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
m (→‎Building_FreeSpecialistCounts: - note about functionality)
 
(3 intermediate revisions by 2 users not shown)
Line 34: Line 34:
| Quote || text|| Language_en_US(Tag)|| ||  
| Quote || text|| Language_en_US(Tag)|| ||  
|-
|-
| GoldMaintenance || integer|| || 0||  
| GoldMaintenance || integer|| || 0|| The ammout of gold the building deducts from your income each turn
|-
|-
| MutuallyExclusiveGroup || integer|| || -1||  
| MutuallyExclusiveGroup || integer|| || -1||  
Line 42: Line 42:
| Water || boolean|| || false||  
| Water || boolean|| || false||  
|-
|-
| River || boolean|| || false||  
| River || boolean|| || false|| Requires that the city be built next to a river
|-
|-
| FreshWater || boolean|| || false||  
| FreshWater || boolean|| || false|| Requires that the city be built next to a river or fresh water lake
|-
|-
| Mountain || boolean|| || false||  
| Mountain || boolean|| || false|| Requires that the city be built next to a mountain
|-
|-
| NearbyMountainRequired || boolean|| || false||  
| NearbyMountainRequired || boolean|| || false|| Requires that a mountain be within the city's borders
|-
|-
| Hill || boolean|| || false||  
| Hill || boolean|| || false|| Requires that the city be built on a hill
|-
|-
| Flat || boolean|| || false||  
| Flat || boolean|| || false|| Requires that the city not be built on a hill
|-
|-
| FoundsReligion || boolean|| || false||  
| FoundsReligion || boolean|| || false||  
Line 58: Line 58:
| IsReligious || boolean|| || false||  
| IsReligious || boolean|| || false||  
|-
|-
| BorderObstacle || boolean|| || false||  
| BorderObstacle || boolean|| || false|| The owner's territory costs 1 more movement point for enemy units (global effect)
|-
|-
| Capital || boolean|| || false||  
| Capital || boolean|| || false|| The Building can only be built in the capital if True
|-
|-
| GoldenAge || boolean|| || false||  
| GoldenAge || boolean|| || false||  
Line 70: Line 70:
| NukeImmune || boolean|| || false||  
| NukeImmune || boolean|| || false||  
|-
|-
| AllowsWaterRoutes || boolean|| || false||  
| AllowsWaterRoutes || boolean|| || false|| Allows trade routes over water
|-
|-
| ExtraLuxuries || boolean|| || false||  
| ExtraLuxuries || boolean|| || false||  
Line 172: Line 172:
| ArtDefineTag || text|| || NULL||  
| ArtDefineTag || text|| || NULL||  
|-
|-
| NearbyTerrainRequired || text|| Terrains(Type)|| NULL||  
| NearbyTerrainRequired || text|| Terrains(Type)|| NULL|| The specified terrain must exist within the city's borders
|-
|-
| VictoryPrereq || text|| Victories(Type)|| NULL||  
| VictoryPrereq || text|| Victories(Type)|| NULL||  
Line 198: Line 198:
| SpecialistCount || integer|| || 0||  
| SpecialistCount || integer|| || 0||  
|-
|-
| SpecialistExtraCulture || integer|| || 0||  
| SpecialistExtraCulture || integer|| || 0|| |Attention: Seems to be broken in 1.0.1.141, see [http://forums.civfanatics.com/showthread.php?t=404816| here]
|-
|-
| GreatPeopleRateChange || integer|| || 0||  
| GreatPeopleRateChange || integer|| || 0||  
Line 222: Line 222:
| ArtInfoRandomVariation || boolean|| || false||  
| ArtInfoRandomVariation || boolean|| || false||  
|}
|}
==Building_AreaYieldModifiers==
==Building_AreaYieldModifiers==
*[[CIV5Yields]] contains the definitions of the Yields referenced in this table.
*[[CIV5Yields]] contains the definitions of the Yields referenced in this table.

Latest revision as of 13:02, 29 May 2011

Civ5buildings.xml

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

Buildings

  • CIV5BuildingClasses contains the definitions of the BuildingClasses referenced in this table.
  • CIV5Terrains contains the definitions of the Terrains referenced in this table.
  • CIV5Victories contains the definitions of the Victories referenced in this table.
  • CIV5Eras contains the definitions of the Eras referenced in this table.
  • CIV5Technologies contains the definitions of the Technologies referenced in this table.
  • CIV5UnitPromotions contains the definitions of the UnitPromotions referenced in this table.
  • CIV5Specialists contains the definitions of the Specialists referenced in this table.
  • CIV5IconTextureAtlases contains the definitions of the IconTextureAtlases referenced in this table.
Buildings Table
Name Type Reference Default Notes
ID integer Primary Key,Autoincrement
Type text Not Null,Unique
Description text Language_en_US(Tag)
Civilopedia text Language_en_US(Tag)
Strategy text Language_en_US(Tag)
Help text Language_en_US(Tag)
Quote text Language_en_US(Tag)
GoldMaintenance integer 0 The ammout of gold the building deducts from your income each turn
MutuallyExclusiveGroup integer -1
TeamShare boolean false
Water boolean false
River boolean false Requires that the city be built next to a river
FreshWater boolean false Requires that the city be built next to a river or fresh water lake
Mountain boolean false Requires that the city be built next to a mountain
NearbyMountainRequired boolean false Requires that a mountain be within the city's borders
Hill boolean false Requires that the city be built on a hill
Flat boolean false Requires that the city not be built on a hill
FoundsReligion boolean false
IsReligious boolean false
BorderObstacle boolean false The owner's territory costs 1 more movement point for enemy units (global effect)
Capital boolean false The Building can only be built in the capital if True
GoldenAge boolean false
MapCentering boolean false
NeverCapture boolean false
NukeImmune boolean false
AllowsWaterRoutes boolean false Allows trade routes over water
ExtraLuxuries boolean false
DiplomaticVoting boolean false
Cost integer 0
NumCityCostMod integer 0
HurryCostModifier integer 0
MinAreaSize integer 0
ConquestProb integer 0
CitiesPrereq integer 0
LevelPrereq integer 0
Culture integer 0
CultureRateModifier integer 0
GlobalCultureRateModifier integer 0
GreatPeopleRateModifier integer 0
GlobalGreatPeopleRateModifier integer 0
GreatGeneralRateModifier integer 0
GoldenAgeModifier integer 0
UnitUpgradeCostMod integer 0
Experience integer 0
GlobalExperience integer 0
FoodKept integer 0
Airlift integer 0
AirModifier integer 0
NukeModifier integer 0
NukeExplosionRand integer 0
HealRateChange integer 0
Happiness integer 0
HappinessPerCity integer 0
CityCountUnhappinessMod integer 0
NoOccupiedUnhappiness boolean false
WorkerSpeedModifier integer 0
MilitaryProductionModifier integer 0
SpaceProductionModifier integer 0
BuildingProductionModifier integer 0
WonderProductionModifier integer 0
TradeRouteModifier integer 0
CapturePlunderModifier integer 0
PolicyCostModifier integer 0
PlotCultureCostModifier integer 0
GlobalPopulationChange integer 0
TechShare integer 0
FreeTechs integer 0
FreePolicies integer 0
Gold integer 0
AllowsRangeStrike boolean false
Defense integer 0
GlobalDefenseMod integer 0
MinorFriendshipChange integer 0
VictoryPoints integer 0
BuildingClass text BuildingClasses(Type) NULL
ArtDefineTag text NULL
NearbyTerrainRequired text Terrains(Type) NULL The specified terrain must exist within the city's borders
VictoryPrereq text Victories(Type) NULL
FreeStartEra text Eras(Type) NULL
MaxStartEra text Eras(Type) NULL
ObsoleteTech text Technologies(Type) NULL
EnhancedYieldTech text Technologies(Type) NULL
FreeBuilding text BuildingClasses(Type) NULL
FreePromotion text UnitPromotions(Type) NULL
TrainedFreePromotion text UnitPromotions(Type) NULL
ReplacementBuildingClass text BuildingClasses(Type) NULL
PrereqTech text Technologies(Type) NULL
SpecialistType text Specialists(Type) NULL
SpecialistCount integer 0
SpecialistExtraCulture integer 0 Attention: Seems to be broken in 1.0.1.141, see here
GreatPeopleRateChange integer 0
CityWall boolean false
DisplayPosition integer 0
PortraitIndex integer -1
WonderSplashImage text NULL
WonderSplashAnchor text R,T
WonderSplashAudio text
IconAtlas text IconTextureAtlases(Atlas) NULL
ArtInfoCulturalVariation boolean false
ArtInfoEraVariation boolean false
ArtInfoRandomVariation boolean false

Building_AreaYieldModifiers

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_AreaYieldModifiers Table
Name Type Reference
BuildingType text Buildings(Type)
YieldType text Yields(Type)
Yield integer

Building_ClassesNeededInCity

Building_ClassesNeededInCity Table
Name Type Reference
BuildingType text Buildings(Type)
BuildingClassType text BuildingClasses(Type)

Building_FreeUnits

  • CIV5Units contains the definitions of the Units referenced in this table.
Building_FreeUnits Table
Name Type Reference
BuildingType text Buildings(Type)
UnitType text Units(Type)
NumUnits integer

Building_DomainFreeExperiences

  • CIV5Domains contains the definitions of the Domains referenced in this table.
Building_DomainFreeExperiences Table
Name Type Reference
BuildingType text Buildings(Type)
DomainType text Domains(Type)
Experience integer

Building_DomainProductionModifiers

  • CIV5Domains contains the definitions of the Domains referenced in this table.
Building_DomainProductionModifiers Table
Name Type Reference
BuildingType text Buildings(Type)
DomainType text Domains(Type)
Modifier integer

Building_FreeSpecialistCounts

  • CIV5Specialists contains the definitions of the Specialists referenced in this table. Attention: Seems to be not functional in 1.0.1.141, see here
Building_FreeSpecialistCounts Table
Name Type Reference
BuildingType text Buildings(Type)
SpecialistType text Specialists(Type)
Count integer

Building_Flavors

  • CIV5Flavors contains the definitions of the Flavors referenced in this table.
Building_Flavors Table
Name Type Reference
BuildingType text Buildings(Type)
FlavorType text Flavors(Type)
Flavor integer

Building_GlobalYieldModifiers

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_GlobalYieldModifiers Table
Name Type Reference
BuildingType text Buildings(Type)
YieldType text Yields(Type)
Yield integer

Building_HurryModifiers

  • CIV5HurryInfos contains the definitions of the HurryInfos referenced in this table.
Building_HurryModifiers Table
Name Type Reference
BuildingType text Buildings(Type)
HurryType text HurryInfos(Type)
HurryCostModifier integer

Building_LocalResourceAnds

  • CIV5Resources contains the definitions of the Resources referenced in this table.
Building_LocalResourceAnds Table
Name Type Reference
BuildingType text Buildings(Type)
ResourceType text Resources(Type)

Building_LocalResourceOrs

  • CIV5Resources contains the definitions of the Resources referenced in this table.
Building_LocalResourceOrs Table
Name Type Reference
BuildingType text Buildings(Type)
ResourceType text Resources(Type)

Building_LockedBuildingClasses

Building_LockedBuildingClasses Table
Name Type Reference
BuildingType text Buildings(Type)
BuildingClassType text BuildingClasses(Type)

Building_PrereqBuildingClasses

Building_PrereqBuildingClasses Table
Name Type Reference
BuildingType text Buildings(Type)
BuildingClassType text BuildingClasses(Type)
NumBuildingNeeded integer

Building_ResourceQuantityRequirements

  • CIV5Resources contains the definitions of the Resources referenced in this table.
Building_ResourceQuantityRequirements Table
Name Type Reference
BuildingType text Buildings(Type)
ResourceType text Resources(Type)
Cost integer

Building_ResourceYieldModifiers

  • CIV5Resources contains the definitions of the Resources referenced in this table.
  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_ResourceYieldModifiers Table
Name Type Reference
BuildingType text Buildings(Type)
ResourceType text Resources(Type)
YieldType text Yields(Type)
Yield integer

Building_ResourceCultureChanges

  • CIV5Resources contains the definitions of the Resources referenced in this table.
Building_ResourceCultureChanges Table
Name Type Reference
BuildingType text Buildings(Type)
ResourceType text Resources(Type)
CultureChange integer

Building_RiverPlotYieldChanges

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_RiverPlotYieldChanges Table
Name Type Reference
BuildingType text Buildings(Type)
YieldType text Yields(Type)
Yield integer

Building_SeaPlotYieldChanges

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_SeaPlotYieldChanges Table
Name Type Reference
BuildingType text Buildings(Type)
YieldType text Yields(Type)
Yield integer

Building_LakePlotYieldChanges

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_LakePlotYieldChanges Table
Name Type Reference
BuildingType text Buildings(Type)
YieldType text Yields(Type)
Yield integer

Building_SeaResourceYieldChanges

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_SeaResourceYieldChanges Table
Name Type Reference
BuildingType text Buildings(Type)
YieldType text Yields(Type)
Yield integer

Building_ResourceYieldChanges

  • CIV5Resources contains the definitions of the Resources referenced in this table.
  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_ResourceYieldChanges Table
Name Type Reference
BuildingType text Buildings(Type)
ResourceType text Resources(Type)
YieldType text Yields(Type)
Yield integer

Building_FeatureYieldChanges

  • CIV5Features contains the definitions of the Features referenced in this table.
  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_FeatureYieldChanges Table
Name Type Reference
BuildingType text Buildings(Type)
FeatureType text Features(Type)
YieldType text Yields(Type)
Yield integer

Building_SpecialistYieldChanges

  • CIV5Specialists contains the definitions of the Specialists referenced in this table.
  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_SpecialistYieldChanges Table
Name Type Reference
BuildingType text Buildings(Type)
SpecialistType text Specialists(Type)
YieldType text Yields(Type)
Yield integer

Building_UnitCombatFreeExperiences

Building_UnitCombatFreeExperiences Table
Name Type Reference
BuildingType text Buildings(Type)
UnitCombatType text UnitCombatInfos(Type)
Experience integer

Building_UnitCombatProductionModifiers

Building_UnitCombatProductionModifiers Table
Name Type Reference
BuildingType text Buildings(Type)
UnitCombatType text UnitCombatInfos(Type)
Modifier integer

Building_TechAndPrereqs

  • CIV5Technologies contains the definitions of the Technologies referenced in this table.
Building_TechAndPrereqs Table
Name Type Reference
BuildingType text Buildings(Type)
TechType text Technologies(Type)

Building_YieldChanges

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_YieldChanges Table
Name Type Reference
BuildingType text Buildings(Type)
YieldType text Yields(Type)
Yield integer

Building_YieldChangesPerPop

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_YieldChangesPerPop Table
Name Type Reference
BuildingType text Buildings(Type)
YieldType text Yields(Type)
Yield integer

Building_TechEnhancedYieldChanges

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_TechEnhancedYieldChanges Table
Name Type Reference
BuildingType text Buildings(Type)
YieldType text Yields(Type)
Yield integer

Building_YieldModifiers

  • CIV5Yields contains the definitions of the Yields referenced in this table.
Building_YieldModifiers Table
Name Type Reference
BuildingType text Buildings(Type)
YieldType text Yields(Type)
Yield integer


GlobalDefines

AI:

CIV5AICityStrategiesCIV5AIEconomicStrategiesCIV5AIGrandStrategiesCIV5AIMilitaryStrategiesCIV5CitySpecializationsCIV5TacticalMovesGlobalAIDefinesGlobalDiplomacyAIDefines

BasicInfos:

CIV5AttitudesCIV5CalendarsCIV5CitySizesCIV5ConceptsCIV5ContactsCIV5DenialInfosCIV5DomainsCIV5InvisibleInfosCIV5MajorCivApproachTypesCIV5MemoryInfosCIV5MinorCivApproachTypesCIV5MinorCivTraitsCIV5MonthsCIV5SeasonsCIV5UnitAIInfosCIV5UnitCombatInfos

Buildings; Civilizations; Diplomacy:

CIV5BuildingClassesCIV5BuildingsCIV5CivilizationsCIV5MinorCivilizationsCIV5RegionsCIV5TraitsCIV5Diplomacy_Responses

GameInfo:

CIV5ArtStyleTypesCIV5ClimatesCIV5CultureLevelsCIV5CursorsCIV5EmphasizeInfosCIV5ErasCIV5FlavorsCIV5GameOptionsCIV5GameSpeedsCIV5GoodyHutsCIV5HandicapInfosCIV5HurryInfosCIV5IconFontMappingCIV5IconTextureAtlasesCIV5MultiplayerOptionsCIV5PlayerOptionsCIV5PoliciesCIV5PolicyBranchTypesCIV5ProcessesCIV5ProjectsCIV5SeaLevelsCIV5SmallAwardsCIV5SpecialistsCIV5TradesCIV5TurnTimersCIV5VictoriesCIV5VotesCIV5VoteSourcesCIV5Worlds

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

CIV5ColorsCIV5InterfaceModesCIV5PlayerColorsCIV5LeaderTablesCIV5RoutesNotificationsText FilesCIV5TechnologiesCIV5FeaturesCIV5ImprovementsCIV5ResourceClassesCIV5ResourcesCIV5TerrainsCIV5Yields

Units:

CIV5AnimationCategoriesCIV5AnimationPathsCIV5AutomatesCIV5BuildsCIV5CommandsCIV5ControlsCIV5EntityEventsCIV5MissionsCIV5MultiUnitFormationsCIV5SpecialUnitsCIV5UnitClassesCIV5UnitMovementRatesCIV5UnitPromotionsCIV5Units