Last updated | 6 months ago |
Total downloads | 151623 |
Total rating | 5 |
Categories | Mods Tools |
Dependency string | ViViKo-ShopTweaks-1.1.3 |
Dependants | 54 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
ShopTweaks
- Adds pages to Shop UI
- Adds Shop Category API to register new categories
How to Create Shop Categories
using ShopTweaks;
[BepInPlugin(ModGUID, ModName, ModVersion)]
public class ExamplePlugin : BaseUnityPlugin
{
public ShopItemCategory NewCategory;
private void Awake()
{
// RegisterCategory(string name)
NewCategory = ShopCategories.RegisterCategory("Test");
// Use any Item adding API (ShopUtils etc) to add items using this category
}
}
More info can be found on the modding discord