Difference between revisions of "Help:Config"

From Animania
Jump to: navigation, search
(Created page with "Animania comes with a configuration file that is editable in and outside of the game. This page is here to help out with these configuration options by providing context and e...")
(No difference)

Revision as of 23:19, 27 February 2018

Animania comes with a configuration file that is editable in and outside of the game. This page is here to help out with these configuration options by providing context and examples.

General

General configuration of the mod (EVERYTHING)

Gamerules

All the configurations pertaining to game rules

Drops

All the configurations pertaining to what animals drop

Spawn

All the configurations pertaining to what and how many animals spawn

Care&Feeding

All the configurations pertaining to what and how often animals eat and breed

Foodvalues

All the configurations pertaining to hunger and saturation

Food Value Overrides

For food values there's not a basic configuration for which you can edit values to be put in the game, you have to add these to the override list yourself. When looking at the configuration file trough a text editor you can do this with the following format

# Food Value Overrides
S:foodValueOverrides <
   animania:foodname(heal(I),saturation(F))
   animania:foodname(heal(I),saturation(F))
>

The foodname is the internal id of the item, you can easily find these by hovering over an item in creative mode. The heal is how many haunches of food are restored when the item is consumed. The number entered has to be an integer (full number), with each single digit restoring half a haunch. The saturation is how much saturation is restored and how long it takes until you need to eat again. The number entered has to be a float (decimal number), with each single digit restoring half a haunch. An example for an actual configuration would look like this:

# Food Value Overrides
S:foodValueOverrides <
   animania:omelette_plain(3,5.5)
   animania:omelette_bacon(6,8)
>

In this example the plain omelette will restore 1.5 haunches of food and 2.75 haunches of saturation. The bacon omelette will restore 3 haunches of food and 4 haunches of saturation