CIV5Technologies

From Civilization Modding Wiki
Revision as of 16:03, 27 September 2010 by Chronovore (talk | contribs) (Added table data structures.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The Civ5Technologies.xml file contains definitions for the technologies. The tables below indicate the structure of the entries in the Civ5Technologies file.

This file defines data for the Technology, Technology_PrereqTechs, and Technology_Flavors tables.

The reference field in the tables below indicates the table and column the entry is linked to.

This information is taken from the Civ5Technologies.xml file itself.

Technology Table
Name Type Default Reference Notes
ID integer Primary Key, Auto-Incremented
Type Text
Description Text NULL
Civilopedia Text NULL
Help Text NULL
AIWeight integer 0
AITradeModifier integer 0
Cost integer 0
AdvancedStartCost integer -1
Era Text NULL
FirstFreeUnitClass Text NULL
FeatureProductionModifier integer 0
WorkerSpeedModifier integer 0
FirstFreeTechs integer 0
EmbarkedMoveChange integer 0
EndsGame boolean FALSE
AllowsEmbarking boolean FALSE
EmbarkedAllWaterPassage boolean FALSE
AllowsBarbarianBoats boolean FALSE
Repeat boolean FALSE
Trade boolean FALSE
Disable boolean FALSE
GoodyTech boolean FALSE
ExtraWaterSeeFrom boolean FALSE
MapCentering boolean FALSE
MapVisible boolean FALSE
MapTrading boolean FALSE
TechTrading boolean FALSE
GoldTrading boolean FALSE
OpenBordersTradingAllowed boolean FALSE
DefensivePactTradingAllowed boolean FALSE
ResearchAgreementTradingAllowed boolean FALSE
TradeAgreementTradingAllowed boolean FALSE
PermanentAllianceTradingAllowed boolean FALSE
BridgeBuilding boolean FALSE
WaterWork boolean FALSE
GridX integer 0
GridY integer 0
Quote Text NULL
PortraitIndex integer -1
IconAtlas Text NULL IconTextureAtlases(Atlas)
AudioIntro Text NULL
AudioIntroHeader Text NULL
Technology_DomainExtraMoves Table
Name Type Reference
TechType Text Technologies(Type)
DomainType Text Domains(Type)
Moves Integer
Technology_Flavors Table
Name Type Reference
TechType Text Technologies(Type)
FlavorType Text Flavors(Type)
Flavor Integer
Technology_ORPrereqTechs Table
Name Type Reference
TechType Text Technologies(Type)
PrereqTech Text Technologies(Type)
Technology_PrereqTechs Table
Name Type Reference
TechType Text Technologies(Type)
PrereqTech Text Technologies(Type)