1

Updated QuickLoot RE with icons support to QuickLootEE

This commit is contained in:
Eddoursul 2022-07-02 16:01:42 +02:00
parent 1a8fd79ae4
commit 8d6db7e045
3 changed files with 9 additions and 9 deletions

Binary file not shown.

View File

@ -45,10 +45,10 @@ Event OnPlayerLoadGame()
ahzmorehudie.RegisterIconFormList("dbmDisp", ETR_ItemsStored) ahzmorehudie.RegisterIconFormList("dbmDisp", ETR_ItemsStored)
endif endif
if SKSE.GetPluginVersion("QuickLootRE") >= 292 if SKSE.GetPluginVersion("QuickLootEE") >= 0
QuickLootRE.RegisterNewItemsList(ETR_ItemsNew) QuickLootEE.RegisterNewItemsList(ETR_ItemsNew)
QuickLootRE.RegisterDisplayedItemsList(ETR_ItemsStored) QuickLootEE.RegisterDisplayedItemsList(ETR_ItemsStored)
QuickLootRE.RegisterFoundItemsList(ETR_ItemsFound) QuickLootEE.RegisterFoundItemsList(ETR_ItemsFound)
endif endif
; Rebuild all lists to avoid discrepancies, stale data, and broken records ; Rebuild all lists to avoid discrepancies, stale data, and broken records

View File

@ -1,5 +1,5 @@
Scriptname QuickLootRE Hidden Scriptname QuickLootEE Hidden
{Script used for adding custom icons to QuickLootRE} {Script used for adding custom icons to QuickLootEE}
int Function GetVersion() global native int Function GetVersion() global native
{Gets the version e.g 292 for 2.9.2} {Gets the version e.g 292 for 2.9.2}
@ -7,11 +7,11 @@ int Function GetVersion() global native
;iEquip Functions --------------------------------------- ;iEquip Functions ---------------------------------------
Function RegisterNewItemsList(FormList alist) global native Function RegisterNewItemsList(FormList alist) global native
{Registers a form list to be used to check wheather an item is not {Registers a form list to be used to check wheather an item is not
displayed in LOTD and is not in our inventory or LOTD containers.} displayed in LOTD and is not in our inventory or LOTD containers.}
Function RegisterFoundItemsList(FormList alist) global native Function RegisterFoundItemsList(FormList alist) global native
{Registers a form list to be used to check wheather an item is not {Registers a form list to be used to check wheather an item is not
displayed in LOTD and is in our inventory or LOTD containers.} displayed in LOTD and is in our inventory or LOTD containers.}
Function RegisterDisplayedItemsList(FormList alist) global native Function RegisterDisplayedItemsList(FormList alist) global native
@ -19,7 +19,7 @@ Function RegisterDisplayedItemsList(FormList alist) global native
; Gets the version as a string for viewing ; Gets the version as a string for viewing
string Function GetVersionString() global string Function GetVersionString() global
int iVersion = QuickLootRE.GetVersion() int iVersion = QuickLootEE.GetVersion()
if (iVersion == 0) if (iVersion == 0)
return "" return ""