Content Warning
This package has been deprecated and may no longer be maintained. We recommend looking for an alternative.
Install with App

Details

Latest version
1.3.3
Last Updated
First Uploaded
Downloads
22
Likes
0
Size
71KB
Dependants

Tags

Deprecated
NSFW

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.