Addiction and Metabolism
An example of using twh_addiction with fred_metabolism
Last updated
An example of using twh_addiction with fred_metabolism
Last updated
To make it more easy to configurate later on i recommend defining items in an list/dictionary. For example:
You can also set this up in the config file ofc. For checking if an item is in the defined items you can use a simple function like this:
Now look for the "fred_meta:useItem"
Event, where everything is defined. Before or after the definition of the animations you now can just do something like this to determine which addiction should be encountered:
Reminder: Don't forget to define the AddictAPI like mentioned in the .