FANDOM


This article is updated for Alpha 12.

Modding Food BonusesEdit

You may define bonuses received by eating several food types in the Food.txt file.

See Modding: Items for more information on defining new items and categorizing them as food.

Define food bonuses using the following format:

config.food.bonuses.2.effect.healrate=0.75

config.food.bonuses.3.effect.workspeed=0.1
config.food.bonuses.3.effect.taskforcespeed=0.15

In this example, eating 2 food types will give a bonus of 75% to healing rate, and eating 3 food types will give a bonus of 10% to work speed and 15% to taskforce movement speed.

See Modding: Effect Values for all the possible effect values.