Let the thirsty value be automatically adapted to all kinds of MOD beverages thirsty

This tutorial is set by the author's setting without permission.

First of all, we open the Config folder in the game directory and find the ThirtSt folder in it. This is where the configuration file of this module is located.Then we open the keyword file inside.

["Keyword Config"]

This entry can be closed by default according to the ID keyword of the item, and the enableKeywordConfig = false can be changed to True.

Open this option to deal with most module drinks.The option entries are involved in adaptive principles.

["Keyword Config". "Default Hydration Values"]

This entry is the default thirst and hydrology of the default when adapting, which can be modified

#Default HyDration for Drinks Selected with Keywords [0-20] (the default thirst value when identifiable as "drink", default)

defaultDrinkhydration = 10

#Default Quenchness for Drinks Selected with Keywords [0-20] (the default aqueous hydrology when identifiable as "drink", default 14)

defaultDrinkquenchness = 14

#Default Hydration for Soups Selected with Keywords [0-20]

defaultSouphydration = 4

#Default Quenchness for Soups Selected with Keywords [0-20] (the default aqueous hydrology at the time of "soup", default 5)

defaultsoupquenchness = 5

#Default HyDration for Fruits Selected with Keywords [0-20] (the default thirst value when recognized as "fruit", default 2)

defaultFruithdration = 2

#Default Quenchness for Fruits Selected with Keywords [0-20] (the default aqueous hydrology when recognized as "fruit", default 3)

defaultFruitquenchness = 3

["Keyword config". "Default Hydration Values". "BlackListed Keywords"]

This entry is the blacklist of the self -adapted keyword recognition

The following keywords will not be recognized as drinks

Keyword_blacklist = "(?: \ b | [^a-za-z]) (Dried | Candied | Leaf | Leaves | Gummy | Crate | Jam | Sauce | Bucket | SEED | PIE | Bush | SapLing | Bean | C urry| Cake | Candy) (?: \ b | [^A-Za-Z]) "

The following is the three most important items

["Keyword config". "Default Hydration Values". "Drink keywords"]

What keywords are recognized as "drink"

#Format: [(Keyword1 | Keyword2 | Keyword3)] (modify format template)

Keyword_drink = "(?: \ b | [^a-za-z]) (Drink | juice | Tea | Soda | Coffee | Wine | Beer | CIDER | YOGSHAKE | SMOOTHIE) (?: \ b |^a-za-z] ")"

["Keyword config". "Default Hydration Values". "Soup Keywords"] What keywords are recognized as "soup" as "soup".

#Format: [(Keyword1 | Keyword2 | Keyword3)] (modify format template)

keyword_soup = "(?: \ b | [^a-za-z]) (Soup | Stew | Porridge) (?: \ b | [^a-za-z])"

["Keyword config". "Default Hydration Values". "FRUIT Keywords"]

What keywords are recognized as "fruit"

#Format: [(Keyword1 | Keyword2 | Keyword3)] (modify format template)

Keyword_fruit = "(?: \ b | [^a-za-z]) (fruit | Berry | Berries | Grape | Orange | peach | pear | coconut | lemon | melon | Cherry | Apple) (?: \ b | [[\ b | [[\ b | [^a-za-z] ")"

A few examples here

Take the mango tea in the orchard as an example. The English of Mango Tea is Mango Tea. There is a keyword for Tea. Therefore, it is recognized as a "beverage" category and adapts according to the default value of the beverage category.

Another example is the Wancao pot in the twilight flavor. English is Thousand Plant Stew. The keywords of STEW are recognized as the "soup" category.

The cherry in the blue sky has Cherry's keywords, so it will be recognized as the "fruit" category; but the cherry in the natural environment uses Cherries, which has not appeared in the list of beverages, soups, and fruit keywords, so it cannot be caught.Any type of identification is no one in the three categories, and it cannot be automatically adapted to thirst value for it.