Skip to content

Conversation

@lazou
Copy link
Owner

@lazou lazou commented Sep 16, 2025

jensbrak and others added 30 commits February 19, 2022 11:22
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
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
lazou and others added 18 commits January 23, 2023 22:30
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)
@lazou lazou merged commit c0806b3 into master Sep 16, 2025
@lazou lazou deleted the fix/update branch October 21, 2025 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants