Content Warning
Install

Details

Last Updated
First Uploaded
Downloads
181K
Likes
5
Size
71KB
Dependency string
ViViKo-ShopTweaks-1.1.3
Dependants

Categories

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

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.