1

Added QuickLootRE.psc for script compilation

This commit is contained in:
Eddoursul 2022-06-22 15:27:49 +02:00
parent 6db4016f9b
commit 95d0d4946f
3 changed files with 38 additions and 5 deletions

Binary file not shown.

View File

@ -30,11 +30,11 @@ event OnPlayerLoadGame()
ahzmorehudie.RegisterIconFormList("dbmDisp", ETR_ItemsStored) ahzmorehudie.RegisterIconFormList("dbmDisp", ETR_ItemsStored)
endif endif
;If SKSE.GetPluginVersion("QuickLootRE") >= 292 if SKSE.GetPluginVersion("QuickLootRE") >= 292
; QuickLootRE.RegisterNewItemsList(ETR_ItemsNew) QuickLootRE.RegisterNewItemsList(ETR_ItemsNew)
; QuickLootRE.RegisterDisplayedItemsList(ETR_ItemsStored) QuickLootRE.RegisterDisplayedItemsList(ETR_ItemsStored)
; QuickLootRE.RegisterFoundItemsList(ETR_ItemsFound) QuickLootRE.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

@ -0,0 +1,33 @@
Scriptname QuickLootRE Hidden
{Script used for adding custom icons to QuickLootRE}
int Function GetVersion() global native
{Gets the version e.g 292 for 2.9.2}
;iEquip Functions ---------------------------------------
Function RegisterNewItemsList(FormList alist) global native
{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
displayed in LOTD and is in our inventory or LOTD containers.}
Function RegisterDisplayedItemsList(FormList alist) global native
{Registers a form list to be used to check wheather an item is displayed in LOTD.}
; Gets the version as a string for viewing
string Function GetVersionString() global
int iVersion = QuickLootRE.GetVersion()
if (iVersion == 0)
return ""
endif
int iMajor = iVersion / 100
int iMinor = (iVersion / 10) % 10
int iBug = iVersion % 10
string aVersion = iMajor + "." + iMinor + "." + iBug
return aVersion
EndFunction