descawed / tesconvert

A tool for converting player characters between The Elder Scrolls III: Morrowind and The Elder Scrolls IV: Oblivion
0 stars 0 forks source link

Inventory #7

Open descawed opened 4 years ago

descawed commented 4 years ago

Convert contents of player inventory, including which items the player has equipped and which items are stolen. Where possible, items should be mapped to their Oblivion equivalents. Where no equivalent exists, the item should be converted and stored in the companion mod (or in the save as appropriate). Some items will not be able to be converted - all medium armor, all spears, pauldrons, potions which contain magic effects that can't be converted, possibly other items. These items will have to be discarded. However, we need to record somewhere what was discarded so that we can restore them when returning to Morrowind.

For armor, we also have to consider how to convert pieces that are merged in Oblivion. Specifically, pauldrons + cuirass and individual gloves. For the cuirass, the easiest thing to do would be to just discard the pauldrons and map the cuirass 1-to-1 with Oblivion. For the gloves, I think the default should be that if you have either glove, you get the pair in Oblivion and then go back to whatever you had when you return to Morrowind, but we might also want an option that you must have both or you get nothing in Oblivion. When converting, average the durability from the two gloves to get the overall durability in Oblivion.

descawed commented 2 years ago

Lockpicks, probes, and repair items are their own record types in Morrowind (LOCK, PROB, REPA). We'll probably have to special-case handling of these record types. Probes don't exist in Oblivion, so those just can't be converted. How should we handle converting the various types of lockpicks and repair items in Morrowind to the single Lockpick and Repair Hammer of Oblivion? Maybe we should give extra items on the Oblivion side based on the tier of the Morrowind item?

descawed commented 2 years ago

Interesting note - everything I've added to the created forms section of the save has shown up correctly in game with the exception of books. Books added in the save appear blank when opened, but work fine when added through a plugin. I went ahead and added companion mod functionality to work around this.