Mutagen-Modding / Mutagen

A .NET library for analyzing, creating, and manipulating Bethesda mods
GNU General Public License v3.0
118 stars 31 forks source link

Add Condition granularity to Oblivion #443

Open Noggog opened 1 year ago

Noggog commented 1 year ago

Skyrim has classes per function, which helps proper formlink enumeration. Need to give Oblivion the same treatment

Noggog commented 1 year ago

I went through all the conditions in this list https://ck.uesp.net/wiki/Condition_Functions and opened them in the CK at the same time. There I checked which parameters are used and double checked which types they have as the types that were imported from xEdit weren't always correct.

Noggog commented 1 year ago

Some links to Skyrim's setup, to use as a loose guide/inspiration: https://github.com/Mutagen-Modding/Mutagen/blob/dev/Mutagen.Bethesda.Skyrim/Records/Common%20Subrecords/ConditionDatas.xml https://github.com/Mutagen-Modding/Mutagen/blob/dev/Mutagen.Bethesda.Skyrim/Records/Common%20Subrecords/ConditionData.cs https://github.com/Mutagen-Modding/Mutagen/blob/dev/Mutagen.Bethesda.Skyrim/Records/Common%20Subrecords/CanHaveFlamesConditionData.cs