Added QuickLootRE.psc for script compilation
This commit is contained in:
parent
6db4016f9b
commit
95d0d4946f
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
|
||||
|
||||
|
33
Source/Scripts/QuickLootRE.psc
Normal file
33
Source/Scripts/QuickLootRE.psc
Normal 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
|
Loading…
Reference in New Issue
Block a user