-
Notifications
You must be signed in to change notification settings - Fork 0
modifiers Effect Types
This document lists the available effect types for modifiers in Civilization VII.
Adjusts a city's yield output.
| Argument | Type | Description |
|---|---|---|
YieldType |
TEXT |
YIELD_FOOD, YIELD_PRODUCTION, etc. |
Amount |
INTEGER | Flat bonus |
Percent |
INTEGER | Percentage bonus |
Tooltip |
TEXT | Tooltip localization key |
<Modifier id="EXAMPLE" collection="COLLECTION_PLAYER_CITIES" effect="EFFECT_CITY_ADJUST_YIELD">
<Argument name="YieldType">YIELD_FOOD</Argument>
<Argument name="Amount">2</Argument>
</Modifier>Adjusts yield from a specific plot.
| Argument | Type | Description |
|---|---|---|
YieldType |
TEXT | Yield type |
Amount |
INTEGER | Flat bonus |
<Modifier id="EXAMPLE" collection="COLLECTION_PLAYER_PLOT_YIELDS" effect="EFFECT_PLOT_ADJUST_YIELD">
<SubjectRequirements>
<Requirement type="REQUIREMENT_PLOT_BIOME_TYPE_MATCHES">
<Argument name="BiomeType">BIOME_DESERT</Argument>
</Requirement>
</SubjectRequirements>
<Argument name="YieldType">YIELD_PRODUCTION</Argument>
<Argument name="Amount">1</Argument>
</Modifier>Grants a one-time yield to the player.
| Argument | Type | Description |
|---|---|---|
YieldType |
TEXT | Yield type |
Amount |
INTEGER | Amount to grant |
Adjusts yield based on trade route count.
| Argument | Type | Description |
|---|---|---|
YieldType |
TEXT | Yield type |
Amount |
INTEGER | Per trade route |
Tooltip |
TEXT | Tooltip key |
Adjusts yield per worker in cities.
| Argument | Type | Description |
|---|---|---|
YieldType |
TEXT | Yield type |
Amount |
INTEGER | Per worker |
Tooltip |
TEXT | Tooltip key |
Adjusts wonder production speed.
| Argument | Type | Description |
|---|---|---|
Percent |
INTEGER | Percentage bonus |
Adjusts constructible production speed.
| Argument | Type | Description |
|---|---|---|
ConstructibleType |
TEXT | Specific constructible (optional) |
Percent |
INTEGER | Percentage bonus |
Adjusts unit production speed.
| Argument | Type | Description |
|---|---|---|
UnitType |
TEXT | Specific unit (optional) |
Percent |
INTEGER | Percentage bonus |
Adjusts yields from constructibles.
| Argument | Type | Description |
|---|---|---|
YieldType |
TEXT | Yield type |
Amount |
INTEGER | Bonus amount |
ConstructibleType |
TEXT | Specific type (optional) |
Tag |
TEXT | Constructible tag (optional) |
<Modifier id="EXAMPLE" collection="COLLECTION_OWNER" effect="EFFECT_PLAYER_ADJUST_CONSTRUCTIBLE_YIELD">
<Argument name="YieldType">YIELD_SCIENCE</Argument>
<Argument name="Amount">1</Argument>
<Argument name="Tag">SCIENCE</Argument>
</Modifier>Adjusts unit combat strength.
| Argument | Type | Description |
|---|---|---|
Amount |
INTEGER | Strength modifier |
Adjusts unit strength as a percentage.
| Argument | Type | Description |
|---|---|---|
Amount |
INTEGER | Percentage modifier |
Adjusts unit healing rate.
| Argument | Type | Description |
|---|---|---|
Amount |
INTEGER | Healing per turn |
Grants an ability to units.
| Argument | Type | Description |
|---|---|---|
AbilityType |
TEXT | Ability to grant |
<Modifier id="EXAMPLE" collection="COLLECTION_PLAYER_UNITS" effect="EFFECT_UNIT_ADJUST_ABILITY">
<Argument name="AbilityType">ABILITY_AMPHIBIOUS</Argument>
</Modifier>Adjusts XP gain rate for armies.
| Argument | Type | Description |
|---|---|---|
Percent |
INTEGER | XP rate modifier |
Allows units to traverse terrain.
| Argument | Type | Description |
|---|---|---|
TerrainType |
TEXT | Terrain type |
Protects units from water damage.
| Argument | Type | Description |
|---|---|---|
Amount |
INTEGER | Protection level |
Grants a unit to a city.
| Argument | Type | Description |
|---|---|---|
UnitType |
TEXT | Unit to grant |
Grants a great work.
| Argument | Type | Description |
|---|---|---|
GreatWorkType |
TEXT | Great work type |
Grants progression in a tech/civic tree.
| Argument | Type | Description |
|---|---|---|
ProgressionTreeType |
TEXT | Tree type |
Amount |
INTEGER | Progress amount |
Grants walls to cities.
| Argument | Type | Description |
|---|---|---|
WallLevel |
INTEGER | Wall level |
Adjusts diplomacy action efficiency.
| Argument | Type | Description |
|---|---|---|
ActionType |
TEXT | Specific action (optional) |
ActionGroupType |
TEXT | Action group (optional) |
Percent |
INTEGER | Efficiency modifier |
Adjusts scoring for high-yield districts.
Adjusts great work scoring.
Adjusts resource scoring.
Adjusts settlement scoring.
Adjusts wonder scoring.
Adjusts research/civic speed.
| Argument | Type | Description |
|---|---|---|
ProgressionTreeType |
TEXT | Tree type |
Percent |
INTEGER | Speed modifier |
Adjusts worker maintenance costs.
| Argument | Type | Description |
|---|---|---|
YieldType |
TEXT | Yield type(s) |
Percent |
INTEGER | Efficiency bonus |
To discover all available effects:
- Search game files for
EffectType="EFFECT_ - Check
gameplay-copy.sqlitein the debug folder - Look at
*-gameeffects.xmlfiles inmodules/base-standard/data/