Skip to content

v0.2.4

Latest

Choose a tag to compare

@AnonUserGuy AnonUserGuy released this 12 Sep 23:10
· 2 commits to master since this release

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".
    • icon_bct
  • 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.
  • 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 HijackEventCategory to configure the "hijacked event category" feature.
  • Adjusted DisplayEventTemplates and EventTemplatesIndex, now affect "Bop Custom Textures" button.
    • DisplayEventTemplates no longer affects if mixtape category is registered (which was a very buggy feature to begin with).
    • EventTemplatesIndex still affects internal index of event category, but this only affects this mod's interaction with other mods.
  • Added EventTemplatesBefore and EventTemplatesAfter, which can be used to place "Bop Custom Textures" relative to other modded event categories.
  • SelectEventCatagoryKeybind default value now None.

Bug Fixes

  • Messages logged to editor no longer appear in popup's title section.

Technical Stuff

  • Created BopCustomTextures.Config.ConfigManager class to manage plugin configuration.
  • Improved plugin behavior when accessing members/methods through HarmonyLib.AccessTools.
    • All fields now accessed through AccessTools.Field rather than AccessTools.FieldRefAccess.
    • All members/methods checked before being got/set/invoked, returning default values if nonexistent.

Full Changelog: v0.2.3...v0.2.4

For Bits & Bops v1.14.0.