FANDOM


This article is updated for Update 15.1.

Effect Values Edit

Effect Values are used across many configuration files to define bonuses or penalties survivors get in different stats. Depending on where these are used, the effects may be global or specific for a survivor.

Some examples can be found in Modding: Skills and Modding: Global Effects

Format Edit

Effect values are always defined within another node, such as a skill or a research subject. Within this node, entry consist of a stat ID and a value.

Example:

skills.entity.soldier.effect.accuracy=0.1
skills.entity.soldier.effect.actiongroup_patrol=0.2
skills.entity.soldier.effect.health=0.15

The stat IDs in this example are "accuracy", "actiongroup_patrol" and "health". All these bonuses are under the "soldier" skill, and define how that skill affects the survivor's stats.

The stat ID defines which stat will be affected, and the value defines what the bonus or penalty will be. In most cases the value is a multiplier on the base value, so 0.1 translates to 10%, and -0.15 translates to a penalty of 15%.

Supported Stats Edit

The following stats are currently supported.

Combat Stats
Stat ID Description Comments
damage Damage dealt per hit
accuracy Accuracy of attacks
attackspeed Rate of attacks
evade Evading enemy attacks
defense Armor
vision Vision range in combat This is an absolute value, not a multiplier.

A value of 3 will increase the vision range by 3 tiles.

range Attack range
damagereceived Modifies damage received after armor calculations.
armorpierce Reduces armor rating of targets by this value.
coverefficiency Bonus to efficiency of cover.
Task Stats
Stat ID Description Comments
actiongroup_chop Chopping speed
actiongroup_search Speed of searching debris
actiongroup_gatherwater Speed of gathering water
actiongroup_mine Mining speed
actiongroup_quarry Quarrying speed
actiongroup_build Build speed
actiongroup_craft Crafting speed
actiongroup_agri Farming speed
actiongroup_research Science research speed
actiongroup_occultresearch Occult research speed
actiongroup_rituals Speed of performing rituals
actiongroup_train Training speed
actiongroup_patrol Patrol speed
efficiency_agri Farming Yield
actiongroup_search_double Chance for double searching yield
actiongroup_chop_double Chance for double chopping yield
actiongroup_gatherwater_double Chance for double gather water yield
actiongroup_mine_double Chance for double mining yield
actiongroup_quarry_double Chance for double quarrying yield
actiongroup_craft_double Chance for double crafting yield
actiongroup_farming_double Chance for double farming yield
actiongroup_build_refund Chance for raw materials refund when building
actiongroup_craft_refund Chance for raw materials refund when crafting
actiongroup_rituals_refund Chance for raw materials refund when performing rituals
workspeed Speed of performing all tasks
Attribute Stats
Stat ID Description Comments
health Maximum Health
nutrition Maximum Nutrition
energy Maximum Energy
Other Stats
Stat ID Description Coments
healrate Natural Healing Rate
hungerrate Rate at which a survivor loses nutrition
energydrain Rate at which a survivor loses energy
drinkrate Rate at which a survivor consumes water
awarenessadd Rate at which awareness is added
extrascavenge The chance to receive bonus items in scavenge missions. This stat is only applied to global effects, and can not appear as a skill or item effect.
attackdifficulty Affects the difficulty of enemy attacks on the base This stat is only applied to global effects, and can not appear as a skill or item effect.
maxsurvivorsinmisison How many survivors can be sent on a mission This is an absolute value, not a multiplier.

A value of 1 will allow 1 extra survivor to be sent on missions.

This stat is only applied to global effects, and can not appear as a skill or item effect.

walkspeed Movement speed in and out of combat.
taskforcespeed Movement speed of task force. When applied to a specific survivor through a skill or item, the bonus to a task force will be determined by the highest value of all survivors.
vision Vision range in combat. Use absolute numbers.

A value of 1 will increase vision range by 1 tile.

scoutrange Scout range of task forces When applied to a specific survivor through a skill or item, the bonus to a task force will be determined by the highest value of all survivors.

Equipment Specific Stats Edit

All stats may have an equipment tag modifier.

These stats will only be applied when a survivor has an item equipped that has the corresponding tag.

Format:

tag_bow_attackspeed=0.15

In the example above, a bonus of 15% to attackspeed will only be applied if a survivor has an item equipped that is tagged as "bow".

See Modding: Items for more information on tagging items.