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)
endif
if SKSE.GetPluginVersion("QuickLootRE") >= 292
QuickLootRE.RegisterNewItemsList(ETR_ItemsNew)
QuickLootRE.RegisterDisplayedItemsList(ETR_ItemsStored)
QuickLootRE.RegisterFoundItemsList(ETR_ItemsFound)
if SKSE.GetPluginVersion("QuickLootEE") >= 0
QuickLootEE.RegisterNewItemsList(ETR_ItemsNew)
QuickLootEE.RegisterDisplayedItemsList(ETR_ItemsStored)
QuickLootEE.RegisterFoundItemsList(ETR_ItemsFound)
endif
; Rebuild all lists to avoid discrepancies, stale data, and broken records

View File

@ -1,5 +1,5 @@
Scriptname QuickLootRE Hidden
{Script used for adding custom icons to QuickLootRE}
Scriptname QuickLootEE Hidden
{Script used for adding custom icons to QuickLootEE}
int Function GetVersion() global native
{Gets the version e.g 292 for 2.9.2}
@ -7,11 +7,11 @@ int Function GetVersion() global native
;iEquip Functions ---------------------------------------
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.}
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.}
Function RegisterDisplayedItemsList(FormList alist) global native
@ -19,7 +19,7 @@ Function RegisterDisplayedItemsList(FormList alist) global native
; Gets the version as a string for viewing
string Function GetVersionString() global
int iVersion = QuickLootRE.GetVersion()
int iVersion = QuickLootEE.GetVersion()
if (iVersion == 0)
return ""