Repository navigation
BopCustomTextures now better supports Bits & Bops's new editor UI, including its own meta-category button and additional features to better allow other modded categories to be accessed.
Changes
Editor
- Added button to meta-categories for "Bop Custom Textures".
- Added singleton events under "Bop Custom Textures" event category:
- Editor Properties
- Last path - Last path custom assets were loaded from. Affects behavior of Reload button.
- Copy from file - Previously "Copy Customs From File" in menu.
- Copy from folder - Previously "Copy Customs From Folder" in menu.
- Reload - Previously "Reload Custom Assets" in menu.
- Mixtape Properties
- Version - Mixtape's minimum supported version of BopCustomTextures.
- Release - Mixtape's minimum supported release number of BopCustomTextures.
- Editor Properties
- Added "hijacked event category" feature.
- When a (configurable) event category is selected repeatedly, it'll cycle through itself and all modded event categories.
- Defaults to "Bop Custom Textures" category, can be changed to vanilla category if editor UI is updated and "Bop Custom Textures" becomes unavailable again.
Configs
- Added
HijackEventCategoryto configure the "hijacked event category" feature. - Adjusted
DisplayEventTemplatesandEventTemplatesIndex, now affect "Bop Custom Textures" button.DisplayEventTemplatesno longer affects if mixtape category is registered (which was a very buggy feature to begin with).EventTemplatesIndexstill affects internal index of event category, but this only affects this mod's interaction with other mods.
- Added
EventTemplatesBeforeandEventTemplatesAfter, which can be used to place "Bop Custom Textures" relative to other modded event categories. SelectEventCatagoryKeybinddefault value nowNone.
Bug Fixes
- Messages logged to editor no longer appear in popup's title section.
Technical Stuff
- Created
BopCustomTextures.Config.ConfigManagerclass to manage plugin configuration. - Improved plugin behavior when accessing members/methods through
HarmonyLib.AccessTools.- All fields now accessed through
AccessTools.Fieldrather thanAccessTools.FieldRefAccess. - All members/methods checked before being got/set/invoked, returning default values if nonexistent.
- All fields now accessed through
Full Changelog: v0.2.3...v0.2.4
For Bits & Bops v1.14.0.