Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ontrigger authored Aug 23, 2020
1 parent 4d7b76c commit 040505e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,11 @@ Open the solution, link the libraries in the Lib folder, DL the required NuGet p

# Contributors

* kylewill0725
* kylewill0725
* orare

# Custom Item API
In order to use API, add a Bepin SoftDependency to your BaseUnityPlugin annotations.
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)

0 comments on commit 040505e

Please sign in to comment.