You are viewing a potentially older version of this package. View all versions.
ViViKo-ShopTweaks-1.1.2 icon

ShopTweaks

Adds pages to Shop UI & more

By ViViKo
Date uploaded a month ago
Version 1.1.2
Download link ViViKo-ShopTweaks-1.1.2.zip
Downloads 32108
Dependency string ViViKo-ShopTweaks-1.1.2

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

CHANGELOG

v1.1.3

  • Temporary fix to be compatible with Emote Wheel

v1.1.2

  • Fixed fatal error after sleeping
  • Pagination now only shows if theres more then 1 page

v1.1.1

  • Fixed issue with CWMissing (all other mods that use Emote2 category)

v1.1.0

  • Fixed various issues

v1.0.2

  • Fixed emotes2 category reappearing

v1.0.1

  • Fixed page count edge case

v1.0.0

  • Release