0 of 0

File information

Last updated

Original upload

Created by

Vaillp

Uploaded by

Vaillp

Virus scan

Safe to use

Tags for this mod

About this mod

Just a little script for xEdit to convert selected Ingestibles to a Skypatcher Format.

Requirements
Permissions and credits
Changelogs
xEdit script - Convert Ingestibles to Skypatcher

Just a little script for xEdit to convert selected Ingestibles to a Skypatcher Format.

  • By EditorID : 

filterByAlchs=FirebrandWine:mgefsToAdd=FoodRestoreStamina~20~0~0, FoodDamageStaminaRate~30~45~0, AlchResistFrost~15~45~0

  • or by FormID : 

filterByAlchs=Skyrim.esm|01895F:mgefsToAdd=Skyrim.esm|0F33CC~20~0~0, Skyrim.esm|10C645~30~45~0, Skyrim.esm|03EAEB~15~45~0



By default it will clear all effects for each Ingestible selected : 
 
filterByAlchs=FirebrandWine:clear=true

But you can disable enableClearEffectsFirst and includeItemsIdenticalToMaster to only keep added effects.


Installation

Drop the .pas script into the folder ..\SSEEdit\Edit Scripts\

How to use

TLDR: Select Ingestibles and then apply script.

Long version:

1) Select Ingestibles
2) Right click > Apply Script 
3) Select my script Convert_Ingestibles_To_Skypatcher
4) Set settings in the SETTINGS section (see below)
5) OK

By default, the result will be copied to the clipboard and to the ‘Messages’ tab. 

SETTINGS Section 

//================================================ SETTINGS ================================================//
//
//
  // Configuration options

// List Format

// Enable List Format for Ingestible : True - False

  includeListFormat := True;

// Define the order of the desired elements (modify this order and comment the lines as required)

elementCaseOrder.Add(IDX_EMODNAME); //Mod selected
elementCaseOrder.Add(IDX_INGESTIBLEMODNAME); //Ingestible Master Mod
// elementCaseOrder.Add(IDX_INGESTIBLEFORMID);//Ingestible FormID : 0x4381D2 or 0x1D2
// elementCaseOrder.Add(IDX_INGESTIBLEMODTYPE);//Ingestible Master Mod Type : ESL - ESP - ESM
elementCaseOrder.Add(IDX_INGESTIBLEEDITORID); //Ingestible EditorID
elementCaseOrder.Add(IDX_INGESTIBLEORIGINFORMID);//Ingestible Full FormID : A44381D2 or FE1251D2
elementCaseOrder.Add(IDX_INGESTIBLENAME); //Ingestible Name

// Define the separator
separator:=';';


// Skypatcher Format

// Enable Skypatcher Format For Ingestibles : True - False
includeSkypatcherIngestibleFormat := False;

// Enable Skypatcher Format For Items in Ingestibles : True - False
includeSkypatcherEffectFormat := False;

// Enable Skypatcher Format For convert Ingestibles : True - False
includeSkypatcherConvertFormat := True;

// Filter use for skypatcher
skypatcherFilter:='filterByAlchs';

// Action use for skypatcher
skypatcherAction:='mgefsToAdd';

// Skypatcher Format by FormID or EditorID : FormID - EditorID
SkypatcherIDFormat := 'EditorID'; //MyEditorIDWithText~1~1
//SkypatcherIDFormat :='FormID'; //Mod.esp|4381D2~1~1

// include items if there are identical to the master : True - False
includeItemsIdenticalToMaster := True;

// clear ingestibles's effects first : True - False
enableClearEffectsFirst := True;

// Enable copy to Clipboard : True - False
includeClipboard := True;


//
//
//================================================ END SETTINGS ================================================//




FAQ


Q: Will you make <insert custom function> ?
A: If it's a good idea and I have time and skills to make it maybe.

Q: Does it create a .ini for Skypatcher ?
A: No, the result is copy to your Clipboard.

Q: How can I report a bug ?
A: In the bug section buddy

Q: It will be updated ?
A: it can be improved so: time and skills will tell


All my xEdit Scripts