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...")
 
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:
 
  >
 
  >
  
The foodname is the internal id of the item, you can easily find these by hovering over an item in creative mode.  
+
The foodname is the internal id of the item, you can easily find these by hovering over an item in creative mode or you can look at them [[Food|here]].  
 
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 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.
 
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.
Line 32: Line 32:
 
  >
 
  >
 
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
 
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
 +
 +
'''NOTE:'''You can edit the values trough the in game config (found by going to Menu->Mods->Animania->Config->FoodValuesOverride), but then you have to restart the game to make the changes apply.

Latest revision as of 05:37, 30 March 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 or you can look at them here. 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

NOTE:You can edit the values trough the in game config (found by going to Menu->Mods->Animania->Config->FoodValuesOverride), but then you have to restart the game to make the changes apply.