risk-of-thunder / R2API

A modding API for Risk of Rain 2
https://thunderstore.io/package/tristanmcpherson/R2API/
MIT License
135 stars 55 forks source link

ItemAPI: Add custom ItemTag support. #421

Closed yekoc closed 1 year ago

yekoc commented 1 year ago

Adds AddItemTag to register new ItemTag values,which can later be used either through vanilla methods or the helpers defined below: FindItemTagByName - Returns ItemTag value for given tag name(works for vanilla ItemTags too),facilitates cross compatibility without requiring specific value references. ApplyTagToItem - Utility to add given tag to item,helps when dealing with items you can't mess with during their setup. Closes #420