UpgradeLib
Library for adding purchasable upgrade trees to Roadside Research's in-game skill webs. Provides a simple API for other mods to register upgrades with automatic persistence.
By Deja
CHANGELOG
Changelog
1.0.0
- Initial release
- Register upgrade trees with
UpgradeAPI.RegisterTree() - Add nodes to existing trees with
UpgradeAPI.RegisterInTree() - Query purchase state with
UpgradeAPI.IsPurchased()andUpgradeAPI.CanPurchase() - Support for Money and Research cost types
- Automatic per-slot save/load persistence
- Property inheritance (icons, colors, cost type) from parent to child nodes
- Vanilla icon matching via
VanillaIconMatch - OnPurchased callbacks fire on purchase and on game load