v3.1.0
v3.1.0
Added
- RshItemAdapter: Converts
RshItemto CUCoreLibCustomItemInfoand registers viaItemRegistry.Register - RshSpawnCallback:
onSpawncallback support via CCLSpawnComponentsmechanism - Backwards-compatible API: Preserves
Plugin.RegisterItem(string, RshItem)signature, no changes needed for existing mods krokMpEnabledfield: Compatibility with NewFirearms and other mods using reflection- Conflict avoidance: Removes self from
Chainloader.PluginInfosso mods like NewClothing use their native CCL path - ConsoleScriptPatch:
spawncommand autofill includes all CCL-registered items - GlobalDarkPatch: Preserves the modded indicator on the main menu
- RefreshRecipeList guard: Harmony finalizer catches NRE in CCL recipe list refresh
Changed
- Dependency: Added CUCoreLib ≥ 1.0.1 (hard dependency)
- Dependency: KrokoshaCasualtiesMP retained as soft dependency
Removed
The following features are now handled natively by CUCoreLib and are no longer duplicated:
Utils.Createpatches (CCL:UtilsCreatePatches)Item.SetupItems/Item.GetItempatches (CCL:ItemRegistryPatches)ConPatch/InstantiateResourcePatch(CCL:KrokMpCompatibilityPatches)- Trader item display patches (CCL:
TraderCustomItemPatches) - Recipe display patches (CCL:
RecipeRegistryPatches) - Wearable lookup patches (CCL:
CustomWearablePatches) - Custom network protocol
Network/MpValidator(CCL:MultiplayerBridge/MultiplayerSyncRegistry) - Save system
SaveSystemPatch(CCL:SaveCoordinator)