Jump to content

[Request] A really dumb bat file


Recommended Posts

Posted (edited)

I know this is going to sound really dumb, but I'd like a bat file that adds 15 of every non-unique piece of plate, platter, cup, pot, pan, candlestick, eating utensil, urn, and amphora that can be picked up. Please and thanks.

Edited by Azzhat
Posted

A list of all MISC items, and the xEdit script to generate a new one (since everyone's mod list is different).

 

{
  Export list of things
}
unit UserScript;

var
  sl: TStringList;

function Initialize: integer;
begin
  sl := TStringList.Create;
end;

function Process(e: IInterface): integer;
var
    sig: string;
begin
    sig := Signature(e);
    
    if sig = 'MISC' then begin
        sl.Add('player.additem ' + IntToHex(FixedFormID(e), 8) + ' 15');
    end;
end;

function Finalize: integer;
var
  fname: string;
begin
  fname := ProgramPath + 'Edit Scripts\stuff.txt';
  AddMessage('Saving list to ' + fname);
  sl.SaveToFile(fname);
  sl.Free;
end;

end.

stuff.txt

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...