Releases: Valheim-Modding/Jotunn
Releases · Valheim-Modding/Jotunn
v2.13.0
Changes:
- Improved startup time by only initialising accessed managers. This reduces the load time without dependent mods by about 90% (on my machine under 100ms instead of 800ms), making Jötunn almost unnoticeable. When all managers are accessed, the overall startup time is the same as before. Also, if a Valheim update breaks some parts, only loaded managers are affected
- Added
AssetUtils.LoadTextFromResources
overload without assembly parameter - Added CustomCreature constructor with AssetBundle parameter
- Added
ZoneManager.CreateLocationContainer
with AssetBundle parameter - Added
CustomVegetation.IsValid
interface - Added
RequirementConfig.IsValid
interface - Added recipe RequireOnlyOneIngredient and QualityResultAmountMultiplier
- Fixed GetOrAddComponent to use TryGetComponent (thx redseiko)
- Improved error messages of entities loaded directly from AssetBundles: CustomClutter, CustomCreature, CustomItem, CustomPiece, CustomPieceTable, CustomPrefab, CustomVegetation
- Improved PrefabManager.GetPrefab to search for items in ObjectDB if available
- Improved startup time of SkillManager
Note: This is a minor version update. This means that server and client need to run version 2.13.0.
v2.12.7
Changes:
- Fixed input block did not prevent the map from opening
- Improved Kitbash error and warning messages to include the mod name and affected Kitbash settings
v2.12.6
Changes:
- Fixed input block did not prevent input from closing the inventory
- Fixed PrefabManager.Cache to prefer materials with a non-error shader
v2.12.5
Changes:
- Fixed NRE using KeyHints
- Fixed Mouse cursor not visible when blocking Input for UI
v2.12.4
Changes:
- Fixed mock resolution to not fail when a member throws an exception on GetValue. This happens in rare cases, for example when mocking a TMP component (thx OrianaVenture)
v2.12.3
Changes:
- Fixed an error with the console command for the upcoming 0.217 update (currently in PTB), still compatible with the stable Valheim release (0.216.9). Note that the PTB branch isn't supported and may cause unexpected issues at any time
- Fixed JotunnBuildTask compile issues for .NET 7.0
v2.12.2
Changes:
- Fixed an error when switching tabs with Q/E and no custom categories where added
- Fixed order of custom tabs with other mods that add custom categories
v2.12.1
Changes:
- Fixed compatibility issues with the custom hammer tabs when Auga is installed. There will be some warnings as some visual changes can't be applied but these should not affect the functionality
v2.12.0
Changes:
- Compatible with Valheim version 0.216.9, not working with an older version
- Added prefab name helpers for CookingStations, CraftingStations, Fermenters, Incinerators, PieceCategories, PieceTables and Smelters
- Added
CustomPiece.Category
helper property to make it easier to set the piece category at runtime. - Added
PieceManager.Instance.GetPieceCategoriesMap
to get a complete map of all piece categories - Reworked custom piece categories to be compatible with other mods. This changes some internal category ids
- Changed custom hammer tabs to stack instead of scroll. Tabs also no longer have a dynamic width, instead the text tires to fit the tab
- Changed
PieceManager.GetPieceCategories
to be obsolete, usePieceManager.Instance.GetPieceCategoriesMap
instead to get a complete map of all piece categories - Changed
PieceManager.PieceCategorySettings
to be obsolete as they are no longer used - Changed
PieceManager.RemovePieceCategory
to no longer remove categories where a piece is still assigned to the category. This is to prevent problems with other mods that might still use this category - Changed Manager Init() methods to be private and not callable by mods. They were not intended to be called by mods and could cause issues
- Changed Mock resolve depth from 3 to 5, this should catch some edge cases where fields are nested deeper
- Changed empty CustomLocalization constructor to be marked obsolete, LocalizationManager.Instance.GetLocalization() should be used instead
- Fixed empty translation values where not allowed, thus a valid key can be translated to an empty string
- Fixed translations not being added to the Localization instance if it was already initialized
- Slightly improved loading time of big mod packs when creating custom entities (again)
Note: This is a minor version update. This means that server and client need to run version 2.12.0.
v2.11.7
Changes:
- Added Valheim network version check to the disconnect window to better identify the cause of a disconnect. Only visible if both server and client are running Jotunn 2.11.7 or higher
- Removed the Valheim version string check from the disconnect window, as the network version is used for the version check