forked from Wufflez/Loki
-
Notifications
You must be signed in to change notification settings - Fork 0
Combined changes #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Owner
lazou
commented
Sep 16, 2025
- all modifications made from https://github.com/jensbrak/Loki/commits/master/?since=2023-01-05&until=2025-09-16 to add compatibility with newer Valheim patches (Call For Arms (0.221.4))
- include ability to move inventory items via drag&drop (Feature: Moving inventory items Wufflez/Loki#37)
Instead of having the Shared Item Data db hard coded in c# and built in at compile time, read it from external file at runtime. File format is CSV and the current version of the hard coded database is converted and added as a CSV file. If the CSV file cannot be found or read during execution, the program won't crash but all items will be anonymous. Current solution will indicate the issue in the debug console but not to the user. The latter can be added later, this commit is just to go from internal C# to external CSV file.
Items connected to Abomination were missing. Not sure if more items were added at the same time though, could be.
Items with damage cannot be repaired: they were incorrectly shown as fully repaired. Did this work at all to begin with? The property MaxDamage was never set (ie force calculated) initially from what I can see. Only when changing quality.
Red jute, Fenris hair, Fenris claw and Ulv trophy
This reverts commit 70e7ed2.
Store it in CSV file instead, for easy updating of new items introduced in the game
This will at least prevent Loki from crashing but maybe there are better ways of solving this. Another thought: I'd like to insert the actual internal game id (ie name) of the item in the inventory slot, instead of the fallback value 'item_name'. That way you can see what the name is that is missing, to be added in the SharedItemData DB. WPF is not my expertise so I don't know how to make a fallback that use the name of an item. Well, you could replace "item_data" with the item.name in code but that seems backwards...
Added new item categories (3 of them). Also fixed a copy paste error (I assume) that categorized TwoHandedWeapn as Throphy in Loki inventory item list.
Some of these items have to be removed I think, but I'll add the whole prefab DB for now.
The beards were previously hard coded (for localization purposes I believe) but I think it's more important to read them from the SharedItemData DB instead, so I did that
The hairs were previously hard coded (for localization purposes I believe) but I think it's more important to read them from the SharedItemData DB instead, so I did that
Need header in CSV
Support for Hildir update / game version 0.217.24
- Tab "Stats": New stats system (introduced in Hildir update) supported. 105 metrics in a list rather than the previously hard coded 4. Values can be edited. - Tab "Inventory": Button to repair all inventory items that is worn. One click equals clicking "Repair" on all individual items that has it enabled (i.e. can be repaired). - Tab "Inventory": Button to fill all stacks in inventory that is not full. One click equals clicking "Fill up to maximum stack size" on all individual items that has it enabled (i.e. has less than maximum stack size). - Tab "Skills": Controls to modify all skills: Button to modify all skills the selected amount (in %), slider to select amount (-100% to +100%) and a button to reset slider to its default value (5% - which compensates for skill reduction on hard death if no world modifiers are used)
- Tab "General": Some profile data (introduced in Hildir update) added. - Localization of new features + some of old strings not yet localized (there are more)
… Hildir but never translated, resulting in fishing being shown as Unknown). Note: not using existing translation for Fish since it refers to the item fish rather than the skill to fish. It works in English to use the same but it might not do so in other languages. Silly detail, I know (since it likely will not be translated to more languages ever).
Support for Ashlands (0.218.15). Added backup filter.
Support for The Bog Witch (0.219.13/14). Added support for "open with" on an .fch file.
Support for Call For Arms (0.221.4)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.