ViViKo-ShopTweaks icon

ShopTweaks

Adds pages to Shop UI & more

By ViViKo
Last updated a month ago
Total downloads 92788
Total rating 4 
Categories Mods Tools
Dependency string ViViKo-ShopTweaks-1.1.3
Dependants 36 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
MegaPiggy-CWEnumUtils-1.0.3 icon
MegaPiggy-CWEnumUtils

A library to help with creating and getting Enums

Preferred version: 1.0.3

README

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