We recommend using the Thunderstore Mod Manager or an alternative for installing mods
Calculates and shows stack bonuses in the item tooltip. Now with BepIn support!
Last updated | a year ago |
Total downloads | 714071 |
Total rating | 191 |
Categories | Mods Client-side |
Dependency string | ontrigger-ItemStatsMod-2.2.1 |
Dependants | 172 other mods depend on this mod |
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.3.1Provides current stack bonuses for an item in the tooltip
First thing you'll need is the BepInExPack. If you don't have it, get it here and follow the installation instructions.
Afterwards, get the zip file from releases and extract the ItemStats folder in BepInEx/plugins. That's it!
In order to use API, add a Bepin SoftDependency to your BaseUnityPlugin annotations. Make sure to check if ItemStats is loaded before trying to use it
Then, create an ItemStatDef for your item (see ItemStatDefinitions.cs for examples).
Use the R2API ItemApi Submodule to add your item and get its ItemIndex.
After that, simply call ItemStatsMod.AddCustomItemStatDef(myItemIndex, myItemStatDef)
To create an item stat modifier, extend from AbstractStatModifier
. Check ItemStats.StatModification.Modifiers for examples
Add an instance of the class with ItemStatsMod.AddStatModifier(new MyStatModifier())
You will first need the following libraries:
Open the solution, link the libraries in the Lib folder, DL the required NuGet package and compile.
Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.
Upload date | Version number | Downloads | Download link | |
---|---|---|---|---|
2021-3-27 | 2.2.1 | 323074 | Version 2.2.1 | Install |
2021-3-27 | 2.2.0 | 7521 | Version 2.2.0 | Install |
2020-10-26 | 2.1.0 | 132999 | Version 2.1.0 | Install |
2020-9-10 | 2.0.0 | 59546 | Version 2.0.0 | Install |
2020-4-1 | 1.5.0 | 97850 | Version 1.5.0 | Install |
2019-12-30 | 1.4.0 | 28903 | Version 1.4.0 | Install |
2019-10-13 | 1.3.1 | 14756 | Version 1.3.1 | Install |