@meaglyn yes they're windows plugins.
The approach with blob is nice but it's not what i want.
I want to be able to load objects(especially items) to gui(html form?) in form that user will understand. So properties showed not as numbers but e.g.. 1d6 fire dmg.
Then i can edit them create copies with other parameters etc.
There are to possible approaches. Full database and db + yaml. In both cases i would store in db resref, instances, owner of instances etc.
In full db approach main problem is to parse between yaml and db in both directions. Also I would need additional tables to store values of parameters for every instance which could lead to very big tables.
Advantage of that approach is that we're separated from nwn logic, any tool can import data from db and load it back. Yaml is simpel but it has to be yaml that yml2gff will understand. Potentially it would allow to create objects on fly without toolset. We'are able to identify single instance of object by table id stored on item as variable.
Another approach is to use yaml files to store properties. Parser is between yaml and gui so we can work straight on files which sound much easier. Disadvantage is that we're still tied to nwn technology also we have to store multiple files if instances are different which lead as to multiple resrefs etc. But it's easier to get object back to game.
Any thoughts?