Add export options similar to the Starfield Creation Kit for Fallout 4
Currently, there isn't an option to export selected items, only the entire itemset. This causes problems for me when doing data analysis on a mod for items I need to consume for my mod The Cheat Terminal.
As of right now, I have to keep writing an extending an xEdit script to export the items I need as a CSV, but this has become cumbersome and annoying, as I have to compensate for things like the IsPlayable flag that isn't documented very well nor is the flag exposed in any xEdit API, I had to do bitwise math to figure it out.
`function IsNonPlayable(e: IInterface): boolean; var flagsInt: integer; sig, edid, formHex: string; bitSet: boolean; begin Result := False;
// Only check armor or weapon records sig := Signature(e); if (sig <> 'WEAP') then Exit;
// Read Flags field flagsInt := GetElementNativeValues(e, 'DNAM\Flags');
// Check bit 20 (0x00100000) bitSet := (flagsInt and $00100000) <> 0;
// Optional diagnostic output if bitSet then begin edid := EditorID(e); formHex := IntToHex(FormID(e), 8); AddMessage('Skipping ' + edid + ' for not playable.'); end;
// Final result: True if bit 20 is set Result := bitSet; end;`
Anyway, if you could add an Export Snippet to File like the Starfield Creation Kit has, that'd be swell.