Fandom

Civilization

Module:Data/Civ5/Base/Trait Values

< Module:Data | Civ5/Base

6,894pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

 
local data ={
 
--Fields for the ExtraYieldThresholds table
--[Field]                              [Type]
--YieldType                            String
--Yield                                 Int64
ExtraYieldThresholds = {
TRAIT_FINANCIAL = {
{YieldType="YIELD_FOOD";
Yield=2;};
};
 
};
--Fields for the YieldChanges table
--[Field]                              [Type]
--YieldType                            String
--Yield                                 Int64
YieldChanges = {
TRAIT_FINANCIAL = {
{YieldType="YIELD_GOLD";
Yield=2;};
};
 
};
--Fields for the YieldChangesStrategicResources table
--[Field]                              [Type]
--YieldType                            String
--Yield                                 Int64
YieldChangesStrategicResources = {
TRAIT_STRATEGIC_RICHES = {
{YieldType="YIELD_PRODUCTION";
Yield=1;};
};
 
};
--Fields for the YieldModifiers table
--[Field]                              [Type]
--YieldType                            String
--Yield                                 Int64
YieldModifiers = {
};
--Fields for the FreePromotions table
--[Field]                              [Type]
--PromotionType                        String
FreePromotions = {
};
--Fields for the FreePromotionUnitCombats table
--[Field]                              [Type]
--UnitCombatType                       String
--PromotionType                        String
FreePromotionUnitCombats = {
TRAIT_OCEAN_MOVEMENT = {
{UnitCombatType="UNITCOMBAT_NAVAL";
PromotionType="PROMOTION_OCEAN_MOVEMENT";};
};
 
TRAIT_RIVER_EXPANSION = {
{UnitCombatType="UNITCOMBAT_MELEE";
PromotionType="PROMOTION_SENTRY";};
{UnitCombatType="UNITCOMBAT_ARCHER";
PromotionType="PROMOTION_SENTRY";};
{UnitCombatType="UNITCOMBAT_RECON";
PromotionType="PROMOTION_SENTRY";};
{UnitCombatType="UNITCOMBAT_MOUNTED";
PromotionType="PROMOTION_SENTRY";};
{UnitCombatType="UNITCOMBAT_SIEGE";
PromotionType="PROMOTION_SENTRY";};
{UnitCombatType="UNITCOMBAT_GUN";
PromotionType="PROMOTION_SENTRY";};
{UnitCombatType="UNITCOMBAT_ARMOR";
PromotionType="PROMOTION_SENTRY";};
};
 
TRAIT_VIKING_FURY = {
{UnitCombatType="UNITCOMBAT_MELEE";
PromotionType="PROMOTION_FREE_PILLAGE_MOVES";};
{UnitCombatType="UNITCOMBAT_MOUNTED";
PromotionType="PROMOTION_FREE_PILLAGE_MOVES";};
{UnitCombatType="UNITCOMBAT_RECON";
PromotionType="PROMOTION_FREE_PILLAGE_MOVES";};
{UnitCombatType="UNITCOMBAT_ARMOR";
PromotionType="PROMOTION_FREE_PILLAGE_MOVES";};
};
 
};
--Fields for the MovesChangeUnitCombats table
--[Field]                              [Type]
--UnitCombatType                       String
--MovesChange                           Int32
MovesChangeUnitCombats = {
TRAIT_TERROR = {
{UnitCombatType="UNITCOMBAT_MOUNTED";
MovesChange=1;};
};
 
};
--Fields for the Terrains table
--[Field]                              [Type]
--TerrainType                          String
--StrategicResourceQuantityModifier     Int64
Terrains = {
};
--Fields for the ResourceQuantityModifiers table
--[Field]                              [Type]
--ResourceType                         String
--ResourceQuantityModifier              Int64
ResourceQuantityModifiers = {
TRAIT_STRATEGIC_RICHES = {
{ResourceType="RESOURCE_HORSE";
ResourceQuantityModifier=100;};
{ResourceType="RESOURCE_IRON";
ResourceQuantityModifier=100;};
{ResourceType="RESOURCE_URANIUM";
ResourceQuantityModifier=100;};
};
 
TRAIT_LAND_TRADE_GOLD = {
{ResourceType="RESOURCE_OIL";
ResourceQuantityModifier=100;};
};
 
};
--Fields for the ImprovementYieldChanges table
--[Field]                              [Type]
--ImprovementType                      String
--YieldType                            String
--Yield                                 Int64
ImprovementYieldChanges = {
TRAIT_SCHOLARS_JADE_HALL = {
{ImprovementType="IMPROVEMENT_ACADEMY";
YieldType="YIELD_SCIENCE";
Yield=2;};
{ImprovementType="IMPROVEMENT_CUSTOMS_HOUSE";
YieldType="YIELD_SCIENCE";
Yield=2;};
{ImprovementType="IMPROVEMENT_MANUFACTORY";
YieldType="YIELD_SCIENCE";
Yield=2;};
{ImprovementType="IMPROVEMENT_CITADEL";
YieldType="YIELD_SCIENCE";
Yield=2;};
{ImprovementType="IMPROVEMENT_LANDMARK";
YieldType="YIELD_SCIENCE";
Yield=2;};
};
 
};
--Fields for the SpecialistYieldChanges table
--[Field]                              [Type]
--SpecialistType                       String
--YieldType                            String
--Yield                                 Int64
SpecialistYieldChanges = {
TRAIT_SCHOLARS_JADE_HALL = {
{SpecialistType="SPECIALIST_ARTIST";
YieldType="YIELD_SCIENCE";
Yield=2;};
{SpecialistType="SPECIALIST_SCIENTIST";
YieldType="YIELD_SCIENCE";
Yield=2;};
{SpecialistType="SPECIALIST_MERCHANT";
YieldType="YIELD_SCIENCE";
Yield=2;};
{SpecialistType="SPECIALIST_ENGINEER";
YieldType="YIELD_SCIENCE";
Yield=2;};
};
 
};
}
return data

Also on Fandom

Random Wiki