1
Fork 0

Added QuickLootRE.psc for script compilation

ae-1.6.629
Eddoursul 2 years ago
parent 6db4016f9b
commit 95d0d4946f
  1. BIN
      Scripts/ETR_TrackNewItems.pex
  2. 10
      Source/Scripts/ETR_TrackNewItems.psc
  3. 33
      Source/Scripts/QuickLootRE.psc

Binary file not shown.

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

@ -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
Loading…
Cancel
Save